Change minversion of tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to replace whitelist_externals with allowlist_externals option. https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Signed-off-by: Takashi Natsume <takanattie@gmail.com> Change-Id: If304d7c277850470448ca9bcd0f0bfd250ec001d
This commit is contained in:
parent
2980a962a0
commit
ab0895fdf4
10
tox.ini
10
tox.ini
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user