From 18709406c5bac070950df2bd076e7f216a8d1158 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 26 Dec 2022 08:50:55 +0100 Subject: [PATCH] use link overwrite --- .github/workflows/ci.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef85d1bdd..3fa06951d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -147,16 +147,10 @@ jobs: - name: Installation - macOS if: runner.os == 'macOS' run: | - # homebrew fails to update python 3.9.1 to 3.9.1.1 due to unlinking failure - rm /usr/local/bin/2to3 || true - rm /usr/local/bin/2to3-3.11 || true - # homebrew fails to update python from 3.9 to 3.10 due to another unlinking failure - rm /usr/local/bin/idle3 || true - rm /usr/local/bin/pydoc3 || true - rm /usr/local/bin/python3 || true - rm /usr/local/bin/python3-config || true + brew update + # homebrew fails to update python due to unlinking failures # Ignore brew update failures - https://github.com/actions/runner-images/issues/6817 - brew update || true + brew link --overwrite python@3.10 python@3.11 brew install hdf5 c-blosc python -m pip install --upgrade pip wheel export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH