Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Test PYPI - create route for reusing filename #10541

Closed
ValueRaider opened this issue Jan 1, 2022 · 3 comments
Closed

Test PYPI - create route for reusing filename #10541

ValueRaider opened this issue Jan 1, 2022 · 3 comments

Comments

@ValueRaider
Copy link

What's the problem this feature will solve?
Test PyPI is intended for testing Python packaging. Great, but there is a fatal flaw - the very newbie you target can easily make mistakes before learning about no filename reuse (e.g. me). Now they have to maintain two separate packages, one renamed for testing and second for live - this is asking for trouble.

Describe the solution you'd like
Provide some means of removing all records of a package name from Test PyPI, with a clear warning that this would not be possible in live PyPI. Nuking and restarting should be acceptable when testing.

@ValueRaider
Copy link
Author

The help page indicates this should be possible: https://test.pypi.org/help/#file-name-reuse

PyPI does not allow for a filename to be reused, even once a project has been deleted and recreated.
To avoid this situation, use Test PyPI to perform and check your upload first, before uploading to pypi.org.

@di
Copy link
Member

di commented Feb 18, 2022

Thanks for the report! Going to close this in favor of #726 which would be an overall better solution to this issue.

@di di closed this as completed Feb 18, 2022
@rturrado
Copy link

The help page indicates this should be possible: https://test.pypi.org/help/#file-name-reuse

PyPI does not allow for a filename to be reused, even once a project has been deleted and recreated.
To avoid this situation, use Test PyPI to perform and check your upload first, before uploading to pypi.org.

So I would have thought that Test PyPI would allow you to test package uploading and, thus, wouldn't complain if you upload a package twice. But it does.

Is there a way to override this behaviour, i.e., have Test PyPI let you upload a package with the same name twice?

Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants