-
Notifications
You must be signed in to change notification settings - Fork 1k
"Filename has already been used" when uploading #4985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Looks like this is related to pypa/packaging-problems/issues/74. But it's also somewhat different in that the scenario there is to re-upload after deleting a file. The present issue is likely about re-uploading after deleting the entire package. |
Also seems like what I'm experiencing is pypa/packaging-problems/issues/188. Except that there, the owner deleted the package himself. I seem to have unknowingly inherited a package from a previous author. |
@mherrmann You are correct, the This is essentially a duplicate of #4440, which proposes to fix this confusion by "soft" deleting projects, releases and files, and having them persist across ownership changes. As such, I'm going to close this issue, but thanks for the report! |
Makes sense. Thanks :-) |
Summary: really just need a commit to buffer an open source version bump 0.0.51 Context: pypi/warehouse#4985 Reviewed By: mrkmndz Differential Revision: D22879537 fbshipit-source-id: 286a7275cda0658245700887a5eb686b9df4018e
Uh oh!
There was an error while loading. Please reload this page.
I have a package called fbs on PyPI. Every once in a while, I get the following error while trying to upload a new version with
twine
:The error occurs even though I have never uploaded the respective version before. To work around it, I have to use a different version number.
What's curious: The version numbers for which this happens exhibit a strange pattern. The problem has so far occurred for versions
0.2.1
,0.2.2
,0.2.3
,0.3.1
,0.3.2
and0.3.3
. Notice the pattern.1
,.2
,.3
. But probably it's coincidence.Out of curiosity, I tried
pip install
for one of the versions which PyPI claims already exist. (Eg.pip install fbs==0.3.1
.) But I gotMy suspicion is that someone else had control of this package on PyPI before me, then deleted it. This left over some "old" releases, which now conflict with my new ones. If PyPI lets you delete packages, then I believe it should also clean up any old files so future owners of that package can use it as if it were new.
I'm using
twine
1.12.1 and the following commands for uploading:twine upload --verbose dist/fbs-0.3.1.tar.gz
gave:I'm on Ubuntu Linux 16.04 with Python 3.5.3, in case that's relevant.
Thanks!
The text was updated successfully, but these errors were encountered: