From e6ba9ce05496c287194eb3a11add63d4f495db8f Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 2 Feb 2024 23:53:35 +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: I1eae8dd5c3d2f4cc40ff8276677c3a90750ac0bc --- tox.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/tox.ini b/tox.ini index 174bba98f4..d3c31546b2 100644 --- a/tox.ini +++ b/tox.ini @@ -99,7 +99,6 @@ commands = commands = bandit -r trove -n5 -x tests [testenv:bandit-baseline] -envdir = {toxworkdir}/bandit commands = bandit-baseline -r trove -n5 -x tests -ii -ll [testenv:genconfig]