pyupio / safety

Safety checks Python dependencies for known security vulnerabilities and suggests the proper remediations for vulnerabilities detected.
https://safetycli.com/product/safety-cli
MIT License
1.66k stars 141 forks source link

Bug: Supported Python versions not specified in pip-readable way #464

Open andy-maier opened 1 year ago

andy-maier commented 1 year ago

Description

The safety package does not specify the supported Python versions in a pip-readable way.

There are Trove classifiers that suggest the current version requires Python >=3.6, but that is not used by Pip.

Solution: Specify the python_requires parameter to setup().

andy-maier commented 7 months ago

@yeisonvargasf It turns out that the setup.cfg file already had the pyton_requires attribute, but in the wrong section.

I have created PR #485 to fix that. Please review and merge.