aboutsummaryrefslogtreecommitdiffstats
path: root/python/mach_bootstrap.py
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-01-15 12:56:15 +0100
committerGitHub <noreply@github.com>2024-01-15 11:56:15 +0000
commit0d240b8713fb5cd933d348e668ab02a53859282b (patch)
tree54225e747cf9fd870503294183874d92377f6f09 /python/mach_bootstrap.py
parent3c1ab6545829442d30cc8244074f59c9e857755f (diff)
downloadservo-0d240b8713fb5cd933d348e668ab02a53859282b.tar.gz
servo-0d240b8713fb5cd933d348e668ab02a53859282b.zip
deps: Raise the Python requirement to 3.10 (#31088)
This will allow us to use the pip's new dependency resolver.
Diffstat (limited to 'python/mach_bootstrap.py')
-rw-r--r--python/mach_bootstrap.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/mach_bootstrap.py b/python/mach_bootstrap.py
index 9e4fcd3967a..ad7278c4514 100644
--- a/python/mach_bootstrap.py
+++ b/python/mach_bootstrap.py
@@ -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)