-
Notifications
You must be signed in to change notification settings - Fork 370
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
mamba resolves an environment while conda throws a conflict #559
Comments
This may actually be a conda bug! This fails:
but this works:
|
Ah, pytorch still uses the broken conda track features, which also makes it slightly incompatible with mamba as we don't respect them. There is an open issue for that |
Are conda features deprecated? What should be used instead? |
Mutex packages. Please search the issue I posted more info there and on the pytorch issue I opened |
Could you please tell me which issue? btw I figured that the issue that I'm having here is again this #65 and I can reproduce without pytorch as well. |
Here is a simple command:
where conda fails but mamba works (mamba shouldn't resolve this environment). The problem is both channels have
|
And I have the latest version of mamba and libsolv installed:
|
I am removing the x264 packages from our channel index in https://gitlab.idiap.ch/bob/bob.devtools/-/merge_requests/177 so you might not be able to reproduce this. Please feel free to copy a x264 tarball from our channel to a temporary channel to be able to reproduce this. |
Actually come to think about it, I was the one to originally propose the idea :D |
👍 conda history! So the issue is that libsolv is selecting a (strictly) forbidden package when the package from the allowed pool conflicts? |
Yes, that's the issue. |
To clarify the issue at hand here is that mamba reaches into lower-priority channels when it finds conflicts in higher prio channels. Basically, I think we can reproduce this issue with the following setup: Channel A:
Channel B:
Now if we put channel A and B with strict priority, and then request |
Thanks, this should now be fixed on master by properly black listing packages from a lower-prio repo. |
I am running this command:
and conda cannot resolve this environment.
However, mamba can resolve this which is weird.
Usually I use mamba to figure out the source of conflicts but I cannot use mamba to tell you what is wrong this time because mamba seems to resolve this environment! What could be the issue here?
The text was updated successfully, but these errors were encountered: