From 3d23bfdc81be683b9c6d9d3e8e1e6c0c51bf1317 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 2 Feb 2024 23:43:25 +0900 Subject: [PATCH] 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 --- tox.ini | 2 -- 1 file changed, 2 deletions(-) diff --git a/tox.ini b/tox.ini index a089625f..e1b30b6e 100644 --- a/tox.ini +++ b/tox.ini @@ -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]