miso-sound / misosoupy

Misophonia Stimulus Organization Using Python
MIT License
0 stars 0 forks source link

Failed to publish on PyPI #25

Closed danibene closed 1 month ago

danibene commented 1 month ago

We have not yet published any of the releases on PyPI. The error is related to parsing the README:


Run pipx run tox -e publish
creating virtual environment...
installing tox...
publish: install_deps> python -I -m pip install twine
publish: freeze> python -m pip freeze --all
publish: backports.tarfile==1.2.0,certifi==2024.8.30,cffi==1.[17](https://github.com/miso-sound/misosoupy/actions/runs/10823820835/job/30030058701#step:5:18).1,charset-normalizer==3.3.2,cryptography==43.0.1,docutils==0.21.2,idna==3.8,importlib_metadata==8.5.0,jaraco.classes==3.4.0,jaraco.context==6.0.1,jaraco.functools==4.0.2,jeepney==0.8.0,keyring==25.3.0,markdown-it-py==3.0.0,mdurl==0.1.2,more-itertools==10.5.0,nh3==0.2.[18](https://github.com/miso-sound/misosoupy/actions/runs/10823820835/job/30030058701#step:5:19),pip==24.2,pkginfo==1.10.0,pycparser==2.22,Pygments==2.18.0,readme_renderer==44.0,requests==2.32.3,requests-toolbelt==1.0.0,rfc3986==2.0.0,rich==13.8.1,SecretStorage==3.3.3,setuptools==74.1.2,twine==5.1.1,urllib3==2.2.2,wheel==0.44.0,zipp==3.20.1
publish: commands[0]> python -m twine check 'dist/*'
Checking dist/misosoupy-0.1.2.post1.dev0+ga6e8fa2.d20240912-py3-none-any.whl: FAILED
ERROR    `long_description` has syntax errors in markup and would not be        
         rendered on PyPI.                                                      
         line 49: Warning: Cannot scale image!                                  
           Could not get size from "./docs/media/instructions3.png":            
           Requires Python Imaging Library.                                     
           Reading external files disabled.                                     
Checking dist/misosoupy-0.1.2.post1.dev0+ga6e8fa2.d[20](https://github.com/miso-sound/misosoupy/actions/runs/10823820835/job/30030058701#step:5:21)240912.tar.gz: FAILED
ERROR    `long_description` has syntax errors in markup and would not be        
         rendered on PyPI.                                                      
         line 49: Warning: Cannot scale image!                                  
           Could not get size from "./docs/media/instructions3.png":            
           Requires Python Imaging Library.                                     
           Reading external files disabled.                                     
publish: exit 1 (1.01 seconds) /home/runner/work/misosoupy/misosoupy> python -m twine check 'dist/*' pid=1876
  publish: FAIL code 1 (5.97=setup[4.96]+cmd[1.01] seconds)
  evaluation failed :( (6.05 seconds)
danibene commented 1 month ago

@hansen508 it worked! https://pypi.org/project/misosoupy/

After I ran the following command locally from the main branch: tox -e publish -- --repository pypi