The latest version of module breaks compatibility
with RTDv3 jobs during tox install and run.
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: I8aae2505eb20e7dc8bef02f5687f9dad9b0e8ef0
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
--- /dev/null
+---
+fixes:
+ - |
+ Pin urllib3 to <2.0.0 for the RTD jobs
+
+ The latest version of module breaks compatibility with RTDv3
+ jobs during tox install and run.
+
+ 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
source ~/lf-env.sh
-lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv
+lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15
# installs are silent, show version details in log
$PYTHON --version
# shellcheck disable=SC1090
source ~/lf-env.sh
-lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv
+lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15
if [[ -d /opt/pyenv ]]; then
echo "---> Setting up pyenv"