From 43c46b60c771faad695d6db791c52b067c96af80 Mon Sep 17 00:00:00 2001 From: Alex Allmont Date: Fri, 21 Nov 2025 16:58:05 +0000 Subject: [PATCH 1/2] ci: upgrade from macos-13 to macos-14/15 (#108) - GitHub are retiring macos-13 build agents. - Note the macos deployment target is jumping from 10.5 to 14/15 for arm/x64 respectively. This is due to significant brew version jump. --- .github/workflows/build-wheels.yml | 10 ++++++---- README_PyPI.md | 9 +++++++++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index f5bba11..7064d73 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -32,18 +32,20 @@ jobs: py-vers-pr: cp311-* before-all: dnf -y install cmake ninja-build boost-devel extra-env: "" - - os: macos-13 + - os: macos-15-intel arch: x86_64 py-vers-full: cp39-* cp310-* cp311-* cp312-* cp313-* py-vers-pr: cp312-* before-all: brew install ninja boost - extra-env: CC="$(brew --prefix llvm@15)/bin/clang" CXX="$(brew --prefix llvm@15)/bin/clang++" HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 + extra-env: CC=clang CXX=clang++ + mdt: 15.0 - os: macos-14 arch: arm64 py-vers-full: cp39-* cp310-* cp311-* cp312-* cp313-* py-vers-pr: cp313-* before-all: brew install ninja boost - extra-env: CC="$(brew --prefix llvm@15)/bin/clang" CXX="$(brew --prefix llvm@15)/bin/clang++" HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 + extra-env: CC=clang CXX=clang++ + mdt: 14.0 env: CIBW_BUILD: ${{ github.event_name != 'pull_request' && matrix.py-vers-full || matrix.py-vers-pr }} @@ -54,7 +56,7 @@ jobs: CIBW_BEFORE_ALL: ${{ matrix.before-all }} CIBW_BEFORE_BUILD: pip install --upgrade pip setuptools wheel CIBW_ENVIRONMENT: ${{ matrix.extra-env }} - MACOSX_DEPLOYMENT_TARGET: 10.15 + MACOSX_DEPLOYMENT_TARGET: ${{ matrix.mdt }} steps: - name: checkout repo & submodules diff --git a/README_PyPI.md b/README_PyPI.md index ac3db37..d458e4b 100644 --- a/README_PyPI.md +++ b/README_PyPI.md @@ -8,6 +8,15 @@ The user manual for threads can be found [here](https://palamaralab.github.io/so ## Installation +Prebuilt CPython wheels are available for Linux (compatible with glibc ≥ 2.28) and macOS (built on macOS 15 for x86_64 and macOS 14 for arm64). + +| Platform \ CPython | ≤3.8 | 3.9 | 3.10 | 3.11 | 3.12 | 3.13 | 3.14 | +|-----------------------------| ---- | --- | ---- | ---- | ---- | ---- | ---- | +| Linux x86_64 | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| Linux aarch64 | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| macOS Intel (x86_64) | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | +| macOS Apple Silicon (arm64) | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | + ```sh pip install threads_arg ``` From 795c2d2d140855a2b876e3cfc7fdb3e50a9f5ac9 Mon Sep 17 00:00:00 2001 From: Alex Allmont Date: Fri, 21 Nov 2025 17:13:34 +0000 Subject: [PATCH 2/2] docs: update changelog for macos 14/15 (#108) --- RELEASE_NOTES.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 3274126..cf5f86a 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,5 +1,11 @@ # threads Release Notes +## [Unreleased] + +### Changed + +- Build wheels on macOS 14 for arm64 and macOS 15 for x86_64 (#108) + ## [0.2.1] - 2025-06-03 ### Added