[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:
silvacarloss 2023-01-05 16:30:09 -03:00
parent 65d447b7b1
commit 7c34268339
2 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ envlist = py3,pep8
# env and ignore basepython inherited from [testenv] if we set
# ignore_basepython_conflict.
ignore_basepython_conflict = true
requires = tox<4
[testenv]
basepython = python3

View File

@ -1,4 +1,6 @@
- project:
vars:
ensure_tox_version: '<4'
templates:
- publish-openstack-docs-pti
- openstack-cover-jobs