Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Changed minversion in tox to 3.18.0
Browse files Browse the repository at this point in the history
The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: I5792c86745b875d074f670d92fe78a84a907bd74
  • Loading branch information
wu.shiming committed Sep 18, 2021
1 parent 9787c2e commit 3cb006d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
minversion = 2.0
minversion = 3.18.0
skipsdist = True
envlist = pep8,py,tht
requires =
Expand All @@ -21,7 +21,7 @@ setenv =
commands = {posargs}

[testenv:pep8]
whitelist_externals =
allowlist_externals =
bash
commands =
python ./tools/process-templates.py
Expand Down Expand Up @@ -67,7 +67,7 @@ commands = python ./tools/process-templates.py -c
[testenv:releasenotes]
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
whitelist_externals =
allowlist_externals =
bash
commands = bash -c tools/releasenotes_tox.sh

Expand All @@ -80,7 +80,7 @@ commands =
python ./tripleo_heat_templates/environment_generator.py sample-env-generator/

[testenv:genroledata]
whitelist_externals =
allowlist_externals =
bash
commands =
bash -c tools/roles-data-generate-samples.sh
Expand All @@ -103,7 +103,7 @@ passenv =
ANSIBLE_*
deps =
-r{toxinidir}/test-ansible-requirements.txt
whitelist_externals =
allowlist_externals =
bash
commands_pre =
pip install -q bindep
Expand Down

0 comments on commit 3cb006d

Please sign in to comment.