diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d2209beb9..5e8d1f830 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -280,15 +280,15 @@ jobs: - name: Install Homebrew Python run: | brew install --overwrite python@${{ matrix.python }} - echo /usr/local/opt/python@${{ matrix.python }}/libexec/bin/ >> $GITHUB_PATH + echo /opt/homebrew/opt/python@${{ matrix.python }}/libexec/bin/ >> $GITHUB_PATH + python${{ matrix.python }} -m pip config set global.break-system-packages true + + - name: Check Python version + run: python --version | grep ${{ matrix.python }} - name: Install Ninja run: brew install ninja - - name: Update pip - # pip >= 23.0 fixes https://github.com/pypa/pip/issues/11539 - run: python -m pip install --upgrade "pip >= 23.0" - - name: Install Meson run: python -m pip install "meson ${{ matrix.meson }}" if: ${{ matrix.meson }}