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
454 stars 67 forks source link

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

Open fmigneault opened 2 years ago

fmigneault commented 2 years 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