From ec59bc4968ccfa832f50f06274c6afa1a3a85bbb Mon Sep 17 00:00:00 2001 From: Nikita Grigorian Date: Mon, 9 Mar 2026 14:34:16 -0700 Subject: [PATCH] install conda-build into base environment rather than build conda recommends that conda-build is installed in the base environment due to plugin compatibility. See conda docs --- .github/workflows/conda-package.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index babf90749b..c7faabcf2b 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -104,12 +104,11 @@ jobs: miniforge-version: latest activate-environment: build channels: conda-forge - conda-remove-defaults: true python-version: ${{ matrix.python }} - name: Install conda build run: | - conda install -y conda-build + conda install -n base -y conda-build conda list -n base - name: Cache conda packages @@ -278,7 +277,6 @@ jobs: with: miniforge-version: latest channels: conda-forge - conda-remove-defaults: true activate-environment: ${{ env.TEST_ENV_NAME }} python-version: ${{ matrix.python }} @@ -486,7 +484,6 @@ jobs: with: miniforge-version: latest channels: conda-forge - conda-remove-defaults: true activate-environment: upload - name: Install anaconda-client @@ -830,7 +827,6 @@ jobs: run-post: false channel-priority: "disabled" channels: conda-forge - conda-remove-defaults: true python-version: '3.11' - name: Install anaconda-client