-
Notifications
You must be signed in to change notification settings - Fork 325
Closed
Labels
blockedIssues we can't or shouldn't get to yetIssues we can't or shouldn't get to yet
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?
nexus
PostgreSQL
skip-existing
Please describe why your using this option
Hello maintainers,
We recently migrated from OrientDB to the PostgreSQL database for Nexus Repository Pro (without upgrading Nexus version).
We noticed that the --skip-existing option does not work anymore.
The problem is that the response from Nexus Repository Pro contains different error messages depending on the DB.
OrientDB
Repository does not allow updating assets: pypi-hosted
PostgreSQL
pypi-hosted/packages/<package>/<version>/<package>-<version>-py3-none-any.whl cannot be updated
Current logic does not cover this behavior
twine/twine/commands/upload.py
Lines 64 to 65 in fe1885f
# Nexus Repository OSS (https://www.sonatype.com/nexus-repository-oss) | |
or (status == 400 and any("updating asset" in x for x in [reason, text])) |
Anything else you'd like to mention?
No response
WatskeBart, Deimvis and horenmar
Metadata
Metadata
Assignees
Labels
blockedIssues we can't or shouldn't get to yetIssues we can't or shouldn't get to yet