simion/pip-upgrader

Bad version handling on `prettytable` package

ionelmc opened this issue · 2 comments

I get this for prettytable==0.7.2 (latest version):

prettytable ... upgrade available: 0.7.2 ==> 7 (uploaded on 2013-02-17 18:05:18)

https://pypi.python.org/pypi/PrettyTable/json indeed has "version" set to 7 but maybe there's a way to handle this?

Ah, almost forgot, the packages that I have installed (Python 2.7.12):

colorclass (2.2.0)
docopt (0.6.2)
packaging (16.8)
pip-upgrader (1.3.5)
requests (2.11.1)
terminaltables (3.1.0)

It's definitely a mistake from their side, but I'll figure out a generic solution for this problem.

As an experiment, I'll generate a requirements.txt with all packages from pypi index, and scan all of them, to detect packages with similar issues.

Thanks for the report 😉