Skip to content

envs: move conda (using mamba) to micromamba

Leon Riesebos requested to merge feature/micromamba into master

conda has always been broken to start with, but we need that support. mamba has been serving us a bit better (solving environments in <10 minutes instead of conda not solving them at all), but is by far still the slowest. on top, there have been some complications recently with dynamically linked libraries missing in our docker image, which is why we have the apt commands.

recently I ran into micromamba, which is statically linked and has its own docker image. it is very performant, see this pipeline:

  • micromamba: 1:11
  • mamba: can't solve? 3:39 in the previous pipeline
  • nix: 1:33 (but with mypy and coverage)

for a trap-dac-utils, this seems to work. not sure if it works on more complex environments, but it looks very promising. maybe we merge it, see if it breaks anything, and fix or revert if we run into issues.

Edited by Leon Riesebos

Merge request reports