File tree Expand file tree Collapse file tree
.github/actions/setup-binary-builds Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,20 +127,15 @@ runs:
127127 CONDA_ENV="${RUNNER_TEMP}/conda_environment_${GITHUB_RUN_ID}"
128128 export CONDA_EXTRA_PARAM=""
129129
130- if [[ "${PYTHON_VERSION:-}" == *t ]]; then
130+ if [[ ( "${PYTHON_VERSION:-}" == *t || "${PYTHON_VERSION:-}" == 3.14* ) && "$(uname)" == Darwin ]]; then
131131 # downgrade conda version for python 3.13t/3.14t install.
132132 # TODO: remove this once python 3.13t/3.14t is fully supported on conda
133133 # Please see : https://github.com/conda/conda/issues/14554
134- if [[ "$(uname)" == Darwin ]]; then
135- # required to be able to downgrade on MacOS arm64
136- conda install -y python=3.9
137- if [[ -n "$(conda list | grep conda-anaconda-telemetry)" ]]; then
138- conda uninstall -y conda-anaconda-telemetry conda-anaconda-tos
139- fi
140- conda install -y conda=24.7.1 conda-libmamba-solver=24.1.0
141- else
142- conda install -y conda=24.7.1
134+ conda install -y python=3.9
135+ if [[ -n "$(conda list | grep conda-anaconda-telemetry)" ]]; then
136+ conda uninstall -y conda-anaconda-telemetry conda-anaconda-tos
143137 fi
138+ conda install -y conda=24.7.1 conda-libmamba-solver=24.1.0
144139 fi
145140
146141 # shellcheck disable=SC2153
You can’t perform that action at this time.
0 commit comments