mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
deps: Raise the Python requirement to 3.10 (#31088)
This will allow us to use the pip's new dependency resolver.
This commit is contained in:
parent
3c1ab65458
commit
0d240b8713
6 changed files with 15 additions and 5 deletions
|
@ -209,10 +209,10 @@ def bootstrap(topdir):
|
|||
print('Current path:', topdir)
|
||||
sys.exit(1)
|
||||
|
||||
# Ensure we are running Python 3.5+. We put this check here so we generate a
|
||||
# Ensure we are running Python 3.10+. We put this check here so we generate a
|
||||
# user-friendly error message rather than a cryptic stack trace on module import.
|
||||
if sys.version_info < (3, 5):
|
||||
print('Python3 (>=3.5) is required to run mach.')
|
||||
if sys.version_info < (3, 10):
|
||||
print('Python3 (>=3.10) is required to run mach.')
|
||||
print('You are running Python', platform.python_version())
|
||||
sys.exit(1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue