Merge "Update min version of tox"

This commit is contained in:
Zuul 2021-03-04 07:08:02 +00:00 committed by Gerrit Code Review
commit 08b4633514
1 changed files with 4 additions and 6 deletions

10
tox.ini
View File

@ -1,6 +1,6 @@
[tox]
envlist = py39,py38,py36,pep8,docs
minversion = 3.1.1
minversion = 3.18.0
skipsdist = True
ignore_basepython_conflict = True
@ -18,9 +18,7 @@ setenv = VIRTUAL_ENV={envdir}
TOX_CONSTRAINTS_FILE={toxinidir}/upper-constraints.txt
passenv = TOX_CONSTRAINTS_FILE
usedevelop = True
whitelist_externals = rm
install_command =
pip install -U {opts} {packages}
allowlist_externals = rm
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
@ -82,7 +80,7 @@ commands =
flake8
doc8 -e .rst doc/source/ CONTRIBUTING.rst HACKING.rst README.rst TESTING.rst
tacker-db-manage check_migration
whitelist_externals = bash
allowlist_externals = bash
[testenv:i18n]
commands = python ./tools/check_i18n.py ./tacker
@ -99,7 +97,7 @@ deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -rf api-ref/build
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
whitelist_externals = rm
allowlist_externals = rm
[testenv:releasenotes]
deps = -r{toxinidir}/doc/requirements.txt