From d531738e9e4c811d82cf2b5a7da74f9707ecc944 Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Thu, 27 Nov 2025 22:52:26 +0530 Subject: [PATCH 1/2] Update Intel macOS images --- docs/pages/guides/gha_wheels.md | 6 +++--- ...% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/pages/guides/gha_wheels.md b/docs/pages/guides/gha_wheels.md index 938b5c0a..7c0ba45e 100644 --- a/docs/pages/guides/gha_wheels.md +++ b/docs/pages/guides/gha_wheels.md @@ -116,7 +116,7 @@ build_wheels: - ubuntu-24.04-arm - windows-latest - windows-11-arm - - macos-13 + - macos-15-intel - macos-latest steps: @@ -143,9 +143,9 @@ because you followed the suggestions in the previous sections, and your package builds nicely into a wheel without strange customizations (if you _really_ need them, check out [`CIBW_BEFORE_BUILD`][] and [`CIBW_ENVIRONMENT`][]). -This lists all three OS's including ARM variants; if you do not support Windows, +This lists all three OSes including ARM variants; if you do not support Windows, you can remove that here. If you would rather make universal2 wheels for macOS, -you can remove either the Intel (`macos-13`) or Apple Silicon (`macos-lateset`) +you can remove either the Intel (`macos-15-intel`) or Apple Silicon (`macos-latest`) job and set `CIBW_ARCHS_MACOS` to `"universal"`. You can also set `CIBW_TEST_SKIP` to `"*universal:arm64"` if building from Intel to acknowledge you understand that you can't test Apple Silicon from Intel. You can do this diff --git a/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} b/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} index 9991028c..1ce537ed 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} +++ b/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} @@ -46,7 +46,7 @@ jobs: - ubuntu-24.04-arm - windows-latest - windows-11-arm - - macos-13 + - macos-15-intel - macos-latest steps: From b9c7b1e8ba0eec8097d306523067d1502a59c271 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 27 Nov 2025 17:25:06 +0000 Subject: [PATCH 2/2] style: pre-commit fixes --- docs/pages/guides/gha_wheels.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/pages/guides/gha_wheels.md b/docs/pages/guides/gha_wheels.md index 7c0ba45e..405d2ddb 100644 --- a/docs/pages/guides/gha_wheels.md +++ b/docs/pages/guides/gha_wheels.md @@ -145,11 +145,11 @@ them, check out [`CIBW_BEFORE_BUILD`][] and [`CIBW_ENVIRONMENT`][]). This lists all three OSes including ARM variants; if you do not support Windows, you can remove that here. If you would rather make universal2 wheels for macOS, -you can remove either the Intel (`macos-15-intel`) or Apple Silicon (`macos-latest`) -job and set `CIBW_ARCHS_MACOS` to `"universal"`. You can also set -`CIBW_TEST_SKIP` to `"*universal:arm64"` if building from Intel to acknowledge -you understand that you can't test Apple Silicon from Intel. You can do this -from the `pyproject.toml` file instead if you want. +you can remove either the Intel (`macos-15-intel`) or Apple Silicon +(`macos-latest`) job and set `CIBW_ARCHS_MACOS` to `"universal"`. You can also +set `CIBW_TEST_SKIP` to `"*universal:arm64"` if building from Intel to +acknowledge you understand that you can't test Apple Silicon from Intel. You can +do this from the `pyproject.toml` file instead if you want. The build step is controlled almost exclusively through environment variables, which makes it easier (usually) to setup in CI. The main variable needed here is