Fix zuul failures for setuptools and pbr

A New version of setuptools was released July 14 2023
which does not work with the pbr version for this branch.

The fix is based on
https://review.opendev.org/c/openstack/ceilometer/+/888711

The 'requires' tag in tox was added in 3.2
setuptools is capped in tox.ini
tox is also capped.

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I737885d2e6e2242e8fcb121e87611fd86d43a9db
This commit is contained in:
Al Bailey 2023-07-17 19:17:08 +00:00
parent 602ca46e94
commit 8d5c5bd6ce
1 changed files with 7 additions and 1 deletions

View File

@ -1,8 +1,14 @@
[tox]
envlist = linters,pylint
minversion = 2.3
minversion = 3.2
skipsdist = True
stxdir = {toxinidir}/..
# Cap setuptools via virtualenv to prevent compatibility issue with pb5 5.5.0
# Tox is also needed to be constrained
requires =
virtualenv<20.24.0
tox<4
[testenv]
install_command = pip install -U \