From 0f2eebb603a6741a8c2615f8a6ed42780d6cc6f3 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Sun, 11 Aug 2024 23:12:47 +0200 Subject: [PATCH] CI: skip macOS x86-64 cp313t, try to get cp313 on macOS/Windows to build --- .github/workflows/wheel_tests_and_release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheel_tests_and_release.yml b/.github/workflows/wheel_tests_and_release.yml index 5c41f3a9..12d13f44 100644 --- a/.github/workflows/wheel_tests_and_release.yml +++ b/.github/workflows/wheel_tests_and_release.yml @@ -124,6 +124,9 @@ jobs: cibw_arch: "x86_64" - os: macos-13 cibw_arch: "arm64" + - os: macos-13 + cibw_arch: "x86_64" + cibw_python: "cp313t" steps: - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 with: @@ -147,7 +150,7 @@ jobs: echo "CIBW_BUILD_FRONTEND=$NO_BUILD_ISOLATION" >> "$GITHUB_ENV" - name: Build wheels for CPython (macOS) (x86_64) - if: matrix.cibw_arch == 'x86_64' && ${{ matrix.cibw_python }} != "cp313t" + if: matrix.cibw_arch == 'x86_64' uses: pypa/cibuildwheel@bd033a44476646b606efccdd5eed92d5ea1d77ad # v2.20.0 with: output-dir: dist @@ -164,6 +167,7 @@ jobs: CIBW_BUILD: ${{ matrix.cibw_python }}-* CIBW_ARCHS_MACOS: ${{ matrix.cibw_arch }} CIBW_FREE_THREADED_SUPPORT: True + CIBW_PRERELEASE_PYTHONS: True - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 with: @@ -209,6 +213,7 @@ jobs: env: CIBW_BUILD: ${{ matrix.cibw_python }}-* CIBW_ARCHS_WINDOWS: ${{ matrix.cibw_arch }} + CIBW_PRERELEASE_PYTHONS: True - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 with: