The latest version of module breaks compatibility
with python-jenkins.
Note: The pip upgrade eager option pulls in the newer
version of urllib3>2.0.0 unless the exact version is passed
with lftools.
Issue: RELENG-4715
Change-Id: Ib0136e8155b6a654d1b15a558796774e78a31a4d
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
--- /dev/null
+---
+fixes:
+ - |
+ Pin urllib3 to <2.0.0 for the verify jobs
+
+ 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>`
lf-git-validate-jira-urls
lf-jjb-check-ascii
-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 setuptools==65.7.0 urllib3~=1.26.15
jenkins-jobs test --recursive -o archives/job-configs --config-xml jjb/
exit 0
fi
-lf-activate-venv zipp==1.1.0 python-openstackclient
+lf-activate-venv zipp==1.1.0 python-openstackclient urllib3~=1.26.15
if [[ -z ${JOB_NAME:-} ]]; then
lf-echo-error "Required Env Variable Unset/Empty: JOB_NAME"