Fix tox4 error

tox.ini started failing with Tox4 which had some
incompatible changes. One of them is due to the
skipsdist = True.

This also adds setup-vault-env.sh to allowlist_externals, since it
fails otherwise.

Change-Id: If0ace2c2ef0915d9a4ffcba99d664ffe97621b12
This commit is contained in:
Grzegorz Grasza 2023-01-12 13:17:27 +01:00
parent 316db6cb53
commit fb6b880eaf

View File

@ -2,7 +2,6 @@
minversion = 3.18.0 minversion = 3.18.0
envlist = py3,pep8 envlist = py3,pep8
ignore_basepython_conflict = True ignore_basepython_conflict = True
skipsdist = True
[testenv] [testenv]
usedevelop = True usedevelop = True
@ -91,6 +90,8 @@ setenv =
OS_TEST_PATH=./castellan/tests/functional OS_TEST_PATH=./castellan/tests/functional
commands = commands =
{toxinidir}/tools/setup-vault-env.sh pifpaf -e VAULT_TEST run vault -- stestr run --concurrency=1 --slowest {posargs} {toxinidir}/tools/setup-vault-env.sh pifpaf -e VAULT_TEST run vault -- stestr run --concurrency=1 --slowest {posargs}
allowlist_externals =
{toxinidir}/tools/setup-vault-env.sh
[testenv:genconfig] [testenv:genconfig]
commands = commands =