adafruit / Adafruit_CircuitPython_HT16K33

Adafruit CircuitPython driver for the HT16K33, a LED matrix driver IC.
MIT License
41 stars 29 forks source link

Repo not deploying to PyPI successfully #44

Closed makermelissa closed 4 years ago

makermelissa commented 4 years ago

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 commented 4 years ago

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

makermelissa commented 4 years ago

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
    ============