Can't re-upload package?
Greetings, I recently uploaded version 2.4.0 of SCons. For some reason pip wasn't installing 2.4.0 but was pulling 2.3.6 so I figured I'd delete the release and re-upload. Then I get the following errors: Submitting dist/scons-2.4.0.tar.gz to https://pypi.python.org/pypi Upload failed (400): This filename has previously been used, you should use a different version. error: Upload failed (400): This filename has previously been used, you should use a different version. Do I really need to cut a whole new release (to change version #) to re-upload to pypi? -Bill
Yes, you need to make a new release. This is enforced for security purposes (so you can't swap out code for releases that people deemed safe). If you don't want to make a patch release (1.2.X) and your change doesn't change anything functionally you could make a "post release": https://www.python.org/dev/peps/pep-0440/#post-releases Thanks, -- Ionel Cristian Mărieș, http://blog.ionelmc.ro On Tue, Sep 22, 2015 at 1:29 AM, Bill Deegan <bill@baddogconsulting.com> wrote:
Greetings,
I recently uploaded version 2.4.0 of SCons. For some reason pip wasn't installing 2.4.0 but was pulling 2.3.6 so I figured I'd delete the release and re-upload.
Then I get the following errors: Submitting dist/scons-2.4.0.tar.gz to https://pypi.python.org/pypi Upload failed (400): This filename has previously been used, you should use a different version. error: Upload failed (400): This filename has previously been used, you should use a different version.
Do I really need to cut a whole new release (to change version #) to re-upload to pypi?
-Bill
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
participants (2)
-
Bill Deegan
-
Ionel Cristian Mărieș