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: I39767340ba7fb362628887fd97ca8ecd62318007
This commit is contained in:
Takashi Kajinami 2024-02-02 23:52:18 +09:00
parent 49b2317125
commit 7d28530b51

View File

@ -55,7 +55,6 @@ commands = sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/ht
[testenv:pdf-docs]
deps = -r{toxinidir}/doc/requirements.txt
envdir = {toxworkdir}/docs
allowlist_externals =
make
commands =