Continue using tox 3

Use the classic cinderclient tox.ini that has worked so well in the
past with tox 3; only change is to add the tox<4 requires statement.
Also adjust .zuul.yaml to express our preference for tox<4 in the
case that zuul has to install tox.

Change-Id: Ib1f55f9431033ad043507c6f751ee9bfe57d5cbb
This commit is contained in:
Brian Rosmaita 2023-01-18 11:25:08 -05:00
parent 20506ef3a8
commit c66b9911b8
2 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,8 @@
tox_envlist: functional-py39
- project:
vars:
ensure_tox_version: '<4'
templates:
- check-requirements
- lib-forward-testing-python3

View File

@ -2,6 +2,7 @@
distribute = False
envlist = py3,pep8
minversion = 3.18.0
requires = tox<4
skipsdist = True
# this allows tox to infer the base python from the environment name
# and override any basepython configured in this file