diff --git a/docs/pages/guides/gha_wheels.md b/docs/pages/guides/gha_wheels.md index 938b5c0a..405d2ddb 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,13 +143,13 @@ 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`) -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 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: