From 5158c09487f72855d659cf1bae0cb493a6dfda48 Mon Sep 17 00:00:00 2001 From: chavlin Date: Thu, 3 Oct 2024 16:34:02 -0500 Subject: [PATCH] adjust action --- .github/workflows/build_and_publish.yaml | 10 ++++++++-- pyproject.toml | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_publish.yaml b/.github/workflows/build_and_publish.yaml index ae14989..ef54b13 100644 --- a/.github/workflows/build_and_publish.yaml +++ b/.github/workflows/build_and_publish.yaml @@ -43,14 +43,20 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-13, macos-14] + os: [ + ubuntu-20.04, + windows-2022, + macos-13, # x86_64 + macos-14, # arm64 + ] steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: pypa/cibuildwheel@v2.21 + - name: Build wheels + uses: pypa/cibuildwheel@v2.21 - name: Upload wheels uses: actions/upload-artifact@v4 diff --git a/pyproject.toml b/pyproject.toml index 9162932..0077be9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=61.0", "wheel", "Cython", "numpy>=2.0"] +requires = ["setuptools>=61.0", "wheel", "Cython>=3.0.3", "numpy>=2.0"] build-backend = "setuptools.build_meta" [project]