I've just uploaded a new version of my package to PyPi (1.2.1.0-r4): I can download the egg file and install it with easy_install, and the version checks out correctly. But when I try to install using pip, it installs version 1.1.0.0 instead. Even if I explicitly specify the version to pip with pip install -Iv tome==1.2.1.0-r4
, I get this message: Requested tome==1.2.1.0-r4, but installing version 1.1.0.0
, but I don't understand why.
I double checked with parse_version
and confirmed that the version string on 1.2.1 is greater than that on 1.1.0 as shown:
>>> from pkg_resources import parse_version as pv
>>> pv('1.1.0.0') < pv('1.2.1.0-r4')
True
>>>
So any idea why it's choosing to install 1.1.0 instead?
pip install -Iv tome==1.2.1.0-r4
installs for me (according to both the messages andpip freeze
the packagetome==1.2.1.0-r4
. - David Robinson-U
- Wolph