Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8997137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:50:52+00:00 2026-06-15T23:50:52+00:00

Is there a way to update a PyPI package without changing the version number?

  • 0

Is there a way to update a PyPI package without changing the version number?

Imagine, for a second, that I’ve found a small bug in a package I recently uploaded to PyPI. Is there a way to edit/re-upload the code without incrementing the version number?

UPDATE
I guess I should clarify that by “bug” I mean the version number in the actual source code is wrong – it’s not a functional thing, it just means if you do package.version you get the previous version, not the current one (and yes I know this could cause a bug in someone else’s code, but given we’re in alpha I’d hope version dependencies haven’t set in just yet…). For the record, clearly silent bug fixes are bad!

UPDATE 2
As of Jan 2015 the solution provided is no longer valid – see this post for more information.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T23:50:53+00:00Added an answer on June 15, 2026 at 11:50 pm

    When you encountered a bug, always upload a new release.

    Increase the version number, include a changelog, call it a brown-bag release (it wasn’t me, it was someone wearing a brown bag over their heads, really, honestly).

    You never know whom already may have downloaded a copy of the release (on a mirror, directly from your github page, whatever) that will never know that you fixed a bug quietly. Moreover, those that did figure out you replaced the release, now have to learn how to force a reinstall.

    Don’t replace a released package with a silent bugfix. Do not be tempted. Just make a new release.

    If, on the other hand, you managed somehow to corrupt the distribution file itself, so the .zip or .tar.gz file is b0rken, then you need to manually remove the file using the PyPI web interface and re-upload.

    As of the 24th of January, PyPI will not even let you reuse a filename anymore; that means that you cannot re-upload a new file with the same version number.

    If all you did wrong was a packaging error, you can add a .postN postfix to the version number (so .post1, .post2, etc.) to indicate a post-release update.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I there a way to update a row without mentioning fields name ? I
Is there a way to update only the parent UpdatePanel without updating the child
Is there is any way to update shared OR(Object Repository) in QTP without having
Is there a way to update Rails in a pc without internet connection? It
Is there a way to update() a dictionnary without blindly overwriting values of the
Is there a way to update the URL programatically without reloading the page? EDIT:
Is there a way to update a modified plist file that's in the bundle
Is there a way to update the number of joysticks plugged in at run-time
Is there way to update a record after something has been rendered without putting
Is there any way to update instance variables from a page method without making

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.