hep-gc / shoal

A squid cache publishing and advertising tool designed to work in fast changing environments
Apache License 2.0
4 stars 8 forks source link

Update PyPi Repos #135

Closed colsond closed 3 years ago

colsond commented 6 years ago

Our documentation says shoal is avaialble from pypi but the releases there are quite old. I tried to upload the new shoal-client distribution but it complained about the api being deprecated. We will need to spend some time making sure the newest releases are available there or change our documentation and drop PYPI (pip) support.

It looks like it now suggests using twine to upload releases- I've never used twine but we may want to get familiar with it if we plan to keep releasing python packages through pypi.

For reference this is the error I recieved when I tried to upload shoal-client 0.6.4 Gone (This API has been deprecated and removed from legacy PyPI in favor of using the APIs available in the new PyPI.org implementation of PyPI (located at https://pypi.org/). For more information about migrating your use of this API to PyPI.org, please see https://packaging.python.org/guides/migrating-to-pypi-org/#uploading. For more information about the sunsetting of this API, please see https://mail.python.org/pipermail/distutils-sig/2017-June/030766.html)

mhpx commented 6 years ago

Same thing with CS, the fix was a pretty trivial update to your ~/.pypirc file and making sure you had the latest distutils/setuptools(?) installed. We'll probably still want to look at twine since that seems to support a test build mode that doesn't rely on the old pypi test url

MarcusEbert commented 3 years ago

new versions are available via pip/pip3, closing