Open
Description
Is there an existing issue for this?
- I have searched the existing issues (open and closed), and could not find an existing issue
What keywords did you use to search existing issues?
artifactory
What operating system are you using?
Linux, Windows 11
If you selected 'Other', describe your Operating System here
No response
What version of Python are you running?
Python 3.9 and 3.12
How did you install twine? Did you use your operating system's package manager or pip or something else?
pip install twine
What version of twine do you have installed (include the complete output)
twine version 6.1.0 (keyring: 25.6.0, packaging: 24.1, requests: 2.32.3, requests-toolbelt: 1.0.0, urllib3: 2.2.3, id: 1.5.0, importlib-metadata:
8.5.0)
Which package repository are you using?
pypi.org
Please describe the issue that you are experiencing
Since an Artifactory update, my twine upload --skip-existing
command is now returning an error in case the artifact already exists.
With --verbose
option I get a Not enough permissions to delete/overwrite all artifacts under
.
I see in the code of twine that it is checking against a overwrite artifact
message (note the all
difference).
So I am guessing there was a change of behaviour has been made in Artifactory and twine should follow maybe?
Please list the steps required to reproduce this behaviour
- have an Artifactory instance?
- create a venv
- pip install latest twine
twine upload --skip-existing
some python package already present in artifactory! (or do it twice ;)- you get a return code not 0
Anything else you'd like to mention?
Thanks for your help :)