From 9407d284dd4f5e30726cb5fd0fc27a718a47ff6b Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Mon, 2 Oct 2023 14:38:42 +0200 Subject: [PATCH 1/2] Temporarily constrain conda and mamba --- conda/shared.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conda/shared.py b/conda/shared.py index dc2c37451f..dfa01f944e 100644 --- a/conda/shared.py +++ b/conda/shared.py @@ -181,7 +181,8 @@ def install_miniconda(conda_base, activate_base, logger): check_call(commands, logger=logger) commands = f'{activate_base} && ' \ - f'mamba update -y --all && ' \ + f'mamba install "conda>=4.14,<23.9.0a0" mamba=1.5.1 -y --all ' \ + f'&& ' \ f'mamba init' check_call(commands, logger=logger) From c4b45b925b569001c57c32ae2f12651a03d62d83 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Mon, 2 Oct 2023 14:44:45 +0200 Subject: [PATCH 2/2] Don't auto-update CI mambaforge --- .github/workflows/build_workflow.yml | 2 +- .github/workflows/docs_workflow.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_workflow.yml b/.github/workflows/build_workflow.yml index ecd3cd4be7..3f50544657 100644 --- a/.github/workflows/build_workflow.yml +++ b/.github/workflows/build_workflow.yml @@ -91,7 +91,7 @@ jobs: mamba-version: "*" channels: conda-forge,e3sm/label/compass,defaults channel-priority: strict - auto-update-conda: true + auto-update-conda: false python-version: ${{ matrix.python-version }} - if: ${{ steps.skip_check.outputs.should_skip != 'true' }} diff --git a/.github/workflows/docs_workflow.yml b/.github/workflows/docs_workflow.yml index a599f7cea8..69a1ea80ac 100644 --- a/.github/workflows/docs_workflow.yml +++ b/.github/workflows/docs_workflow.yml @@ -43,7 +43,7 @@ jobs: mamba-version: "*" channels: conda-forge,e3sm/label/compass,defaults channel-priority: strict - auto-update-conda: true + auto-update-conda: false python-version: ${{ matrix.python-version }} - if: ${{ steps.skip_check.outputs.should_skip != 'true' }}