Re: [Distutils] Maintaining a curated set of Python packages

2016-12-22 Thread Nick Coghlan
On 22 December 2016 at 09:08, Chris Barker wrote: > And there are utilities that let you run a script in a given environment: > > https://github.com/pelson/conda-execute > > (and maybe others) > https://pypi.python.org/pypi/pipsi (pip Script Installer) creates a dedicated

Re: [Distutils] Can't upload sdist: "File already exists"

2016-12-22 Thread Donald Stufft
There is a fairly new restriction that you can only have *one* sdist per release now. That should not apply at all to Wheels and if it is, then it is a bug. I can’t reproduce this issue though, so I’m going to guess there was some bit of confusion about exact errors here. If someone actually

Re: [Distutils] Can't upload sdist: "File already exists"

2016-12-22 Thread Glyph Lefkowitz
> On Dec 22, 2016, at 8:54 AM, Ian Cordasco wrote: > > On Thu, Dec 22, 2016 at 9:49 AM, Brett Cannon wrote: >> Because you already uploaded a wheel for version 0.1.2 you can't upload any >> other files for that version, else people could

Re: [Distutils] Can't upload sdist: "File already exists"

2016-12-22 Thread Ian Cordasco
On Thu, Dec 22, 2016 at 9:49 AM, Brett Cannon wrote: > Because you already uploaded a wheel for version 0.1.2 you can't upload any > other files for that version, else people could accidentally upload e.g. an > sdist with code different from what was already uploaded in the

Re: [Distutils] Can't upload sdist: "File already exists"

2016-12-22 Thread Nick Timkovich
So upload the sdist first in the future? What's the difference between uploading an sdist second with code that differs from what's in the wheel and vice versa, is PyPI doing some checking? Generally, is it OK (recommended/socially acceptable) to upload universal wheels only or is the sdist still

Re: [Distutils] Can't upload sdist: "File already exists"

2016-12-22 Thread Brett Cannon
Because you already uploaded a wheel for version 0.1.2 you can't upload any other files for that version, else people could accidentally upload e.g. an sdist with code different from what was already uploaded in the wheel. If you want an sdist then I would do another release as version 0.1.2post1