Skip to content

Repo not deploying to PyPI successfully #44

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

Closed
makermelissa opened this issue Dec 31, 2019 · 2 comments · Fixed by #45
Closed

Repo not deploying to PyPI successfully #44

makermelissa opened this issue Dec 31, 2019 · 2 comments · Fixed by #45

Comments

@makermelissa
Copy link
Collaborator

It is failing at

HTTPError: 400 Client Error: The description failed to render for 'text/x-rst'. See https://pypi.org/help/#description-content-type for more information. for url: https://upload.pypi.org/legacy/

I did a little googling and they made a change in May 2019 that is causing this. Looking at the commit history, the last successful deployment was March 14, 2019. So there probably needs to be some setup tweak.

@makermelissa
Copy link
Collaborator Author

I think the issue is that the README.rst has an invalid RST format.

@makermelissa
Copy link
Collaborator Author

I found the issue by running the following:

pip3 install --upgrade sdist twine
rm -R dist
python3 setup.py sdist
twine check dist/*

and got the following error:

Checking dist/adafruit-circuitpython-ht16k33-2.1.4.dev15+g058e121.tar.gz: FAILED
  `long_description` has syntax errors in markup and would not be rendered on PyPI.
    line 2: Warning: Title underline too short.

    Introduction
    ============

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

Successfully merging a pull request may close this issue.

1 participant