Skip to content
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

RST accepted by readme_renderer, but failing to upload to PyPI #108

Closed
stuhood opened this issue May 29, 2018 · 1 comment
Closed

RST accepted by readme_renderer, but failing to upload to PyPI #108

stuhood opened this issue May 29, 2018 · 1 comment

Comments

@stuhood
Copy link

stuhood commented May 29, 2018

On Friday night we saw a failure to upload to PyPI (pantsbuild/pants#5874) with the following error:

HTTPError: 400 Client Error: The description failed to render in the default format of reStructuredText. See https://pypi.org/help/#description-content-type for more information. for url: https://upload.pypi.org/legacy/

I've just confirmed that readme_renderer.rst.render(..) for the relevant file succeeds (although it takes a while to render).


Are there additional requirements for PyPI upload beyond what is applied by this package? Obviously the file is quite large, and my first "guess and check" approach was going to be to truncate it. But having this package fail reproducibly the same way PyPI would would help folks debugging upload issues.

@theacodes
Copy link
Member

See upstream issue pypi/warehouse#4079

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants