-
Notifications
You must be signed in to change notification settings - Fork 7
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
Injecting whitelist_externals break tox.ini files using newer allowlist_externals #45
Comments
@ssbarnea Do you wish to attempt to tackle this? |
I can try, I already had to do something like this for another plugin. In fact we can even neuter the feature and avoid altering the config to avoid it. |
@hroncok In fact bumping tox version is not enough because newer versions of tox did not remove the support for old whitelist_externals, only added a warning. LOTS of project did not act on these for various reasons. The only workaround for this is to detect which one is used in current file. Have a look at another plugin where I had to do something similar: https://github.com/tox-dev/tox-ansible/blob/a26989e4144933d323f8bf443326b73bf710c3c6/src/tox_ansible/tox_helper.py#L144 In general I am ok to bump deps to avoid adding extra complexity but that one is more difficult. |
The line at
tox-current-env/src/tox_current_env/hooks.py
Line 75 in 60d4e23
allowlist_externals
by causing something like:The text was updated successfully, but these errors were encountered: