From 5918866fafc16f7ccf0bff4ac4c58c073a44bda8 Mon Sep 17 00:00:00 2001 From: Fabian Fulga Date: Thu, 19 Feb 2026 20:51:53 +0200 Subject: [PATCH] Fix testools errors testtools v2.8.3 removed different components that stestr requires on the current latest version deployed. On the main branch of stestr a PR to fix this was already merged, thus we can directly use the stestr from the main branch (to be changed once a release is done to take into account those changes) Updates the setuptools version to fix the following error: No module named 'pkg_resources' --- requirements.txt | 1 + test-requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 928d4b6ff..003ad0c95 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +setuptools>=65.0.0,<82 # pkg_resources removed in 82; required by sqlalchemy-migrate eventlet keystoneauth1 keystonemiddleware diff --git a/test-requirements.txt b/test-requirements.txt index fea111a77..32d0a87c4 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,9 +2,9 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. +setuptools>=65.0.0,<82 # pkg_resources removed in 82; required by sqlalchemy-migrate hacking>=6.0.1,<=6.0.1 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 ddt>=1.2.1 # MIT oslotest>=3.8.0 # Apache-2.0 -stestr>=2.0.0 # Apache-2.0 - +stestr>=4.2.1 # Apache-2.0