-
Notifications
You must be signed in to change notification settings - Fork 25
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
CLS injects channels from installed packages #411
Comments
Introduced in #52 as a workaround for conda/conda#11790, supported by source code comments in |
A number of experienced conda users have reported to me that they are surprised by the work-around and indicated that |
The PR discussion contains the rationale: very loud warnings alarmed the user otherwise. The conda classic code contained comments suggesting this behaviour should be implemented, too. The env var is there because so far we don't have a way to configure per-plugin settings (but this is in the making). This is documented in the documentation, a pinned issue, and this one. That said we can flip this back with the (upcoming) libmamba v2, I think. We have more control over the solver. |
As a user, I would be astonished if
Historically, the :: syntax has not conveyed "add this channel to the default places to search", and that's certainly not what I would have intended to happen. Can't the warning messages be addressed more directly? Seems like that should be a special thing to catch ("oh, don't warn about this one, because it's from another channel that we don't have repodata for (or whose repodata is kept separate from the rest to avoid using it in solves)"). |
Checklist
What is the idea?
Libmamba changes the default behavior of what channels are used for solves by appended the installed package's channels to the list of channels. So once a channel has been used to fetch a package, that channel will continue to be included in all future solves even if we no longer wish to use that channel.
We can return to classic's behavior by enabling
CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED
, see docs.I'm wondering how and why this feature was decided on in the first place and whether there is additional context that can be provided.
Why is this needed?
No response
What should happen?
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: