Bump minimum required Python version (#24554)

This commit is contained in:
Joel Challis 2024-10-31 23:21:20 +00:00 committed by GitHub
parent f1f875063c
commit 292e0af293
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -207,8 +207,8 @@ def _eprint(errmsg):
# Ubuntu 24.04: 3.12
# void: 3.12
if sys.version_info[0] != 3 or sys.version_info[1] < 7:
_eprint('Error: Your Python is too old! Please upgrade to Python 3.7 or later.')
if sys.version_info[0] != 3 or sys.version_info[1] < 9:
_eprint('Error: Your Python is too old! Please upgrade to Python 3.9 or later.')
exit(127)
milc_version = __VERSION__.split('.')