From ec2f9685ed0f40f7f863396db3cc0d350d5a8838 Mon Sep 17 00:00:00 2001 From: Chris Havlin Date: Mon, 25 Nov 2024 10:35:45 -0600 Subject: [PATCH] Backport PR #5066: TST: workaround homebrew failure on macos --- tests/ci_install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/ci_install.sh b/tests/ci_install.sh index 57046585182..cb1daa54601 100644 --- a/tests/ci_install.sh +++ b/tests/ci_install.sh @@ -17,6 +17,11 @@ if [[ ${dependencies} == "full" || ${dependencies} == "cartopy" ]]; then osx|macOS) sudo mkdir -p /usr/local/man sudo chown -R "${USER}:admin" /usr/local/man + # uninstalling pkg-config to workaround a bug in macOS image + # https://github.com/Homebrew/homebrew-core/pull/198691#issuecomment-2495500991 + # this can be cleaned-up once the following patch is released: + # https://github.com/actions/runner-images/pull/11015 + HOMEBREW_NO_AUTO_UPDATE=1 brew uninstall pkg-config@0.29.2 || true HOMEBREW_NO_AUTO_UPDATE=1 brew install hdf5 open-mpi netcdf ccache macfuse ;; esac