-
Notifications
You must be signed in to change notification settings - Fork 309
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
--skip-existing doesn't skip uploading on 409/400 response codes #195
Comments
|
This is happening in a Travis CI build, with their standard Python 2 installation and Twine being freshly downloaded using pip. So:
I don't think it will provide much more information than I have above, but if you look at the Travis build logs here you can see Twine failing in the deploy section. The Twine command run is here: (Sorry, I'm just bombarding you with lots of information... hope it helps) |
Trust me, more information than necessary is far better than less. =) |
We used to do this but it got lost between 1.6.x and 1.7.x. The check to see if a package is already uploaded first is much faster but in the event that it doesn't work, we have to attempt the upload and then check once more if we should ignore it. Closes pypagh-195
Thank you! |
1.7.3 was just tagged and released to PyPI so you should be able to test that out |
Yup, looks all fixed, thanks. |
The code is there to skip uploading on a 409/400 response but I can't actually see that function being used anywhere except for in tests. Am I missing something?
Currently doing a
twine upload --skip-existing...
results in the errorHTTPError: 409 Client Error: Conflict for url:...
The text was updated successfully, but these errors were encountered: