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 installmamba
instead ofconda
(and/or we can simply have it install usingmamba
if it detectsmamba
andconda
if it detectsconda
, since the installation commands are basically identical) -
.gitlab-ci.yml
— update to usemamba
(currently we're using an image withconda
already installed:image: ${DEVOPS_REGISTRY}usgs/conda:latest
so this will involve using amamba
image if one exists else requesting that one be created)
Ping @kallstadt & @ecollins