зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
07d9153e09
Коммит
7a4176705d
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("""
|
||||
|
|
Загрузка…
Ссылка в новой задаче