From 6774e95ff1181ee19e08ae82f35e456a7f0bd746 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 1 Aug 2023 18:37:47 +0000 Subject: [PATCH] Pin importlib_resources<6 in mailman images A recent importlib_resources 6.0.0 release dropped a bunch of deprecated functionality, some of which mailman-core is relying on. In order to address the resulting ImportError, pin back to the last working version of that transitive dependency for now. Upstream bug https://gitlab.com/mailman/mailman/-/issues/1093 is tracking this. Change-Id: Ia280a1771a5d11badb4c65ccd4ce87270adff93c --- docker/mailman/core/requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/mailman/core/requirements.txt b/docker/mailman/core/requirements.txt index 650d1c8a5d..b844e1a397 100644 --- a/docker/mailman/core/requirements.txt +++ b/docker/mailman/core/requirements.txt @@ -3,3 +3,6 @@ # Dockerfile. mailman==3.3.7 mailman-hyperkitty==1.2.0 +# mailman/config/config.py "from importlib_resources import path" ImportError +# remove when https://gitlab.com/mailman/mailman/-/issues/1093 is solved +importlib_resources<6