Issue: RELENG-4715
Change-Id: I8d5ef5e30682654b4212a320ffa20f061e11d828
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
--- /dev/null
+---
+fixes:
+ - |
+ Pin urllib3 to <2.0.0 for the JJB cleanup
+
+ The latest version of module breaks compatibility with python-jenkins.
+
+ Error:
+
+ .. code-block:: bash
+
+ ValueError: Timeout value connect was <object object at
+ 0x7fe57a4948a0>, but it must be an int, float or None.
+
+ Reference:
+
+ `Launchpad#2018567 <https://bugs.launchpad.net/python-jenkins/+bug/2018567>`
# shellcheck disable=SC1090
. ~/lf-env.sh
-lf-activate-venv --python python3 --venv-file /tmp/.jjb_venv jenkins-job-builder
+lf-activate-venv --python python3 --venv-file /tmp/.jjb_venv \
+ jenkins-job-builder urllib3~=1.26.15
# jenkins-jobs does not always open 'stdin' which may cause 'yes' to fail
(yes || true) | jenkins-jobs -s sandbox delete-all