Bug 1608895 - Install setuptools<45.0.0 until workers are upgraded to python3 r=jcj NSS_3_44_BRANCH
authorKevin Jacobs <kjacobs@mozilla.com>
Mon, 13 Jan 2020 20:23:18 +0000
branchNSS_3_44_BRANCH
changeset 15615 42186bde906221f6e967776fc2b703c38032f2ed
parent 15404 b6910cab5f1e148cfced2d4cf1fab5a7d6ceec3e
child 15616 48612468b52fe730e54c785adac68b6972c95277
push id3746
push userjjones@mozilla.com
push dateTue, 19 May 2020 21:46:21 +0000
reviewersjcj
bugs1608895
Bug 1608895 - Install setuptools<45.0.0 until workers are upgraded to python3 r=jcj [[ https://setuptools.readthedocs.io/en/latest/history.html#v45-0-0 | Setuptools 45.0.0 ]] drops support for Python2, which our Windows workers are running. This patch installs the prior version during build, in order to unblock CI until the workers can be upgraded. Differential Revision: https://phabricator.services.mozilla.com/D59756
automation/taskcluster/windows/build_gyp.sh
--- a/automation/taskcluster/windows/build_gyp.sh
+++ b/automation/taskcluster/windows/build_gyp.sh
@@ -14,17 +14,17 @@ done
 [[ "$m" == "ia32" ]] && m=x86
 source "$(dirname "$0")/setup.sh"
 
 # Install GYP.
 pushd gyp
 python -m virtualenv test-env
 test-env/Scripts/python setup.py install
 test-env/Scripts/python -m pip install --upgrade pip
-test-env/Scripts/pip install --upgrade setuptools
+test-env/Scripts/pip install --upgrade 'setuptools<45.0.0'
 # Fool GYP.
 touch "${VSPATH}/VC/vcvarsall.bat"
 export GYP_MSVS_OVERRIDE_PATH="${VSPATH}"
 export GYP_MSVS_VERSION=2015
 popd
 
 export PATH="${PATH}:${PWD}/ninja/bin:${PWD}/gyp/test-env/Scripts"