freeze with strict channel priority
avoids pulling in newer releases from defaults
this is conda's default behavior, but not mamba's
@@ -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
