From 1592a1b6920c22d84001b9d87bb2b1c7dd294f86 Mon Sep 17 00:00:00 2001 From: Suzanne Jin Date: Tue, 26 Nov 2024 16:11:01 +0100 Subject: [PATCH] Update build_steps.sh to restrict conda-build version Bug is detected for conda-build v24.11 https://github.com/conda/conda-build/issues/5416. This bug prevents the correct building of the packages. This is a temporal fix to create the conda container without using the v24.11 --- .scripts/build_steps.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index af0b9ac..e5e8ff6 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -34,9 +34,9 @@ CONDARC export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 mamba install --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ - pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" + pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1,<=24.11" mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \ - pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1" + pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1,<=24.11" # set up the condarc setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" @@ -94,4 +94,4 @@ fi ( startgroup "Final checks" ) 2> /dev/null -touch "${FEEDSTOCK_ROOT}/build_artifacts/conda-forge-build-done-${CONFIG}" \ No newline at end of file +touch "${FEEDSTOCK_ROOT}/build_artifacts/conda-forge-build-done-${CONFIG}"