mach: Error out sooner with Python < 3.10 (#31225)

We upgraded our Python dependency to 3.10, but neglected to update mach.
This change makes sure we error out sooner, rather than later.
This commit is contained in:
Martin Robinson 2024-01-30 13:02:23 +01:00 committed by GitHub
parent f7ead9bcb6
commit e726893165
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

4
mach
View file

@ -12,8 +12,8 @@
import os
import sys
if sys.version_info < (3, 5):
print("mach does not support python < 3.5, please install python 3 >= 3.5")
if sys.version_info < (3, 10):
print("mach does not support python < 3.10, please install python 3 >= 3.10")
sys.exit(1)