PyMoDAQ / pymodaq_plugins_thorlabs

Set of PyMoDAQ plugins for instruments from Thorlabs (Kinesis K10CR1 (stepper rotation actuator), Kinesis Flipper, Kinesis KSP100...)
MIT License
3 stars 27 forks source link

Last release didn't get published to pypi #26

Open rgeneaux opened 1 week ago

rgeneaux commented 1 week ago

1.3.0 publish workflow failed with following error

ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/        
         The description failed to render in the default format of              
         reStructuredText. See https://pypi.org/help/#description-content-type  
         for more information.                                                  
Error: Process completed with exit code 1.

I have the same error on another plugin so I am interested in knowing the fix :-)

seb5g commented 1 week ago

https://packaging.python.org/en/latest/guides/making-a-pypi-friendly-readme/

seb5g commented 1 week ago

following this link I ended up with this check: image

seb5g commented 1 week ago

Found it, the culprit was this extra space line 65 image

seb5g commented 1 week ago

could you add this check in the github action tests? just after the build step

seb5g commented 1 week ago

:-D ![Uploading image.png…]()

seb5g commented 1 week ago

:-D image