Skip to content

Commit ddbbd4c

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: Ibbd2be42a566374e86ad57fc6ae1202bae6d7d43
1 parent 518742a commit ddbbd4c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tox.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ commands =
4646
[testenv:docs]
4747
setenv = PYTHONHASHSEED=0
4848
sitepackages = False
49-
envdir = {toxworkdir}/venv
5049
deps =
5150
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
5251
-r{toxinidir}/requirements.txt
@@ -58,7 +57,6 @@ commands =
5857
allowlist_externals = make
5958
setenv = PYTHONHASHSEED=0
6059
sitepackages = False
61-
envdir = {toxworkdir}/venv
6260
deps = {[testenv:docs]deps}
6361
commands =
6462
sphinx-build -b latex doc/source doc/build/pdf

0 commit comments

Comments
 (0)