CI: fix macOS runners + build a single py3-none wheel (Python 3.14)#288
Merged
Conversation
serialbox4py is a ctypes wrapper with no libpython linkage, so the wheel is Python-ABI-independent. Tag it py3-none via wheel.py-api and build on one interpreter per platform (CIBW_BUILD=cp310-*). One wheel per platform now covers all Python 3 versions, including 3.14.
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.
Two related fixes to the wheel deploy workflow.
1. Replace the retired
macos-13runnerGitHub retired the
macos-13image, so the wheel build/test jobs pinned to it fail. Both thebuild_wheelsandtest_wheelsmatrices now use:macos-13→macos-15-intel(keeps native x86_64 wheels; the standard free Intel runner)macos-14→macos-15(arm64, pinned)2. Build a single
py3-nonewheel per platform (adds Python 3.14)serialbox4py is a ctypes wrapper around
libSerialboxC— there is no CPython C-extension and nothing links againstlibpython, so the wheel binary depends only on the platform, not the Python ABI. We now:wheel.py-api = "py3"in[tool.scikit-build]CIBW_BUILD: cp310-*)This produces 4 abi-agnostic wheels (
py3-none-{manylinux x86_64/aarch64, macOS x86_64/arm64}) that install on any Python 3 — including 3.14 and future releases — with no per-version build churn.