From 7ec5d54be31ee16e19602796c9d13e9e235f00ef Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Mon, 8 May 2023 13:28:34 +1000 Subject: [PATCH] Fix: pin urllib3<2.0.0 The latest version of module breaks compatibility with python-jenkins. Issue: RELENG-4715 Change-Id: If0d942696820b8c867b56735ca3036aa3aa3b37c Signed-off-by: Anil Belur --- releasenotes/notes/pin-urllib3-fc1f58ff739d8519.yaml | 18 ++++++++++++++++++ requirements.txt | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/pin-urllib3-fc1f58ff739d8519.yaml diff --git a/releasenotes/notes/pin-urllib3-fc1f58ff739d8519.yaml b/releasenotes/notes/pin-urllib3-fc1f58ff739d8519.yaml new file mode 100644 index 00000000..fd8f0692 --- /dev/null +++ b/releasenotes/notes/pin-urllib3-fc1f58ff739d8519.yaml @@ -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 , but it must be an int, float or None. + + Reference: + + `Launchpad#2018567 ` diff --git a/requirements.txt b/requirements.txt index 030df738..66b9dde9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -42,7 +42,7 @@ soupsieve tabulate toml tqdm -urllib3 +urllib3<2.0.0 websocket-client wrapt xdg -- 2.16.6