Fix: pin urllib3<2.0.0 12/71712/1 v0.37.4
authorAnil Belur <abelur@linuxfoundation.org>
Mon, 8 May 2023 03:28:34 +0000 (13:28 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 8 May 2023 03:31:28 +0000 (13:31 +1000)
The latest version of module breaks compatibility with
python-jenkins.

Issue: RELENG-4715
Change-Id: If0d942696820b8c867b56735ca3036aa3aa3b37c
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
releasenotes/notes/pin-urllib3-fc1f58ff739d8519.yaml [new file with mode: 0644]
requirements.txt

diff --git a/releasenotes/notes/pin-urllib3-fc1f58ff739d8519.yaml b/releasenotes/notes/pin-urllib3-fc1f58ff739d8519.yaml
new file mode 100644 (file)
index 0000000..fd8f069
--- /dev/null
@@ -0,0 +1,18 @@
+---
+fixes:
+  - |
+    Pin urllib3 to <2.0.0
+
+    The latest version of module breaks compatibility
+    with python-{jenkins,openstacksdk}.
+
+    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>`
index 030df73..66b9dde 100644 (file)
@@ -42,7 +42,7 @@ soupsieve
 tabulate
 toml
 tqdm
-urllib3
+urllib3<2.0.0
 websocket-client
 wrapt
 xdg