pilosus / pip-license-checker

Check license types for third-party dependencies: permissive, copyleft, proprietory, etc.
https://blog.pilosus.org/posts/2021/09/07/pip-license-checker/
Other
69 stars 3 forks source link

Version parsing for PEP517 non-compliant Python packages #123

Closed pilosus closed 1 year ago

pilosus commented 1 year ago

It seems that older formats of Python packages have problems when parsing version from PyPI Simple API, e.g.

pyasn1-0.4.8-py3.5.egg results in 1-0 version, iso3166-0.7.zip results in 3166-0 version, pyasn1_modules-0.0.1a-py2.4.egg results in 1 version.

We may want to fix the default version parser and eggs files specifically.