Confusing URL in tutorial: https://test.pypi.org/legacy/
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.
This is blocked up the upstream issue over at pypa/warehouse#2285
+1 to this, also simple is mentioned somewhere in the howtos:
https://packaging.python.org/guides/using-testpypi
Am I supposed to use:
- legacy?
- simple?
- 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.
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.