Zuul: 'stevedore' compatibility with setuptools/packaging

Setuptools >71 is installed in the zuul env as a setup
before running the test jobs. Recent versions of setuptools
have packaging >22 as a requirement. This constraint
was updated in [1]. Stevedore <= 4.8.0 is incompatible
with these updates [2].

In this commit, changed stevedore upper version constraint
in zuul tests to 5.0.0, matching [3].

Test Plan:
pass - Mock review to update repo [4], where the constraint
       was causing stx-software-tox-py39 zuul job to fail
pass - On the config repo, ran sysinv-tox-py39 zuul job
       locally, since stevedore is cited in
       sysinv/sysinv/sysinv/sysinv/common/utils.py

Refs:
[1] Updated 'packaging' python module version constraint
    https://review.opendev.org/c/starlingx/root/+/929167
[2] Forum post citing error message from the bug report
    https://github.com/python/importlib_metadata/issues/348
[3] STX Openstack stevedore constraint is set to 5.0.0
    0f050b28f2
[4] Mock review to the update repo to test change
    https://review.opendev.org/c/starlingx/update/+/929287

Closes-Bug: 2080674

Change-Id: I47ec888e8e56bcbbe547d323add9351bc540a89c
Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
This commit is contained in:
Leonardo Fagundes Luz Serrano 2024-09-13 13:43:13 -03:00
parent c3d354a9da
commit 5af6de7a95

View File

@ -176,7 +176,9 @@ SQLAlchemy===1.2.0 # Temporary workaround for stx/config/sysinv unit tests
# https://bugs.launchpad.net/starlingx/+bug/1940281
sqlparse===0.4.1
statsd===3.3.0
stevedore===3.2.2
#stevedore===3.2.2 # on box
stevedore===5.0.0 # Compatibility with packaging 22 and setuptools 71
# https://github.com/python/importlib_metadata/issues/348
python-swiftclient===3.10.1
Tempita===0.5.2
tenacity===6.2.0