From 1aa775bacea1530c2f9d1c8a7a376878cd93bf62 Mon Sep 17 00:00:00 2001 From: shaoxc Date: Mon, 25 Mar 2024 13:19:58 -0400 Subject: [PATCH 1/2] add macos-14 --- .github/workflows/build-wheels.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 650240c4..698ddc43 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -27,24 +27,29 @@ jobs: - [ubuntu-latest, manylinux, x86_64] - [macos-12, macosx, x86_64] - [windows-2019, win, AMD64] + - [macos-14, macosx, arm64] + + python: ["cp38", "cp39", "cp310", "cp311", "cp312"] + exclude: + - buildplat: [macos-14, macosx, arm64] + python: "cp38" - python: ["cp38", "cp39", "cp310", "cp311"] fail-fast: false env: IS_32_BIT: ${{ matrix.buildplat[2] == 'x86' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 with: - python-version: '3.8' + python-version: '3.11' - name: Build wheels - uses: pypa/cibuildwheel@v2.11.4 + uses: pypa/cibuildwheel@v2.16.5 env: CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}* CIBW_ARCHS: ${{ matrix.buildplat[2] }} @@ -59,13 +64,13 @@ jobs: uses: mxschmitt/action-tmate@v3 timeout-minutes: 15 - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: path: ./wheelhouse/*.whl name: ${{ matrix.python }}-${{ matrix.buildplat[1] }}-${{ matrix.buildplat[2] }} - name: Release wheels - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: wheelhouse/*.whl From 4e02cd5331be78f2f7772453eac0a08f399ff904 Mon Sep 17 00:00:00 2001 From: shaoxc Date: Mon, 25 Mar 2024 14:23:23 -0400 Subject: [PATCH 2/2] remove cp312 --- .github/workflows/build-wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 698ddc43..323967df 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -29,7 +29,7 @@ jobs: - [windows-2019, win, AMD64] - [macos-14, macosx, arm64] - python: ["cp38", "cp39", "cp310", "cp311", "cp312"] + python: ["cp38", "cp39", "cp310", "cp311"] exclude: - buildplat: [macos-14, macosx, arm64] python: "cp38"