Bug 1534647 - Switch python3 version to 3.6 on osx hosts; r=ahal
authorGeoff Brown <gbrown@mozilla.com>
Mon, 08 Apr 2019 19:10:25 +0000
changeset 468410 f6bf51e87b1aafe0b76a0dfd82546c99983dd3f4
parent 468409 d2b7450ab5c61b9e934b7d8bd32b46f3cd1547b6
child 468411 5937ad352b2dd7bd092ea73348bb7f142db73050
push id35837
push userrmaries@mozilla.com
push dateTue, 09 Apr 2019 03:43:40 +0000
treeherdermozilla-central@9eb55c9bf557 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1534647
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1534647 - Switch python3 version to 3.6 on osx hosts; r=ahal Quick fix for python3 mozbase perma-fail on osx: Use python 3.6 explicitly, rather than the system default 3.7, which appears to be broken currently (lacking ssl support). Differential Revision: https://phabricator.services.mozilla.com/D26345
taskcluster/taskgraph/transforms/job/python_test.py
--- a/taskcluster/taskgraph/transforms/job/python_test.py
+++ b/taskcluster/taskgraph/transforms/job/python_test.py
@@ -34,16 +34,16 @@ defaults = {
 @run_job_using('docker-worker', 'python-test', schema=python_test_schema, defaults=defaults)
 @run_job_using('generic-worker', 'python-test', schema=python_test_schema, defaults=defaults)
 def configure_python_test(config, job, taskdesc):
     run = job['run']
     worker = job['worker']
 
     if worker['os'] == 'macosx' and run['python-version'] == 3:
         # OSX hosts can't seem to find python 3 on their own
-        run['python-version'] = '/usr/local/bin/python3'
+        run['python-version'] = '/tools/python36/bin/python3.6'
 
     # defer to the mach implementation
     run['mach'] = 'python-test --python {python-version} --subsuite {subsuite}'.format(**run)
     run['using'] = 'mach'
     del run['python-version']
     del run['subsuite']
     configure_taskdesc_for_run(config, job, taskdesc, worker['implementation'])