Skip to content

Commit ab703ff

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: Id7d7ebd5487fbd261433fa21bb86b8b3c2d6b9de
1 parent a70c569 commit ab703ff

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tox.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ ignore_basepython_conflict = True
77
[testenv]
88
basepython=python3
99
usedevelop = True
10-
setenv = VIRTUAL_ENV={envdir}
1110
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
1211
-r{toxinidir}/test-requirements.txt
1312
allowlist_externals = find
@@ -28,7 +27,6 @@ commands =
2827
sphinx-build -W --keep-going -b html doc/source doc/build/html
2928

3029
[testenv:pdf-docs]
31-
envdir = {toxworkdir}/docs
3230
deps = {[testenv:docs]deps}
3331
allowlist_externals =
3432
rm

0 commit comments

Comments
 (0)