]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-build-pull-requests: pin urllib3 to 1.22 1040/head
authorAndrew Schoen <aschoen@redhat.com>
Tue, 5 Jun 2018 14:47:13 +0000 (09:47 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 5 Jun 2018 14:47:13 +0000 (09:47 -0500)
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>
ceph-build-pull-requests/build/build

index 7cc8c64a39ff115b54b70b6c533d4181db186bf2..45454f87168697937a25a1cb7a056cd1e2c74555 100644 (file)
@@ -3,7 +3,9 @@
 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[@]"