[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: Ida6359ddebc59091f2f2dfc951950538793d0109
This commit is contained in:
parent
ef4982cf64
commit
a7dfaf4243
|
@ -1,4 +1,6 @@
|
||||||
- project:
|
- project:
|
||||||
|
vars:
|
||||||
|
ensure_tox_version: '<4'
|
||||||
templates:
|
templates:
|
||||||
- check-requirements
|
- check-requirements
|
||||||
- lib-forward-testing-python3
|
- lib-forward-testing-python3
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -1,5 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
minversion = 3.18.0
|
minversion = 3.18.0
|
||||||
|
requires = tox<4
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
# python runtimes: https://governance.openstack.org/tc/reference/runtimes/ussuri.html
|
# python runtimes: https://governance.openstack.org/tc/reference/runtimes/ussuri.html
|
||||||
envlist = py3,pep8
|
envlist = py3,pep8
|
||||||
|
|
Loading…
Reference in New Issue