]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-build-pull-requests: use a newer urllib3 when installing jjb 2048/head
authorKefu Chai <tchaikov@gmail.com>
Tue, 9 Aug 2022 00:01:26 +0000 (08:01 +0800)
committerKefu Chai <tchaikov@gmail.com>
Tue, 9 Aug 2022 00:01:27 +0000 (08:01 +0800)
as urllib3 v1.22 is not compatible with python3.10 which is shipped by
ubuntu jammy. see https://pypi.org/project/urllib3/1.22/

so, to run jjb in a python3.10 venv we should use a newer urllib.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
ceph-build-pull-requests/build/build

index 204c0a5adfadf666cef5939063fd61c3dce6d66a..233074c05fd833cd14977655974968e94e24b324 100644 (file)
@@ -5,7 +5,7 @@ set -e
 # the following two methods exist in scripts/build_utils.sh
 # 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>=3.5.0" "urllib3==1.22" "pyopenssl" "ndg-httpsclient" "pyasn1" )
+pkgs=( "ansible" "jenkins-job-builder>=3.5.0" "urllib3==1.26.1" "pyopenssl" "ndg-httpsclient" "pyasn1" )
 TEMPVENV=$(create_venv_dir)
 VENV=${TEMPVENV}/bin
 install_python_packages $TEMPVENV "pkgs[@]"