Fix gate by bumping tox version and removing ryu

Gating jobs started to fail with latest pyproject-api (1.6.1) release.
This release would need latest tox (4.11.0) to not fail, but we are
pinning tox via pinning virtualenv in tox.ini.
To resolve this we have to remove the virtualenv pinning, which was a
"temporary" hack to avoid py3*-check-uc jobs to break. This job is
failing because of ryu package, which is unmaintained and projects
started to use os_ken instead, which "is a fork of the Ryu library
tailored for OpenStack Neutron" [1]. Hence, this patch removes ryu
from requirements files to eliminate the need of pinning virtualenv.

[1] https://opendev.org/openstack/os-ken

Change-Id: I23ba892e6dd7f2566e5af6626c072c2dcc5a4382
This commit is contained in:
Elod Illes 2023-08-31 16:57:26 +02:00
parent 0341312176
commit b3ccca8516
3 changed files with 1 additions and 7 deletions

View File

@ -318,7 +318,6 @@ Routes # MIT
rtslib-fb # Apache-2.0
rst2txt # BSD
ruamel.yaml # MIT
ryu # Apache-2.0
semantic-version # BSD
# https://github.com/harlowja/fasteners/issues/36
fasteners!=0.15,!=0.16 # Apache-2.0

View File

@ -1,11 +1,7 @@
[tox]
minversion = 3.2.0
minversion = 4.11.0
envlist = validate,py3,pep8,pip-install
ignore_basepython_conflict=true
# NOTE(elod.illes): with latest virtualenv (and setuptools bundled in
# it) py3*-check-uc jobs started to fail as pkg_resources' __getattr__
# breaks on packages metadata
requires = virtualenv<20.18
[testenv]
basepython = python3

View File

@ -18,7 +18,6 @@ XStatic-Angular-Bootstrap===2.5.0.0
WebOb===1.8.7
sphinxcontrib-actdiag===3.0.0
pecan===1.4.2
ryu===4.34
os-api-ref===2.3.0
python-ldap===3.4.3
oslo.concurrency===5.2.0