Skip to content

Commit 4f375f8

Browse files
committed
tox: Drop envdir
tox now always recreates an env although the env is shared using envdir options. ~~~ $ tox -e genpolicy genpolicy: recreate env because env type changed from {'name': 'genconfig', 'type': 'VirtualEnvRunner'} to {'name': 'genpolicy', 'type': 'VirtualEnvRunner'} ~~~ According to the maintainer of tox, this functionality is not intended to be supported. tox-dev/tox#425 (comment) Change-Id: I3155eb73edb09184a29522708ef2f676bd06fb7f
1 parent 9db6f56 commit 4f375f8

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

tox.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@ usedevelop = True
1010
install_command = pip install -U {opts} {packages}
1111
setenv =
1212
DEVSTACK_VENV={env:DEVSTACK_VENV}
13-
VIRTUAL_ENV={envdir}
1413
deps = -r{toxinidir}/requirements.txt
1514
-r{toxinidir}/test-requirements.txt
1615
commands = stestr run {posargs}
1716

1817
[testenv:cover]
1918
setenv =
20-
VIRTUAL_ENV={envdir}
2119
PYTHON=coverage run --source cloudkittyclient --parallel-mode
2220
commands =
2321
stestr run {posargs}
@@ -80,7 +78,6 @@ deps =
8078
commands = sphinx-build --keep-going -b html doc/source doc/build/html
8179

8280
[testenv:pdf-docs]
83-
envdir = {toxworkdir}/docs
8481
deps = {[testenv:docs]deps}
8582
allowlist_externals =
8683
make

0 commit comments

Comments
 (0)