From ba664300619c6bf7e33ddb486fa82eb7bcc5222d Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Wed, 6 Oct 2021 23:11:02 -0400 Subject: [PATCH] Backport PR #21303: Pin macOS to 10.15 for wheels --- .github/workflows/cibuildwheel.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index 6bd35f22567d..e73bc83c210d 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -18,7 +18,7 @@ jobs: CIBW_ARCHS_MACOS: "x86_64 universal2 arm64" strategy: matrix: - os: [ubuntu-18.04, windows-latest, macos-latest] + os: [ubuntu-18.04, windows-latest, macos-10.15] cibw_archs: ["auto"] include: - os: ubuntu-18.04 @@ -64,7 +64,7 @@ jobs: - name: Build wheels for CPython 3.10 run: | python -m cibuildwheel --output-dir dist - if: matrix.os != 'macos-latest' + if: matrix.os != 'macos-10.15' env: CIBW_BUILD: "cp310-*" CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014