Bump minimum required Python version (#24554)
This commit is contained in:
parent
f1f875063c
commit
292e0af293
@ -207,8 +207,8 @@ def _eprint(errmsg):
|
|||||||
# Ubuntu 24.04: 3.12
|
# Ubuntu 24.04: 3.12
|
||||||
# void: 3.12
|
# void: 3.12
|
||||||
|
|
||||||
if sys.version_info[0] != 3 or sys.version_info[1] < 7:
|
if sys.version_info[0] != 3 or sys.version_info[1] < 9:
|
||||||
_eprint('Error: Your Python is too old! Please upgrade to Python 3.7 or later.')
|
_eprint('Error: Your Python is too old! Please upgrade to Python 3.9 or later.')
|
||||||
exit(127)
|
exit(127)
|
||||||
|
|
||||||
milc_version = __VERSION__.split('.')
|
milc_version = __VERSION__.split('.')
|
||||||
|
Loading…
Reference in New Issue
Block a user