Merge "Change minversion of tox to 3.18.0"

This commit is contained in:
Zuul 2021-06-03 12:40:59 +00:00 committed by Gerrit Code Review
commit 63d8788d0f
1 changed files with 5 additions and 5 deletions

10
tox.ini
View File

@ -1,6 +1,6 @@
[tox] [tox]
envlist = docs,py38,pep8 envlist = docs,py38,pep8
minversion = 3.2.0 minversion = 3.18.0
skipsdist = True skipsdist = True
ignore_basepython_conflict = True ignore_basepython_conflict = True
@ -18,7 +18,7 @@ deps =
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
hacking>=3.0.1,<3.1.0 # Apache-2.0 hacking>=3.0.1,<3.1.0 # Apache-2.0
whitelist_externals = sh allowlist_externals = sh
commands = commands =
{toxinidir}/tools/pip_install_src_modules.sh "{toxinidir}" {toxinidir}/tools/pip_install_src_modules.sh "{toxinidir}"
stestr run {posargs} stestr run {posargs}
@ -117,7 +117,7 @@ commands=
{[testenv:bashate]commands} {[testenv:bashate]commands}
{[testenv:bandit]commands} {[testenv:bandit]commands}
{[testenv:genpolicy]commands} {[testenv:genpolicy]commands}
whitelist_externals = allowlist_externals =
sh sh
bash bash
@ -149,7 +149,7 @@ commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pdf-docs] [testenv:pdf-docs]
envdir = {toxworkdir}/docs envdir = {toxworkdir}/docs
deps = {[testenv:docs]deps} deps = {[testenv:docs]deps}
whitelist_externals = allowlist_externals =
make make
commands = commands =
sphinx-build -W -b latex doc/source doc/build/pdf sphinx-build -W -b latex doc/source doc/build/pdf
@ -260,6 +260,6 @@ deps =
[testenv:requirements] [testenv:requirements]
deps = deps =
-egit+https://opendev.org/openstack/requirements#egg=openstack-requirements -egit+https://opendev.org/openstack/requirements#egg=openstack-requirements
whitelist_externals = sh allowlist_externals = sh
commands = commands =
sh -c '{envdir}/src/openstack-requirements/playbooks/files/project-requirements-change.py --req {envdir}/src/openstack-requirements --local {toxinidir} master' sh -c '{envdir}/src/openstack-requirements/playbooks/files/project-requirements-change.py --req {envdir}/src/openstack-requirements --local {toxinidir} master'