From e7268931655b39b78c53b2f2f1a6bc8cbface83f Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Tue, 30 Jan 2024 13:02:23 +0100 Subject: [PATCH] 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. --- mach | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mach b/mach index 57259217ae8..e71ae1489f9 100755 --- a/mach +++ b/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)