-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
long_description renders improperly on PyPI #4012
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
Comments
pandoc has been configured to provide a long desc which should override the README.md. |
I'll add that this is not unique for 3.3.3. The issue goes back to 3.1.2. Prior to that, it appears that the README content was not included in the Should I be reporting this somewhere else? I'm new to reporting issues for this project. It seems like this is a valid issue so I'm unclear on why it is closed. Is there some further action I can take to help this get fixed? |
This issue is already reported as #3817 |
Cool, thanks for clarifying! |
Sorry to dig this up but it seems that the Readme is - again - not rendered properly: https://pypi.org/project/djangorestframework/
|
Hmm. OK. Something has gone wrong there. Thanks for the report. I’ll look into it next week. |
Also, |
The diff between 3.9.0...3.9.1 doesn't point out anything obvious as to why this would fail. I've also successfully rendered the readme locally (using the snippet from pypa/readme_renderer#117), so it's not clear to me why this is failing on PyPI. |
Ah, finally figured it out. A lot of additional info in pypa/twine#425, but the short version is that we were using an outdated The fix is to ensure we run
|
Steps to reproduce
View https://pypi.python.org/pypi/djangorestframework/3.3.3 on PyPI.
Expected behavior
Rendered HTML that includes links, headings, and the like.
Actual behavior
Raw reST markup appears in a non-monospace font.
I looked at the
setup.py
and observed that the project does not actually use thelong_description
field. I think PyPI is trying to convert theREADME.md
to reST and failing. Since PyPI does not support Markdown (see https://bitbucket.org/pypa/pypi/issues/148/support-markdown-for-readmes), maybe an explicitlong_description
directing users to the proper documentation would be appropriate.The text was updated successfully, but these errors were encountered: