Skip to content

Commit a81b356

Browse files
committed
Pin the aarch64 Miniforge installer to unbreak Linux aarch64 wheel builds
The aarch64 bootstrap downloaded Miniforge from the releases/latest pointer. That pointer moved to 26.5.3, whose base env is on Python 3.14, and the shared setup-binary-builds action then fails installing conda=25.3.0, which has no Python 3.14 build. Pin the installer to the release that was last green.
1 parent cb4b1c6 commit a81b356

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/build_wheels_linux.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,12 @@ jobs:
201201
# when using Python version, less than the conda latest
202202
###############################################################################
203203
echo 'Installing conda-forge'
204-
curl -L -o /mambaforge.sh https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-aarch64.sh
204+
# Pin the installer. The shared setup-binary-builds action installs
205+
# conda=25.3.0 into this base env, and conda 25.3.0 has no Python 3.14
206+
# build. Miniforge releases newer than this one put the base env on
207+
# Python 3.14, which makes that install unsatisfiable and fails every
208+
# aarch64 wheel build. Bump this tag only together with that pin.
209+
curl -fL -o /mambaforge.sh https://github.com/conda-forge/miniforge/releases/download/26.3.2-3/Miniforge3-Linux-aarch64.sh
205210
chmod +x /mambaforge.sh
206211
/mambaforge.sh -b -p /opt/conda
207212
rm /mambaforge.sh

0 commit comments

Comments
 (0)