We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc55f40 commit 0ad8c70Copy full SHA for 0ad8c70
1 file changed
ci-support.sh
@@ -419,9 +419,12 @@ install_conda_deps_inner()
419
CONDA_EXE_DIR=$CONDA_INSTALL_DIR/bin
420
fi
421
422
- # This is the default, but it was set to non-default on the Gitlab CIs, and they
423
- # 'remember' that. :/
424
- PATH="$CONDA_EXE_DIR:$PATH" with_echo conda config --set solver classic
+ # This is to blow away any non-default solver settings that the Gitlab CIs
+ # may remember.
+ cat > $HOME/.condarc <<EOF
425
+channels:
426
+ - conda-forge
427
+EOF
428
PATH="$CONDA_EXE_DIR:$PATH" with_echo conda update conda --yes --quiet
429
PATH="$CONDA_EXE_DIR:$PATH" with_echo conda update --all --yes --quiet
430
PATH="$CONDA_EXE_DIR:$PATH" with_echo conda env create --file "$CONDA_ENVIRONMENT" --name testing --quiet
0 commit comments