> On 23 Dec 2014, at 18:43, Paul Moore <p.f.mo...@gmail.com> wrote:
> 
> On 22 December 2014 at 20:44, Marcus Smith <qwc...@gmail.com> wrote:
>> it would fail.  you'd need  ">1.7.0"
>> 
>> On Mon, Dec 22, 2014 at 12:36 PM, James Bennett <ubernost...@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.

For what it’s worth I usually skip a trailing .0 in my versions since it does 
not add any extra information. So my packages tend to do 1.6 1.6.1 1.6.2 1.7 
1.7.1 etc. etc.

Wichert.

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

Reply via email to