Repository navigation
Release pipeline fixes: macOS universal2 + twine check env - #3
Merged
Merged
Conversation
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.
This branch was previously deployed
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.
Follow-up fixes to the release workflow, validated by a full TestPyPI dry run.
Changes
macos-13(Intel) andmacos-14(arm64) wheel jobs with a singleuniversal2cross-build onmacos-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.collectjob ran twine on the runner's system Python, whose stalepackagingdoesn't recognise the Metadata 2.4License-Filefield, causing a spurioustwine checkfailure. Now usesactions/setup-pythonwith an upgradedtwine/packaging.Validation
Dispatched
release.ymlagainst 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. Confirmedrstar-python 0.1.0is live on TestPyPI with all artifacts.