From 413c619a3fe4b22dea0b24d80c06833ef5060e12 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 11 Feb 2025 13:32:48 +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: Ifdc56a37529dfc77d7b96e5cdde9cfa7da8349be --- tox.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/tox.ini b/tox.ini index 20ac70d..5b0ff7c 100644 --- a/tox.ini +++ b/tox.ini @@ -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