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: I5db68dc1ca25626d7f50c2fa9319896721c08d3d
This commit is contained in:
Takashi Kajinami 2024-02-02 23:43:25 +09:00
parent 3b4e09f8cd
commit 3d23bfdc81
1 changed files with 0 additions and 2 deletions

View File

@ -61,7 +61,6 @@ allowlist_externals = rm
[testenv:pdf-docs]
deps = {[testenv:docs]deps}
envdir = {toxworkdir}/docs
allowlist_externals =
rm
make
@ -72,7 +71,6 @@ commands =
[testenv:releasenotes]
deps = {[testenv:docs]deps}
envdir = {toxworkdir}/docs
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:functional]