From 95b3fe9007357a143f2cbbdb855ad45d806ac4b4 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Thu, 12 Jan 2023 11:08:24 +0100 Subject: [PATCH] Fix updating base env in Azure tests --- azure-pipelines.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e30fa1b7a..815b61c76 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -37,7 +37,11 @@ jobs: eval "$(conda shell.bash hook)" conda config --add channels conda-forge conda config --set channel_priority strict - conda install --yes "conda!=22.11.0" conda-build mamba boa + conda install --yes "conda>=22.11.1" mamba + conda install --yes mamba + # workaround based on recent failures + rm /usr/share/miniconda/pkgs/cache/*.json + mamba install --yes conda-build boa displayName: Update conda base environment - bash: | @@ -158,7 +162,11 @@ jobs: eval "$(conda shell.bash hook)" conda config --add channels conda-forge conda config --set channel_priority strict - conda install --yes python=$PYTHON_VERSION "conda!=22.11.0" conda-build mamba boa + conda install --yes "conda>=22.11.1" mamba + conda install --yes mamba + # workaround based on recent failures + rm /usr/share/miniconda/pkgs/cache/*.json + mamba install --yes conda-build boa displayName: Update conda base environment - bash: | @@ -213,7 +221,9 @@ jobs: eval "$(conda shell.bash hook)" conda config --add channels conda-forge conda config --set channel_priority strict - conda install --yes "conda!=22.11.0" conda-build mamba boa + conda install --yes "conda>=22.11.1" mamba + conda install --yes mamba + mamba install --yes conda-build boa displayName: Update conda base environment - bash: |