-
Notifications
You must be signed in to change notification settings - Fork 989
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
Test PEP 566 features #3299
Comments
I tried uploading some sample text from https://guides.github.com/features/mastering-markdown/#GitHub-flavored-markdown, and not all of it rendered correctly. Tags like As expected, Warehouse does not support GitHub-flavored Markdown. |
Fenced code blocks become |
Seeing the post at https://dustingram.com/articles/2018/03/16/markdown-descriptions-on-pypi, I just tried the markdown rendering with my little project but the code blocks look much better on github sorry. Compare https://pypi.org/project/pifaceio/1.26.1 to https://github.com/bulletmark/pifaceio/tree/1.26.1. |
Thanks for the testing and comments! cc @di regarding especially the fenced code blocks report. Several people have asked in other places about Warehouse supporting GitHub-flavored Markdown -- just a heads-up that I've put that into pypa/packaging-problems#126, as this is a request that spans a few different codebases. |
I did some testing on the
|
@lgh2 Thanks for testing. The first is expected, we strictly validate the I'm a little confused about the second, because I'm not seeing a corresponding exception raised from TestPyPI in Sentry. I'll have to try and reproduce. |
Hi, I am (also?) seeing problems with fenced code blocks -- they are rendered with extra horizontal lines above and below each line of text within the block. See, e.g., the code block here. |
Plain-text web addresses are not converted to clickable links. See, e.g., the code block here (same location as my comment above, but I assume it's better separate). |
Made a separate issue for this: #3330
I think this is a limitation of the CommonMark variant, switching to GFM (once we ship that) should provide the behavior you're expecting. |
I'm going to close this issue as I think our PEP 566 support has been adequately tested and there are other issues for problems that were found. |
This is a checklist of stuff I'd like folks to test, to make sure our Markdown support and other PEP 566 features are super robust!
Dustin's blog post explains how to set yourself up for manual testing here. Any bugs we find in Warehouse, we'll also add an automated test to guard against in the future.
Markdown & rendering:
description_content_type
field insetup.py
README
README
Provides-Extra:
The main thing I'm curious about here is whether we would provide the
Provides-Extra
data for a package in our package query API.The text was updated successfully, but these errors were encountered: