<p dir="ltr">On Oct 14, 2015 10:04 AM, "Ionel Cristian Mărieș" <<a href="mailto:contact@ionelmc.ro">contact@ionelmc.ro</a>> wrote:<br>
><br>
><br>
> On Wed, Oct 14, 2015 at 7:43 PM, Chris Barker <<a href="mailto:chris.barker@noaa.gov">chris.barker@noaa.gov</a>> wrote:<br>
>><br>
>> some packages were unable to work with the postN suffix.<br>
><br>
><br>
> ​Can you elaborate a bit more here?​<br>
></p>
<p dir="ltr">Apparently some packages were making assumptions about the format of the numpy.__version__ string, and having .postN in there caused errors when they tried to process it. (It would be helpful if there were a little permissively licensed standalone implementation of PEP 440 comparisons, suitable for the "if pkg.version > ...:" checks that people insist on doing -- I couldn't find one in some quick searches.)</p>
<p dir="ltr">IIUC, the specific problems numpy ran into that caused the creation of .postN releases were:<br>
- oops, didn't sign the uploads, re-upload identical file with proper signature attached -> not allowed. (I'm not sure if these were embedded or detached signatures. Either way it'd be nice if pypi allowed it, but for embedded signatures in particular I can see how this might be a hassle.)<br>
- our OS X maintainer tried to use twine to upload OS X wheels for the existing release; instead it created a new release. Not sure if a bug was filed on twine, but if not then one probably should be. As a workaround our release docs now say "always upload wheels by hand using the web interface, never use setup.py upload or twine".</p>
<p dir="ltr">My feeling is that pypi is correct to disallow the mutation of releases once they become public, but that the ergonomics around this could probably be improved :-). A more general solution that might be nice to have Someday would be if you could upload a release in one step, and then get a private link to poke at what was uploaded and make sure it looks correct, before making it public in a second step.</p>
<p dir="ltr">CC'ing the release manager and OS X maintainer in question, in case I got something wrong or more details are wanted...</p>
<p dir="ltr">-n</p>