pip-upgrader icon indicating copy to clipboard operation
pip-upgrader copied to clipboard

Some version formats cannot be parsed

Open Krystofee opened this issue 4 years ago • 2 comments

Problem

For example Black autoformatter version could not be parsed by pip-upgrader.

krystofrehacek@Krystof-MacBook-Pro:retino/src ‹1213-update-npm-and-pip*›$ pip-upgrade

Found valid requirements file(s):
requirements.txt
black==19.10b0 error while parsing version
2/47: coreapi ... up to date: 2.3.3
3/47: dicttoxml ... up to date: 1.7.4
4/47: Django ... upgrade available: 3.0.2 ==> 3.0.5 (uploaded on 2020-04-01 07:59:15)
... output continues ...

Proposed solution

Support for this kind of versioning (e. g. 19.10b0) should be added, since pip accepts it.

Krystofee avatar Apr 06 '20 13:04 Krystofee