Skip to content

ci: drop Intel macOS Python wheel build#1612

Merged
andygrove merged 1 commit intoapache:mainfrom
andygrove:fix/drop-intel-macos-wheel
Apr 28, 2026
Merged

ci: drop Intel macOS Python wheel build#1612
andygrove merged 1 commit intoapache:mainfrom
andygrove:fix/drop-intel-macos-wheel

Conversation

@andygrove
Copy link
Copy Markdown
Member

Which issue does this PR close?

Closes #1608.

Rationale for this change

The build-macos-x86_64 job in .github/workflows/build.yml runs on macos-latest, which has resolved to arm64 since GitHub's 2024 runner change. As a result it has been producing a duplicate macOS arm64 wheel rather than an x86_64 wheel, and no Intel macOS wheel has been published. Rather than restoring an Intel macOS build (e.g. by pinning to macos-13 or cross-compiling), this PR drops Intel macOS as a published wheel target. Users on Intel Macs can still install via the source distribution.

What changes are included in this PR?

  • Remove the build-macos-x86_64 job from .github/workflows/build.yml.
  • Remove its entry from the needs list of merge-build-artifacts.

The macOS arm64 wheel continues to be produced by the macOS leg of build-python-mac-win.

Are there any user-facing changes?

Yes: starting with the next release, no prebuilt wheel will be published for Intel macOS (macosx_*_x86_64). Intel macOS users will need to install from sdist, which requires protoc and a Rust toolchain locally.

Closes apache#1608.

The build-macos-x86_64 job ran on macos-latest, which has resolved to
arm64 since GitHub's 2024 runner change, so it produced a duplicate
arm64 wheel rather than an x86_64 wheel. Drop the job and remove its
entry from merge-build-artifacts. The macOS arm64 wheel is still built
by build-python-mac-win.
name: dist-${{ matrix.os }}
path: python/target/wheels/*

build-macos-x86_64:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure this is intel build ? it runs on macos-latest, which should be arm?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@milenkovicm See the PR description, section Rationale for this change.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @martin-g. Yes, @milenkovicm this is an arm build named x86_64 - the original intent was to build for Intel.

@andygrove andygrove merged commit b06efe8 into apache:main Apr 28, 2026
17 checks passed
@andygrove andygrove deleted the fix/drop-intel-macos-wheel branch April 28, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python release wheels: macOS x86_64 wheel is missing and arm64 wheel is built twice

3 participants