> 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.

---
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