Bug 1534578 - Upgrade macosx64 taskcluster tasks to python 3.7. r=ahal

Bug 1501497 deployed python 3.7 on mac workers, while leaving 3.6
around... except on reimaged workers, which only have 3.7 available.

Differential Revision: https://phabricator.services.mozilla.com/D31191

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Hommey 2019-06-06 10:51:41 +00:00
Родитель 1466b9f2a6
Коммит 2c9aedb1f6
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -39,7 +39,7 @@ def configure_python_test(config, job, taskdesc):
if worker['os'] == 'macosx' and run['python-version'] == 3:
# OSX hosts can't seem to find python 3 on their own
run['python-version'] = '/tools/python36/bin/python3.6'
run['python-version'] = '/tools/python37/bin/python3.7'
if job['worker-type'].endswith('1014'):
run['python-version'] = '/usr/local/bin/python3'

Просмотреть файл

@ -129,7 +129,7 @@ def generic_worker_run_task(config, job, taskdesc):
if is_win:
command = ['C:/mozilla-build/python3/python3.exe', 'run-task']
elif is_mac:
command = ['/tools/python36/bin/python3.6', 'run-task']
command = ['/tools/python37/bin/python3.7', 'run-task']
if job['worker-type'].endswith('1014'):
command = ['/usr/local/bin/python3', 'run-task']
else: