mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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:
parent
f7ead9bcb6
commit
e726893165
1 changed files with 2 additions and 2 deletions
4
mach
4
mach
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue