Skip to content

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

@stuhood

Description

@stuhood

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions