Skip to content

Release pipeline fixes: macOS universal2 + twine check env - #3

Merged
kephale merged 2 commits into
mainfrom
macos-universal2
Jun 7, 2026
Merged

kephale merged 2 commits into
mainfrom
macos-universal2

Conversation

@kephale

@kephale kephale commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Follow-up fixes to the release workflow, validated by a full TestPyPI dry run.

Changes

  • macOS universal2 wheel: replace the separate macos-13 (Intel) and macos-14 (arm64) wheel jobs with a single universal2 cross-build on macos-14. GitHub's Intel macOS runners queue for a long time as capacity moves to Apple Silicon; this removes that dependency while still shipping a wheel that runs on both Intel and Apple Silicon Macs.
  • twine check environment: the collect job ran twine on the runner's system Python, whose stale packaging doesn't recognise the Metadata 2.4 License-File field, causing a spurious twine check failure. Now uses actions/setup-python with an upgraded twine/packaging.

Validation

Dispatched release.yml against this branch targeting TestPyPI — full pipeline green: version check, test gate, all 6 wheels (macOS universal2, manylinux + musllinux x86_64/aarch64, Windows) + sdist, twine check, and the trusted-publishing upload. Confirmed rstar-python 0.1.0 is live on TestPyPI with all artifacts.

kephale added 2 commits June 7, 2026 16:48
GitHub's macos-13 (Intel) runners queue for a long time as capacity shifts
to Apple Silicon. Cross-build a single universal2 wheel on the macos-14
arm64 runner instead: covers both Intel and Apple Silicon in one artifact
and removes the dependency on the scarce Intel runners.
The collect job ran twine on the runner's system Python, whose stale
packaging doesn't recognise the Metadata 2.4 License-File field, so
twine check failed even though the wheels are valid (and PyPI accepts
them). Use actions/setup-python and upgrade twine+packaging.
@kephale
kephale merged commit 268d781 into main Jun 7, 2026
26 checks passed
@kephale
kephale deleted the macos-universal2 branch June 7, 2026 23:58

This branch was previously deployed

1 inactive deployment
testpypi — 6e3eda6a Deployed Jun 7, 2026 by kephale via Publish to TestPyPI #3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant