On 06/10/2016 10:38 PM, Ben Pfaff wrote:
> On Thu, Jun 09, 2016 at 04:07:13AM -0400, Russell Bryant wrote:
>> I uploaded "2.6.0.dev1".  This was to enable OpenStack CI to start running
>> tests using the version of the Python library that includes Python 3.  I
>> followed some python packaging / pypi versioning guidelines to pick that
>> number.  It indicates that it's a dev snapshot of what will eventually
>> (presumably) be 2.6.0.  I know OVS generates 2.5.90, but I don't find that
>> appropriate to use, as it isn't 2.5 at all.
> 
> The .90 suffix is supposed to indicate that it's much greater than 2.5,
> but less than 2.6.
> 
> dpkg considers 2.6.0.dev1 to be greater than 2.6.0:
>     $ if dpkg --compare-versions 2.6.0.dev1 gt 2.6.0; then echo greater; else 
> echo less; fi
>     greater
> so it seems like a poor choice for anything in Debian.

That's ok though. There's nothing you can do with the Python version
numbers which are kind of incompatible with what we do in Debian (the
char ~ is forbidden in PyPi). So the way to do it in Debian is to rename
2.6.0.dev1 as 2.6.0~dev1.

Cheers,

Thomas Goirand (zigo)

Reply via email to