Skip to content

Commit e6f7c67

Browse files
committed
CI: use the right Python in the Homebrew jobs
Update the path added to the $PATH to reflect the installation path change in recent Homebrew releases.
1 parent 09e18fc commit e6f7c67

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -280,15 +280,11 @@ jobs:
280280
- name: Install Homebrew Python
281281
run: |
282282
brew install --overwrite python@${{ matrix.python }}
283-
echo /usr/local/opt/python@${{ matrix.python }}/libexec/bin/ >> $GITHUB_PATH
283+
echo /opt/homebrew/opt/python@${{ matrix.python }}/libexec/bin/ >> $GITHUB_PATH
284284
285285
- name: Install Ninja
286286
run: brew install ninja
287287

288-
- name: Update pip
289-
# pip >= 23.0 fixes https://github.com/pypa/pip/issues/11539
290-
run: python -m pip install --upgrade "pip >= 23.0"
291-
292288
- name: Install Meson
293289
run: python -m pip install "meson ${{ matrix.meson }}"
294290
if: ${{ matrix.meson }}

0 commit comments

Comments
 (0)