It also provides consistency with date-based versions. And versions aren't decimals so thinking of them like that is not exactly useful.

On Dec 23, 2014 11:43 AM, "Paul Moore" <p.f.moore@gmail.com> wrote:
On 22 December 2014 at 20:44, Marcus Smith <qwcode@gmail.com> wrote:
> it would fail.  you'd need  ">1.7.0"
>
> On Mon, Dec 22, 2014 at 12:36 PM, James Bennett <ubernostrum@gmail.com>
> wrote:
>>
>> So, if PyPI has foo-1.7 and foo-1.7.1, does ">1.7" just fail to find
>> anything installable?

I think the thing I'd missed, which makes this behaviour more
understandable (for me) is that you wouldn't usually get that in
reality. Projects tend to use a fixed number of digits in the version
number, so it'd likely be 1.7.0 and 1.7.1, and you'd be writing
>1.7.0.

Thinking of ">1.7" as "greater than the 1.7 series" sort of helps me as well...

Paul
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig