PyPI's JSON API response for project handler deprecates releases information
Recently PyPI's JSON API deprecated releases key in project's response:
The releases key on this response should be considered deprecated, and projects should shift to using the simple API (which can be accessed as JSON via PEP 691) to get this information where possible.
In the future, the releases key may be removed from this response.
That breaks versions resolution built in the checker for Python deps.
get all available files, parse versions from files, calculate version, then obtain meta from JSON API.
Pro: will fix the issue
Contra:
Filename parsing implementation needed
JSON-based simple API response PEP 691 from private indicies may be still be not supported, so HTML response PEP 503 shall be also supported
All non-PyPI and PyPI-like private indices (VCS, local project directories or remote source archives) checks still cannot be supported (see #107)
Give up on getting Python package's license name from API completely (i.e. drop --requirements option), support only license name to license category functionality (i.e. take in license names as with --external option).
Pro:
No need to support Python-specific things (e.g. version resolution)
Code simplification
Easier to focus on one thing and try to do it well
Contra:
Drastic project reorganisation with backward compatibility breaks (how come it's called pip-something if it has nothing to do with Python directly?)