-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unnecessary usage of readme_renderer.markdown #421
Conversation
Codecov Report
@@ Coverage Diff @@
## master #421 +/- ##
==========================================
- Coverage 78.29% 78.23% -0.06%
==========================================
Files 14 14
Lines 737 735 -2
Branches 106 106
==========================================
- Hits 577 575 -2
- Misses 127 128 +1
+ Partials 33 32 -1
Continue to review full report at Codecov.
|
Does that mean that the check does not really do anything in case of markdown? |
That's correct. Cmark does not error when it's given malformed markup, it will mostly just pass it through, being careful to close any dangling html tag if necessary. |
Temporary work around is to |
This dependency was added with Iaf4da5aedaa3814b2ecebed4391da2324d3e388d to prevent a warning when using "twine check" with text/markdown descriptions. Per [1], this check doesn't really do anything and will never fail. We are now having issues using this role with with Python 3.8 on the executor as the md dependency pulls in cmarkgfm which has binary dependencies but does not publish any wheels; meaning the executor fails to install as it does not have a toolchain setup. Unfortunately upstream is not particularly active, so building good manylinux wheels is not something we're going to be able to deal with in a timely fashion. Given that this is not a failure, and isn't really doing anything and blocks Python 3.8, it seems our best course is to remove this dependency. [1] pypa/twine#421 Change-Id: Iac5c9f63d41375889e4fdad67b9a45a24a644341
Fixes #420.
Rendering plaintext or markdown will never fail, so we'll just automatically pass the check if those content types have been specified.