Skip to content
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 solver is ignored when using mamba env update #42

Closed
tadeu opened this issue Jun 13, 2019 · 3 comments
Closed

Mamba solver is ignored when using mamba env update #42

tadeu opened this issue Jun 13, 2019 · 3 comments

Comments

@tadeu
Copy link

tadeu commented Jun 13, 2019

First, I'd like to say that Mamba is an awesome initiative, I've tried mamba 0.0.7, and it worked very well with mamba install and mamba create, sometimes making the solver 15x faster, with no other apparent differences from the results of conda commands!

conda env update is an important feature, we depend on it to update our environments from environment.yml files, especially because of the --prune flag, that guarantees that the env is an exact match of the spec defined in environment.yml (removing extra packages). I've tried to use mamba env update, but it seems to have no effect in the performance this case (looks like it's using conda solver).

@wolfv
Copy link
Member

wolfv commented Jun 13, 2019

Hi @tadeu,

indeed, we haven't put in the work to make mamba env update work and it's falling back to conda for this command (also the --prune flag has not yet been taken care of). It will be a little bit of work ... we need to figure out what arguments to pass to libsolv to make it happen :)

@wolfv
Copy link
Member

wolfv commented Jun 9, 2020

I have just made a PR #327 that fixes this. Thanks @jaimergp for insisting :)

@wolfv wolfv closed this as completed Jun 9, 2020
@ahgraber
Copy link

Does #327 enable the --prune flag, or is #688 still a valid / outstanding request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants