Skip to content

Cannot update package in pypi #105

Answered by webknjaz
dmtzs asked this question in Q&A
Oct 30, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You cannot publish files with the same name to PyPI. Even if you delete them, it won't let you. Yes, you should use a different version. Where you change it depends on what you use to build a package.
If you're getting this error, this means that you didn't build the dists with new versions, maybe you're publishing an old commit. Or you use some sort of caching that also leaves the old files in the dists directory. That's for you to explore, this is absolutely out of the scope of this action — it just publishes whatever's in the directory. It is your responsibility to make sure that the folder contains what you intend to publish.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dmtzs
Comment options

Answer selected by webknjaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants