pyupio / pyup

A tool to update your project's dependencies on GitHub. Runs on pyup.io, comes with a command line interface.
https://pyup.io
MIT License
448 stars 67 forks source link

Support `requires_python` field to detect Python 3 support #418

Open fmigneault opened 1 year ago

fmigneault commented 1 year ago

Multiple packages providers prefer to define requires_python: ">=3.7" instead of individual Programming Language :: Python classifiers for each new version supported.

For example: https://github.com/pallets/werkzeug/pull/2528

pyup should detect this field when provided on pypy (eg: https://pypi.org/pypi/werkzeug/json) to avoid flagging packages as not supporting Python 3, when they are in fact strictly requesting it.

This would resolve similar problems identified in #202, #269