From 7ac84e9e7dc4458b45d8f7e19012f9800d12001f Mon Sep 17 00:00:00 2001 From: Chi Wai Chan Date: Thu, 9 Jan 2025 12:51:34 +0800 Subject: [PATCH] Pin urllib3 to support running on ubuntu@20.04 --- 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