Drop macos-intel (both workflows) + confine release glibc to Linux#23
Merged
Conversation
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) <noreply@anthropic.com>
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) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
1. Drop
macos-15-intelfrom both workflows. GitHub-hosted macOS Intel runners are scarce and slow to schedule, stalling both releases and PR CI. Apple-silicon macOS coverage is sufficient.on-release-main.ymlbuild matrixmain.ymltests-and-type-checkmatrix (this is thetests-and-type-check (3.11, macos-15-intel)job seen in every PR's checks)2. Confine
glibcto Linux (release workflow).glibc(2_28/2_34) only applies to manylinux builds, but it sat in the top-level matrix and cross-producted onto macOS/Windows, so those jobs ran twice building the identical wheel (the dup just hitpoetry publish --skip-existing). Added a matrixexcludefor the2_34combo on the non-Linux OSes.Effect
Note
The release workflow isn't exercised by PR CI; validate via a manual
workflow_dispatchdry-run if desired. Does not affect the (partial) 0.0.16 already on PyPI.🤖 Generated with Claude Code