From be0a2c2c18d04f7a9ad439fe4d3fdcc431ad98a7 Mon Sep 17 00:00:00 2001 From: Liam Keegan Date: Thu, 25 Apr 2024 11:12:58 +0200 Subject: [PATCH] use intel (macos-13) and arm (macos-14) runners to build wheels - bump cibuildwheel version - reduce python versions in CI since macos-latest runners only have Python>=3.10 installed --- .github/workflows/ci.yml | 2 +- .github/workflows/pypi.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fcf3ef4..48c94ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index f02b964..2801788 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -8,12 +8,12 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-13, macos-14] steps: - uses: actions/checkout@v4 - name: Build wheels - uses: pypa/cibuildwheel@v2.16 + uses: pypa/cibuildwheel@v2.17 - uses: actions/upload-artifact@v4 with: @@ -35,7 +35,7 @@ jobs: path: dist/*.tar.gz upload_pypi: - needs: [build-wheels] + needs: [build-wheels, build-sdist] runs-on: ubuntu-latest environment: release permissions: