> but look at this (using setuptools 8)
>
>>>> '1.7.dev1' in pkg_resources.Requirement.parse('foo>=1.7')
> False
>>>> '1.7.dev1' in pkg_resources.Requirement.parse('foo<=1.7')
> True
I believe the first example is a consequence of the following two
excerpts from the PEP [...] In both cases (by (2) above), you
are supposed to compare the
candidate version "1.7.dev1" with the specified version "1.7".