Kozea / pygal

PYthon svg GrAph plotting Library
https://www.pygal.org
GNU Lesser General Public License v3.0
2.62k stars 411 forks source link

Prevent installing on unsupported Python versions #525

Closed jamespic closed 1 year ago

jamespic commented 2 years ago

PyGal 3.0.0 was recently released, which drops support for a number of legacy Python versions. Unfortunately, it does not take advantage of the python_requires option, which marks this version of PyGal as unsuitable for installing on these legacy Python versions, meaning pip install pygal on these older versions will attempt to install the latest (unsupported) version of PyGal.

Note that merely merging this change and releasing the new version is not sufficient. Once the new version has been released (presumably 3.0.1) It is also necessary to yank the previously released version (3.0.0), so that it does not appear as an installation candidate for older versions of Python.