-
Notifications
You must be signed in to change notification settings - Fork 39
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
Provide a way to select whether to use tox-conda on an env by env basis #36
Comments
Related : |
@gaborbernat will tox 4 support this kind of feature? (not limited to conda only) |
Yes 👍 see https://tox.readthedocs.io/en/rewrite/config.html#runner, which defaults to |
Hi guys, is there any example on how to use the I had a look on the docs, but I couldn't figure out what the value assigned to (e.g.: is |
It's an entry point 🤞 |
It's currently possible to opt in of using tox-conda on a project by project basis, by specifying tox-conda in the
requires
section under[tox]
. However, I would like to be able to control whether conda is used on an environment by environment basis, since I want to make sure that things work properly both with system Python and conda Python.I think the cleanest way to do this might be to have a way to opt out of auto conda environment with a flag inside the
[tox]
section:and then allow environments to specify:
I'm happy to investigate how to code this up as a patch, but didn't want to waste time on it unless people think it would be a good idea to allow this? Just to be clear, the defaults would be as they are now, this would just be an opt-in mechanism to allow finer grained control. It would also allow projects to opt out of global enabling if a user has tox-conda installed but a project wants to guarantee conda is not used.
The text was updated successfully, but these errors were encountered: