From 28a8bbf5a3e2a1c714d0e8118283940d372d3e7a Mon Sep 17 00:00:00 2001 From: Jim Schaff Date: Wed, 24 Jun 2026 08:42:51 -0400 Subject: [PATCH 1/3] Trim release matrix: drop macos-intel, confine glibc to Linux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two release-matrix cleanups: 1. glibc (2_28/2_34) is a Linux/manylinux-only concept but lived in the top-level matrix, so it cross-producted onto macOS and Windows — those jobs ran twice, building the identical wheel each time (the duplicate just hit `poetry publish --skip-existing`). Exclude the 2_34 combo for the non-Linux OSes so macOS/Windows build once each. 2. Drop macos-15-intel: GitHub-hosted macOS Intel runners are scarce and slow to schedule, stalling releases; Apple-silicon macOS support is sufficient. Net: 10 build jobs -> 6 (windows x1, macos-15 x1, ubuntu x86_64/aarch64 x2 glibc each), removing wasted compute and the Intel-runner bottleneck. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/on-release-main.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/on-release-main.yml b/.github/workflows/on-release-main.yml index 9c2fe80..44844bb 100644 --- a/.github/workflows/on-release-main.yml +++ b/.github/workflows/on-release-main.yml @@ -17,13 +17,20 @@ jobs: matrix: os: [ - macos-15-intel, windows-latest, ubuntu-latest, ubuntu-24.04-arm, macos-15, ] glibc: [2_28, 2_34] + # glibc (manylinux) only applies to the Linux builds. Exclude the duplicate + # 2_34 combination for the non-Linux OSes so macOS/Windows build once each + # (otherwise they would build the identical wheel twice, once per glibc value). + exclude: + - os: windows-latest + glibc: 2_34 + - os: macos-15 + glibc: 2_34 fail-fast: false runs-on: ${{ matrix.os }} From dd36b66108898501f728f8e05ffce7f7cdd984f6 Mon Sep 17 00:00:00 2001 From: Jim Schaff Date: Wed, 24 Jun 2026 08:52:46 -0400 Subject: [PATCH 2/3] Also drop macos-15-intel from the test workflow (main.yml) The release-matrix trim removed macos-15-intel from on-release-main.yml; do the same in the PR/push test matrix so the scarce Intel runners aren't used there either (this is the macos-15-intel job seen in every PR's checks). Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8a20893..ee7a2c9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,7 +47,7 @@ jobs: strategy: matrix: # python-version: ["3.9", "3.10", "3.11", "3.12"] python-version: ["3.11"] - os: [macos-15-intel, windows-latest, ubuntu-22.04, macos-15] + os: [windows-latest, ubuntu-22.04, macos-15] fail-fast: false runs-on: ${{ matrix.os }} defaults: From b5003a349d6e328107f8515d683911a0f69c24ee Mon Sep 17 00:00:00 2001 From: Jim Schaff Date: Wed, 24 Jun 2026 09:16:58 -0400 Subject: [PATCH 3/3] Apply prettier formatting to on-release-main.yml Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/on-release-main.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/on-release-main.yml b/.github/workflows/on-release-main.yml index 44844bb..f1e572e 100644 --- a/.github/workflows/on-release-main.yml +++ b/.github/workflows/on-release-main.yml @@ -15,13 +15,7 @@ jobs: build: strategy: matrix: - os: - [ - windows-latest, - ubuntu-latest, - ubuntu-24.04-arm, - macos-15, - ] + os: [windows-latest, ubuntu-latest, ubuntu-24.04-arm, macos-15] glibc: [2_28, 2_34] # glibc (manylinux) only applies to the Linux builds. Exclude the duplicate # 2_34 combination for the non-Linux OSes so macOS/Windows build once each