Skip to content

Commit c66b991

Browse files
committed
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
1 parent 20506ef commit c66b991

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.zuul.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
tox_envlist: functional-py39
3939

4040
- project:
41+
vars:
42+
ensure_tox_version: '<4'
4143
templates:
4244
- check-requirements
4345
- lib-forward-testing-python3

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
distribute = False
33
envlist = py3,pep8
44
minversion = 3.18.0
5+
requires = tox<4
56
skipsdist = True
67
# this allows tox to infer the base python from the environment name
78
# and override any basepython configured in this file

0 commit comments

Comments
 (0)