Merge "Bump tox minversion to 3.18.0"

This commit is contained in:
Zuul 2022-09-12 14:15:01 +00:00 committed by Gerrit Code Review
commit 5486b8af92
1 changed files with 6 additions and 6 deletions

12
tox.ini
View File

@ -1,5 +1,5 @@
[tox]
minversion = 3.1
minversion = 3.18.0
envlist = pep8
skipsdist = True
ignore_basepython_conflict = True
@ -32,7 +32,7 @@ commands = {posargs}
setenv =
{[testenv]setenv}
PYTHON=coverage run --source octavia_tempest_plugin --parallel-mode
whitelist_externals =
allowlist_externals =
find
commands =
find octavia_tempest_plugin -type f -name "*.pyc" -delete
@ -47,14 +47,14 @@ deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/doc/requirements.txt
whitelist_externals = rm
allowlist_externals = rm
commands =
rm -rf doc/build
sphinx-build -W -b html doc/source doc/build/html
[testenv:pdf-docs]
deps = {[testenv:docs]deps}
whitelist_externals =
allowlist_externals =
make
rm
commands =
@ -104,7 +104,7 @@ paths =
./octavia_tempest_plugin/hacking
[testenv:genconfig]
whitelist_externals = mkdir
allowlist_externals = mkdir
commands =
mkdir -p etc
oslo-config-generator --output-file etc/octavia.tempest.conf.sample \
@ -113,6 +113,6 @@ commands =
[testenv:requirements]
deps =
-egit+https://opendev.org/openstack/requirements#egg=openstack-requirements
whitelist_externals = sh
allowlist_externals = sh
commands =
sh -c '{envdir}/src/openstack-requirements/playbooks/files/project-requirements-change.py --req {envdir}/src/openstack-requirements --local {toxinidir} master'