[Distutils] Review of latest draft of PEP 426 (Python package etadata v1.3)

Marcus Smith qwcode at gmail.com
Sun Feb 3 00:06:15 CET 2013


> a top level "dev" release should be sorted before the first alpha
> release
>

ok, so applying this to the example in pep386 (and your comment about
interpreting a top-level "dev" as "a0.dev"), the sorting would be like
this?

   new    ...     V('1.0dev1')
   new    ...  < V('1.0a0.dev2')
   new    ...  < V('1.0dev3')
   313     ...  < V('1.0a1')
   314     ...  < V('1.0a2.dev456')
   315     ...  < V('1.0a2')
   316     ...  < V('1.0a2.1.dev456')
   317     ...  < V('1.0a2.1')
   318     ...  < V('1.0b1.dev456')
   319     ...  < V('1.0b2')
   320     ...  < V('1.0b2.post345')
   321     ...  < V('1.0c1.dev456')
   322     ...  < V('1.0c1')
   323     ...  < V('1.0.dev456')
   324     ...  < V('1.0')
   325     ...  < V('1.0.post456.dev34')
   326     ...  < V('1.0.post456'))
   327     True


Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130202/cdfe8281/attachment.html>


More information about the Distutils-SIG mailing list