From 7c4c905f0433c51a7f7d04ff9bfe19215b508898 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Fri, 16 Aug 2024 18:41:31 -0400 Subject: [PATCH] build(macos): fix error in macos-13 build (#3022) Co-authored-by: Vithorio Polten --- .github/workflows/CI.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1ed66a7b..4ac6c217 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -484,6 +484,21 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Fix python + if: matrix.os_name == 'macos' && matrix.os_version == '13' + run: | + rm '/usr/local/bin/2to3' + rm '/usr/local/bin/2to3-3.12' + rm '/usr/local/bin/idle3' + rm '/usr/local/bin/idle3.12' + rm '/usr/local/bin/pydoc3' + rm '/usr/local/bin/pydoc3.12' + rm '/usr/local/bin/python3' + rm '/usr/local/bin/python3-config' + rm '/usr/local/bin/python3.12' + rm '/usr/local/bin/python3.12-config' + brew install python + - name: Configure formula run: | # variables for formula