From 0588d1bc96ebfc632ff3c1a0f30574320875abc7 Mon Sep 17 00:00:00 2001 From: Ray Chan Date: Thu, 9 Jan 2025 16:59:50 +0800 Subject: [PATCH] Pin `urllib3` to support running on ubuntu@20.04 (#385) --- requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/requirements.txt b/requirements.txt index ae796b14..b4622435 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,5 +3,8 @@ distro ops >= 2.2.0 jinja2 redfish # requests is included in this +# workaround for https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#230-2024-12-22, because +# urllib3 build-on ubuntu@22.04 will not run-on ubuntu@20.04 (python 3.8.10) +urllib3 < 2.3.0 # indirect dependency from redfish -> requests -> urllib3 pydantic < 2 git+https://github.com/canonical/prometheus-hardware-exporter.git