[Distutils] Can't re-upload package?

Ionel Cristian Mărieș contact at ionelmc.ro
Tue Sep 22 00:47:14 CEST 2015


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 at 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 at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20150922/98b111f9/attachment.html>


More information about the Distutils-SIG mailing list