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: Ifdc56a37529dfc77d7b96e5cdde9cfa7da8349be
This commit is contained in:
Takashi Kajinami 2025-02-11 13:32:48 +09:00
parent 95fab98d39
commit 413c619a3f

View File

@ -57,7 +57,6 @@ commands =
sphinx-build -a -E -W --keep-going -b html doc/source doc/build/html
[testenv:releasenotes]
envdir = {toxworkdir}/docs
deps = {[testenv:docs]deps}
commands =
sphinx-build -a -E -W --keep-going -b html releasenotes/source releasenotes/build/html