mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
Bug 1734402 - Bump Mach's minimum Python version to 3.7 r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D171151
This commit is contained in:
parent
219bcae35c
commit
c33316db44
6
mach
6
mach
@ -35,10 +35,10 @@ def check_and_get_mach(dir_path):
|
||||
|
||||
|
||||
def main(args):
|
||||
# Ensure we are running Python 3.6+. We run this check as soon as
|
||||
# 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 < (3, 6):
|
||||
print("Python 3.6+ is required to run mach.")
|
||||
if sys.version_info < (3, 7):
|
||||
print("Python 3.7+ is required to run mach.")
|
||||
print("You are running Python {0}".format(platform.python_version()))
|
||||
if sys.platform.startswith("linux"):
|
||||
print(dedent("""
|
||||
|
Loading…
Reference in New Issue
Block a user