[Distutils] change in setuptools 8.0
Donald Stufft
donald at stufft.io
Mon Dec 15 19:44:04 CET 2014
> On Dec 15, 2014, at 1:26 PM, Donald Stufft <donald at stufft.io> wrote:
>
>
>> On Dec 15, 2014, at 1:15 PM, Jim Fulton <jim at zope.com> 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
More information about the Distutils-SIG
mailing list