Skip to content

Commit 134e8a8

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: I53ae237d0da4195f974ac3fac3ffe0b713d773ce
1 parent b7fe7d8 commit 134e8a8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tox.ini

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ passenv =
1414

1515
basepython = python3
1616
#usedevelop = True
17-
setenv = VIRTUAL_ENV={envdir}
1817
deps =
1918
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
2019
-r{toxinidir}/doc/requirements.txt
@@ -30,7 +29,6 @@ commands = sphinx-build -W -b html doc/source doc/build/html
3029

3130
[testenv:fast-specs]
3231
description = Build only specs that have changed since last commit
33-
envdir = {toxworkdir}/docs
3432
commands = bash tools/fast-specs.sh
3533

3634
[testenv:pep8]
@@ -51,28 +49,24 @@ exclude = .venv,.git,.tox,doc,.eggs
5149
# fails if we don't have it.
5250
deps = launchpadlib
5351
simplejson
54-
envdir={toxworkdir}/launchpadlib
5552
commands =
5653
python {toxinidir}/tools/move_implemented_specs.py {posargs}
5754

5855
[testenv:count-blueprints]
5956
deps = {[testenv:move-implemented-specs]deps}
60-
envdir={toxworkdir}/launchpadlib
6157
commands =
6258
python {toxinidir}/tools/count_blueprints.py {posargs}
6359

6460
[testenv:move-spec]
6561
# Usage:
6662
# tox -e move-spec -- [--dry-run] [--verbose] path/to/spec.rst path/to/destdir
6763
deps=
68-
envdir={toxworkdir}/nodeps
6964
commands =
7065
python {toxinidir}/tools/move_spec.py {posargs}
7166

7267
[testenv:abandon-spec]
7368
# Usage:
7469
# tox -e abandon-spec -- [--dry-run] [--verbose] path/to/obsolete-spec.rst
7570
deps=
76-
envdir={toxworkdir}/nodeps
7771
commands =
7872
python {toxinidir}/tools/abandon_spec.py {posargs}

0 commit comments

Comments
 (0)