packaging.python.org icon indicating copy to clipboard operation
packaging.python.org copied to clipboard

Confusing URL in tutorial: https://test.pypi.org/legacy/

Open mgarod opened this issue 7 years ago • 3 comments

I had a discussion with @brainwane about the confusing nature of the URL in this twine command $ twine upload --repository-url https://test.pypi.org/legacy/ dist/* (https://packaging.python.org/guides/using-testpypi/#using-test-pypi)

To a beginner like myself, this appears like I'm uploading to the legacy pyPI infrastructure, but Sumana explained that is not the case.

Recommend removing "legacy" from the endpoint.

mgarod avatar Apr 27 '18 00:04 mgarod

This is blocked up the upstream issue over at pypa/warehouse#2285

theacodes avatar May 04 '18 20:05 theacodes

+1 to this, also simple is mentioned somewhere in the howtos: https://packaging.python.org/guides/using-testpypi

Am I supposed to use:

  1. legacy?
  2. simple?
  3. both(legacy for upload, simple for download)?

p.s. by using twine upload ---repository testpypi dist/* at least the ambiguity on what to use for upload is better.

taiya avatar Aug 18 '21 01:08 taiya

According to my tests with poetry, it seems like the /simple only works for download and /legacy only works for uploads.

This is very confusing.

einenlum avatar Aug 05 '22 13:08 einenlum