Skip to content

CI: fix macOS runners + build a single py3-none wheel (Python 3.14)#288

Merged
havogt merged 2 commits into
masterfrom
ci/macos-15-runners
May 20, 2026
Merged

CI: fix macOS runners + build a single py3-none wheel (Python 3.14)#288
havogt merged 2 commits into
masterfrom
ci/macos-15-runners

Conversation

@havogt
Copy link
Copy Markdown
Collaborator

@havogt havogt commented May 20, 2026

Two related fixes to the wheel deploy workflow.

1. Replace the retired macos-13 runner

GitHub retired the macos-13 image, so the wheel build/test jobs pinned to it fail. Both the build_wheels and test_wheels matrices now use:

  • macos-13macos-15-intel (keeps native x86_64 wheels; the standard free Intel runner)
  • macos-14macos-15 (arm64, pinned)

2. Build a single py3-none wheel per platform (adds Python 3.14)

serialbox4py is a ctypes wrapper around libSerialboxC — there is no CPython C-extension and nothing links against libpython, so the wheel binary depends only on the platform, not the Python ABI. We now:

  • set wheel.py-api = "py3" in [tool.scikit-build]
  • build on a single interpreter per platform (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.

havogt added 2 commits May 20, 2026 08:53
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.
@havogt havogt changed the title CI: replace retired macos-13 runner with macos-15-intel and macos-15 CI: fix macOS runners + build a single py3-none wheel (Python 3.14) May 20, 2026
Copy link
Copy Markdown

@egparedes egparedes left a comment

Choose a reason for hiding this comment

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

LGTM

@havogt havogt merged commit 7b3674f into master May 20, 2026
21 checks passed
@havogt havogt deleted the ci/macos-15-runners branch May 20, 2026 10:53
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.

2 participants