Describe the bug
I uploaded a package in version 0.1.1. Then realised I had screwed it. Removed the release from Pypi (as well the tag from GH). Made my chang and attempted my new release with the same version.
Pypi complains as follows:
HTTPError: 400 Client Error: This filename has already been used, use a different version. See https://pypi.org/help/#file-name-reuse for url: https://upload.pypi.org/legacy/
Expected behavior
I should be able to upload with a past used-version provided it was deleted first.
Hi @Lawouach! PyPI does not allow reuse of filenames. The reasoning is two-fold.
Hey,
That makes sense indeed. Would it be possible to imagine a note, either in some documentation or, better, when a user wants to delete a release. I would imagine I'm not the only one making that assumption that deleting means it's a free slot once again.
Thanks,
@Lawouach I think that's a reasonable request. I made #4737 to capture that issue.
Most helpful comment
Hey,
That makes sense indeed. Would it be possible to imagine a note, either in some documentation or, better, when a user wants to delete a release. I would imagine I'm not the only one making that assumption that deleting means it's a free slot once again.
Thanks,