diff -up thunderbird-115.0.1/mach.python312 thunderbird-115.0.1/mach
--- thunderbird-115.0.1/mach.python312 2023-07-26 14:30:25.336532252 +0200
+++ thunderbird-115.0.1/mach 2023-07-26 14:31:19.056512905 +0200
@@ -67,7 +67,7 @@ def try_alternate_python3_executables(ar
def main(args):
# Ensure we are running Python 3.7+. We run this check as soon as
# possible to avoid a cryptic import/usage error.
- if sys.version_info < MIN_PYTHON_VERSION:
+ if sys.version_info < MIN_PYTHON_VERSION or sys.version_info > MAX_PYTHON_VERSION_TO_CONSIDER:
print(f"Python {MIN_PYTHON_VERSION[0]}.{MIN_PYTHON_VERSION[1]}+ is required to run mach.")
print("You are running Mach with Python {0}".format(platform.python_version()))
try_alternate_python3_executables(args)