From 2a7369b56a7f6063835a65c3d7e00b0f12889da4 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 23 Dec 2022 07:38:33 +0100 Subject: [PATCH] fix macos CI --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a787bc47..77432cc9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -147,7 +147,15 @@ jobs: - name: Installation - macOS if: runner.os == 'macOS' run: | - brew update + # homebrew fails to update python 3.9.1 to 3.9.1.1 due to unlinking failure + rm /usr/local/bin/2to3 || 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 + # Ignore brew update failures - https://github.com/actions/runner-images/issues/6817 + brew update || true brew install hdf5 c-blosc python -m pip install --upgrade pip wheel export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH