From 7ee69c3573fd9ccd60289b1d1419c02fdeaffca0 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 28 Jan 2024 21:27:17 +0100 Subject: [PATCH] Build: Use system Py2.7 on macOS since actions/setup-python does not have it any more. --- .github/workflows/wheels.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 2b976a36..c6413fba 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -221,7 +221,7 @@ jobs: matrix: os: - - macos-latest + - macos-11 - windows-latest #os: [macos-11, windows-latest, macOS-M1] #os: [macos-11, macOS-M1] @@ -252,6 +252,8 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 + # macOS has Py2.7 installed system wide + if: matrix.pyversion != "2.7" with: python-version: ${{ matrix.pyversion }}