From c6bd7263db37615c770ca57e52f080cf6f9b6adb Mon Sep 17 00:00:00 2001 From: Alex Kavanagh Date: Mon, 3 Oct 2022 10:42:44 +0100 Subject: [PATCH] Pin importlib-metadata, -resources for py37 importlib-metadata 5.0.0 breaks compatibility with setuptools that is pinned in the train track for bionic; thus this pins allows the py37 tests to pass. Change-Id: Ic476c24329d41e82de76eacbaf34ef0cba573b48 --- test-requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test-requirements.txt b/test-requirements.txt index 43ead9ef..f1915fdd 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -28,6 +28,8 @@ cliff<3.0.0 # python 3.5 yet (e.g. "ModuleNotFoundError") importlib-metadata<3.0.0; python_version < '3.6' importlib-resources<3.0.0; python_version < '3.6' +importlib-metadata<5.0.0; python_version < '3.8' +importlib-resources<5.8.0; python_version < '3.8' # Some Zuul nodes sometimes pull newer versions of these dependencies which # dropped support for python 3.5: