Pin Gnocchi 4.4.2 to Xena release

Instead of setting Gnocchi version through localrc configuration, it
is hardcoded in devstack settings. A particular stable release
of OpenStack is not expected to be tested with multiple Gnocchi
releases and therefore the version pinned in this release is not expected to change.

Pin "setuptools" to install a version lower than upper constraints[1].
This change comes after "tox-lower-constraints" job install the latest
release of setuptools and fails due to missing functions.

Pin "python-subunit" to install a compatible release. As of now
"tox-lower-constraints" install the latest release which reports error
"module 'subunit' has no attribute 'test_results'"

[1] https://github.com/openstack/requirements/blob/stable/xena/upper-constraints.txt

Depends-On: https://review.opendev.org/c/openstack/devstack/+/896215

Closes-Bug: #2035074
Change-Id: I60e9716555999f19d360b8219b9539c88622e07f
(cherry picked from commit f47af941f7)
(cherry picked from commit 97618a74b9be4492e36659e2c378b97b1de48199)
(cherry picked from commit 754e528052)
This commit is contained in:
Yadnesh Kulkarni 2023-09-11 15:29:15 +05:30 committed by Yadnesh Kulkarni
parent 41bd797db5
commit 1de539c47f
3 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,7 @@ fi
# Gnocchi default archive_policy for Ceilometer
# TODO(sileht): when Gnocchi 4.0 is out use the tarball instead
GNOCCHI_GIT_PATH=${GNOCCHI_GIT_PATH:-git+https://github.com/gnocchixyz/gnocchi.git@4.4.1#egg=gnocchi}
GNOCCHI_GIT_PATH=${GNOCCHI_GIT_PATH:-git+https://github.com/gnocchixyz/gnocchi.git@4.4.2#egg=gnocchi}
if [ -n "$GNOCCHI_ARCHIVE_POLICY_TEMPEST" ]; then
GNOCCHI_ARCHIVE_POLICY=$GNOCCHI_ARCHIVE_POLICY_TEMPEST
else

View File

@ -34,6 +34,7 @@ python-neutronclient==6.7.0
python-novaclient==9.1.0
python-swiftclient==3.2.0
python-zaqarclient==1.3.0
python-subunit==1.4.0
PyYAML==5.1
requests==2.14.2
requests-aws==0.1.4

View File

@ -15,3 +15,4 @@ gabbi>=1.30.0 # Apache-2.0
requests-aws>=0.1.4 # BSD License (3 clause)
stestr>=2.0.0 # Apache-2.0
testresources>=2.0.1 # Apache-2.0
setuptools<=57.4.0 # Apache-2.0