Skip to content

Commit 0119527

Browse files
committed
[macOS CI] Skip conda pin on macOS base env to fix osx-arm64 nightly builds
The macOS binary-build runners' base miniconda env moved to python=3.14 (pinned). `conda install -y conda=25.3.0` is unsatisfiable there because conda 25.3.0 has no Python 3.14 build (py314 builds start at 26.1.0), so every osx-arm64 nightly wheel build has failed in `setup-binary-builds` since 2026-07-09 with: LibMambaUnsatisfiableError: package conda-25.3.0-py310hca03da5_0 requires python >=3.10,<3.11.0a0 ... Currently pinned specs: - python=3.14 The macOS base env already ships a newer conda (>=26.1.0) with channels configured, so it needs no pin. The Linux/Windows build containers, however, ship an older base env that relies on the implicit `defaults` channel that conda>=26 removed -- upgrading them to satisfy a floor breaks the subsequent `conda create` with NoChannelsConfiguredError. So keep the exact `conda=25.3.0` pin on the containers and skip it on macOS. This step runs in the base env before the target env is created, which is why all Python versions failed identically and only osx-arm64 was affected.
1 parent 168b0ed commit 0119527

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/actions/setup-binary-builds/action.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,16 @@ runs:
129129
set -euxo pipefail
130130
CONDA_ENV="${RUNNER_TEMP}/conda_environment_${GITHUB_RUN_ID}"
131131
export CONDA_EXTRA_PARAM=""
132-
conda install -y conda=25.3.0
132+
# Only pin conda on the Linux/Windows build containers. Their base env
133+
# ships an older conda and relies on the implicit `defaults` channel
134+
# that conda>=26 removed (upgrading them yields NoChannelsConfiguredError
135+
# on the conda create below). The macOS runners' base env is on Python
136+
# 3.14 -- which conda=25.3.0 has no build for (py314 starts at 26.1.0) --
137+
# and already ships a newer conda with channels configured, so leave it
138+
# untouched.
139+
if [[ "${RUNNER_OS}" != "macOS" ]]; then
140+
conda install -y conda=25.3.0
141+
fi
133142
134143
# shellcheck disable=SC2153
135144
case $PYTHON_VERSION in

0 commit comments

Comments
 (0)