-
-
Notifications
You must be signed in to change notification settings - Fork 535
tox4: infinite recursivity if any plugin is added to requires (regression) #2414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
IMHO, this is likely not caused by the plugins themselves and only by the presence of requires. What is likely happening is that when tox is called from within a virtualenv it will happen while the current directory is What we are likely to need is to ensure that once provisioned, we re-use it and not attempt to do it again, or at least ensure that we do not try to provision to wrong folder. |
Co-authored-by: Bernát Gábor <[email protected]> Fixes #2414
Calling
tox
with tox 4 will produce an infinite loop, something that is not happening with tox 3.I do need to call tox from within an environment as I am testing some integration with it as my tool does parse the output of
tox --showconfig
. That worked fine for tox 3 but seems to fail with tox 4.It seems that what is causing the loop is the
requires =
, as it puts tox into a loop of truing to provision itself:The text was updated successfully, but these errors were encountered: