pysal / spaghetti

SPAtial GrapHs: nETworks, Topology, & Inference
http://pysal.org/spaghetti/
BSD 3-Clause "New" or "Revised" License
260 stars 69 forks source link

proper README in pyproject.toml #747

Closed jGaboardi closed 9 months ago

jGaboardi commented 9 months ago

This PR adds a proper README.md entry into pyproject.toml, which was an oversight previously.

xref – https://github.com/pysal/submodule_template/issues/44

martinfleis commented 9 months ago

Can you try building an sdist and uploading it to test.pypi.org?

jGaboardi commented 9 months ago

Having trouble here, seems to be due to the setuptools_scm version naming:

Uploading spaghetti-1.7.5.dev9+gdcd9587-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.6/73.6 kB • 00:00 • 37.1 MB/s
WARNING  Error during upload. Retry with the --verbose option for more details.                                              
ERROR    HTTPError: 400 Bad Request from https://test.pypi.org/legacy/                                                       
         '1.7.5.dev9+gdcd9587' is an invalid value for Version. Error: Can't use PEP 440 local versions. See                 
         https://packaging.python.org/specifications/core-metadata for more information.

Looks like I'll have to actually cut fake release to test it?

knaaptime commented 9 months ago

ok the pointpats release worked, so might just be an issue with the test server

jGaboardi commented 9 months ago

Awesome! Thanks for touching base on that @knaaptime !

martinfleis commented 9 months ago

That was the issue with the dev hash at the end of the version. Unrelated to anything important.