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
This commit is contained in:
Alex Kavanagh
2022-10-03 10:42:44 +01:00
parent 9aa285d808
commit c6bd7263db

View File

@@ -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: