Use lockfiles for conda
This commit is contained in:
4
.github/scripts/install-conda.sh
vendored
4
.github/scripts/install-conda.sh
vendored
@@ -159,6 +159,10 @@ else
|
||||
# conda-libmamba-solver is a special case and must always be installed into the base environment
|
||||
# see https://www.anaconda.com/blog/a-faster-conda-for-a-growing-community
|
||||
$SUDO "$CONDA_EXE" install $DRY_RUN_OPTION -y -n base conda-libmamba-solver
|
||||
|
||||
# conda-lock is a special case and must always be installed into the base environment
|
||||
$SUDO "$CONDA_EXE" install $DRY_RUN_OPTION -y -n base conda-lock
|
||||
|
||||
# Use the fast solver by default
|
||||
"${DRY_RUN_ECHO[@]}" $SUDO "$CONDA_EXE" config --system --set experimental_solver libmamba
|
||||
|
||||
|
||||
Reference in New Issue
Block a user