Is it possible to make small changes to my package without having to change the version in Pypi?

Asked

Viewed 17 times

1

I made a package in python and added it to Pypi. Now, I’d like to update just one error message.

When I make more complex updates, I create a new release on Github and update the version in my file setup.py.

However, I think it would be an "Overkill" to create a new release just to improve an error message. Moreover, it seems to me that this is not the standard procedure since I see many packages with a small number of releases. It is possible to make small changes without having to change the version of my package in Pypi?

I would like to avoid something that happened in my first python package (https://github.com/lucascr91/cartpy). Note that I made 28 releases (!) because I created a new release for each change I made. This seems unnecessary to me.

What I tried

Well, I figured I could make a small change and keep the same version, then fix the error message, commit to Github and then update my package using:

pip install --upgrade meupacote

It didn’t work. Any suggestions?

  • 1

    I believe the only way is to change the yes version. Something related (but not helpful in your specific case) is when you are testing something specific to packaging. In this case you can use https://test.pypi.org/ instead of regular Pypi. You will still have to change the version with each change, but at least you are changing only on the test server and after doing what you wanted you can change the version only once and upload to the regular Pypi.

  • Thank you, @darcamo

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.