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.
https://github.com/tox-dev/tox/issues/425#issuecomment-1011944293

Change-Id: I8b4f588bfc38aa078bca243ee2ef38f84a92f62d
This commit is contained in:
Takashi Kajinami 2024-02-02 23:45:51 +09:00
parent 3d49da3ce6
commit 925048f471
1 changed files with 0 additions and 1 deletions

View File

@ -72,7 +72,6 @@ commands =
setenv = PYTHONHASHSEED=0
[testenv:pdf-docs]
envdir = {toxworkdir}/docs
usedevelop = {[testenv:docs]usedevelop}
deps = {[testenv:docs]deps}
allowlist_externals =