freeze with strict channel priority

avoids pulling in newer releases from defaults

this is conda's default behavior, but not mamba's
pull/1017/head
Min RK 2021-02-22 13:22:56 +01:00
rodzic 246d99c2a5
commit 907c6f3ce5
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -77,6 +77,7 @@ def freeze(env_file, frozen_file):
"; ".join(
[
"set -ex",
"conda config --set channel_priority strict",
"conda config --add channels conda-forge",
f"mamba install -yq -S mamba={MAMBA_VERSION}"
if MAMBA_VERSION