> On Dec 15, 2014, at 1:26 PM, Donald Stufft <[email protected]> wrote:
> 
> 
>> On Dec 15, 2014, at 1:15 PM, Jim Fulton <[email protected]> wrote:
>> 
>>>>> import pkg_resources
>>>>> r = pkg_resources.Requirement.parse("five.localsitemanager>2.0dev")
>>>>> '2.0.5' in r
>> False
>>>>> r = pkg_resources.Requirement.parse("five.localsitemanager>2.0.dev0")
>>>>> '2.0.5' in r
>> True
>> 
>> I have a feeling the definition of "dev" has changed too.
> 
> I think this is a bug with the packaging lib that has to do with the fact that
> the “>2.0dev” doesn’t have a . separating it. Taking a look at it now.
> 

Found the bug, it’s fixed in the packaging lib here: 
https://github.com/pypa/packaging/pull/18

Will get that merged once tests passed and a new release out and a PR to 
setuptools.

---
Donald Stufft
PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

_______________________________________________
Distutils-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to