Skip to content

Commit e3799da

Browse files
committed
[stable-only] Pin tox <4
Continue to use tox 3 in the stable branches. Two changes: - .zuul.yaml: set the ensure_tox_version to use <4, which will tell zuul to install tox<4 if it's not present - tox.ini: set requires=tox<4 so that if tox has been installed already, our tox-based jobs will use tox 3 to run the tests Change-Id: Ica4c0a1d4f861e528ce8995766e82541dc710e0f (cherry picked from commit 22a3169)
1 parent becf651 commit e3799da

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)