Use mamba instead of conda for environment
mamba is a much faster, drop-in replacement for conda. This is because its solver is implemented in C instead of Python. By using mamba we can expect local installs to go much faster, and we can also benefit from faster CI (Pipelines) run times. This will make us (the developers / users) happier, and will make new lsforce users — who are installing the code for the first time — happier, too.
To make this happen, we'd need to update the following files:
-
install.sh— have it installmambainstead ofconda(and/or we can simply have it install usingmambaif it detectsmambaandcondaif it detectsconda, since the installation commands are basically identical) -
.gitlab-ci.yml— update to usemamba(currently we're using an image withcondaalready installed:image: ${DEVOPS_REGISTRY}usgs/conda:latestso this will involve using amambaimage if one exists else requesting that one be created)
Ping @kallstadt & @ecollins