Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Use mamba instead of conda for most builds #266

Merged
merged 1 commit into from
Mar 30, 2019

Conversation

chrisburr
Copy link
Member

Mamba is a prototype replacement for the conda environment solver, it can solve any environment in ~2 seconds instead of the minutes it takes conda. You can read more about it here.

Mamba an alpha and still has a couple of issues that cause it do behave differently to conda. I think it should be stable enough here with the extra constraints I've added and it makes the testing a lot faster but I understand if don't want to merge this.

@jpivarski
Copy link
Member

From my web searches, it does seem like the SAT solver is a common pain point. Talking with Jonathan at HOW, I learned what it's doing and why it's so resource-heavy. There are certainly situations where I'd rather have a working set of versions rather than the absolute best working set of versions.

I'm surprised, though, that this is a separate project and not a new option in conda. Maybe they'll get merged and it will be someday.

It could be okay if this tool gets a different set of packages than conda would. But for testing, we need it to always give the same set. And of course, it should also be a correct solution to the constraints.

@jpivarski
Copy link
Member

This works, and I can't think of what else needs to be checked to be sure it's safe. We'll use mamba until this feature becomes part of conda because it helps the build times so much.

@jpivarski jpivarski merged commit fc689bd into scikit-hep:master Mar 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants