Fix REQUIRED_PYTHON in setup.py (#8292)

Just a left-over from #8288 to sync the "Unsupported Python version" message with `python_requires`.
This commit is contained in:
Alexander Clausen 2021-12-13 09:57:55 +01:00 committed by GitHub
parent 773f479719
commit ba25869045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ from io import open
from setuptools import find_packages, setup from setuptools import find_packages, setup
CURRENT_PYTHON = sys.version_info[:2] CURRENT_PYTHON = sys.version_info[:2]
REQUIRED_PYTHON = (3, 5) REQUIRED_PYTHON = (3, 6)
# This check and everything above must remain compatible with Python 2.7. # This check and everything above must remain compatible with Python 2.7.
if CURRENT_PYTHON < REQUIRED_PYTHON: if CURRENT_PYTHON < REQUIRED_PYTHON: