From 95bde675ef75c76be33b6ba9f861a268fb92874a Mon Sep 17 00:00:00 2001 From: renaud gaudin Date: Tue, 11 Apr 2023 10:42:29 +0000 Subject: [PATCH] Unlink and remove some linked python3 files meson and ninja both depends on python3 which received an update. This python3 update fails to install when linking. This temp fix removes those files. Hopefully a future update will remove the need for this hack --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 026ec9225..39e4e9ce3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,9 @@ jobs: - name: Install packages run: | brew update + brew unlink python3 + # upgrade from python@3.11.2_1 to python@3.11.3 fails to overwrite those + rm -f /usr/local/bin/2to3 /usr/local/bin/2to3-3.11 /usr/local/bin/idle3 /usr/local/bin/idle3.11 /usr/local/bin/pydoc3 /usr/local/bin/pydoc3.11 /usr/local/bin/python3 /usr/local/bin/python3-config /usr/local/bin/python3.11 /usr/local/bin/python3.11-config brew install pkg-config ninja meson - name: Install dependencies @@ -138,4 +141,4 @@ jobs: if: startsWith(matrix.target, 'native_') uses: codecov/codecov-action@v3 with: - token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + token: ${{ secrets.CODECOV_TOKEN }}