From 0457cd968321aab7e9d76fa8635c317c020f166f Mon Sep 17 00:00:00 2001 From: Alex Kaszynski Date: Thu, 4 Aug 2022 03:56:30 +0000 Subject: [PATCH 1/3] build universal wheels for macos --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 75a5b04a..f7217c88 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,5 +27,5 @@ test-command = "pytest {project}/tests" [tool.cibuildwheel.macos] # https://cibuildwheel.readthedocs.io/en/stable/faq/#apple-silicon -archs = ["x86_64"] # , "universal2" +archs = ["x86_64", "universal2"] test-skip = ["*_arm64", "*_universal2:arm64"] From 1702e1339829cd796ee250584bc73192c3fb7436 Mon Sep 17 00:00:00 2001 From: Alex Kaszynski Date: Thu, 4 Aug 2022 04:00:04 +0000 Subject: [PATCH 2/3] always build mac wheels --- .github/workflows/testing-and-deployment.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/testing-and-deployment.yml b/.github/workflows/testing-and-deployment.yml index e99894a3..e878d7ba 100644 --- a/.github/workflows/testing-and-deployment.yml +++ b/.github/workflows/testing-and-deployment.yml @@ -207,7 +207,6 @@ jobs: retention-days: 7 mac_build: - if: github.event_name == 'push' && contains(github.ref, 'refs/tags') name: Build wheels on MacOS runs-on: macos-latest From 243a1a76e1aca76a8cfb463bccbe02b7237441a4 Mon Sep 17 00:00:00 2001 From: Alex Kaszynski Date: Thu, 4 Aug 2022 04:45:31 +0000 Subject: [PATCH 3/3] go back to building Mac wheels for release --- .github/workflows/testing-and-deployment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/testing-and-deployment.yml b/.github/workflows/testing-and-deployment.yml index e878d7ba..e99894a3 100644 --- a/.github/workflows/testing-and-deployment.yml +++ b/.github/workflows/testing-and-deployment.yml @@ -207,6 +207,7 @@ jobs: retention-days: 7 mac_build: + if: github.event_name == 'push' && contains(github.ref, 'refs/tags') name: Build wheels on MacOS runs-on: macos-latest