[stable-only] Pin tox version
Modify project.yaml file to use ensure_tox_version, which will force the host to install tox3. Tox.ini also needed to be modified to ensure that tox does not upgrade itself to a version >= 4. Change-Id: Ica5a18a376b4415096dbc916be89ba15ebd7a665
This commit is contained in:
committed by
Carlos Eduardo
parent
13c71fb51a
commit
725e4cc43d
1
tox.ini
1
tox.ini
@@ -6,6 +6,7 @@ envlist = py3,pep8
|
|||||||
# env and ignore basepython inherited from [testenv] if we set
|
# env and ignore basepython inherited from [testenv] if we set
|
||||||
# ignore_basepython_conflict.
|
# ignore_basepython_conflict.
|
||||||
ignore_basepython_conflict = true
|
ignore_basepython_conflict = true
|
||||||
|
requires = tox<4
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
- project:
|
- project:
|
||||||
|
vars:
|
||||||
|
ensure_tox_version: '<4'
|
||||||
templates:
|
templates:
|
||||||
- publish-openstack-docs-pti
|
- publish-openstack-docs-pti
|
||||||
- openstack-cover-jobs
|
- openstack-cover-jobs
|
||||||
|
|||||||
Reference in New Issue
Block a user