Skip to content

Commit

Permalink
Bug 1734402 - Bump Mach's minimum Python version to 3.7 r=firefox-bui…
Browse files Browse the repository at this point in the history
…ld-system-reviewers,glandium

Differential Revision: https://phabricator.services.mozilla.com/D171151
  • Loading branch information
ahochheiden committed Feb 28, 2023
1 parent 219bcae commit c33316d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mach
Original file line number Diff line number Diff line change
Expand Up @@ -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("""
Expand Down

0 comments on commit c33316d

Please sign in to comment.