We need to do this because jenkins-job-builder installs requests, and if
we don't pin here a version of urllib3 is installed that is incompatible
with the version of requests that jenkins-job-builder requires which is
urllib3<1.23,>=1.21.1
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
set -e
# the following two methods exist in scripts/build_utils.sh
-pkgs=( "ansible" "jenkins-job-builder" "urllib3" "pyopenssl" "ndg-httpsclient" "pyasn1" )
+# must pin urllib3 to 1.22 because 1.23 is incompatible with requests, which
+# is used by jenkins-job-builder
+pkgs=( "ansible" "jenkins-job-builder" "urllib3==1.22" "pyopenssl" "ndg-httpsclient" "pyasn1" )
install_python_packages "pkgs[@]"