From 91d55cf820816e77a9c03634a555c0123d66e24f Mon Sep 17 00:00:00 2001 From: Alex Allmont Date: Fri, 21 Nov 2025 16:03:55 +0000 Subject: [PATCH 1/3] ci: try faster wheels build (#109) - py-vers changes copied from recent improvements to ASMC and arg-needle-lib. We don't hit the same cost issues with this repo because threads is public, so this commit to test how build times are impacted. --- .github/workflows/build-wheels.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 5fb954f..9b141b4 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -22,27 +22,31 @@ jobs: include: - os: ubuntu-24.04 arch: auto64 - py-vers: cp39-* cp310-* cp311-* cp312-* cp313-* + py-vers-full: cp39-* cp310-* cp311-* cp312-* cp313-* cp314-* + py-vers-pr: cp311-* before-all: dnf -y install cmake ninja-build boost-devel extra-env: "" - os: ubuntu-24.04-arm arch: aarch64 - py-vers: cp39-* cp310-* cp311-* cp312-* cp313-* + py-vers-full: cp39-* cp310-* cp311-* cp312-* cp313-* cp314-* + py-vers-pr: cp312-* before-all: dnf -y install cmake ninja-build boost-devel extra-env: "" - os: macos-13 arch: x86_64 - py-vers: cp39-* cp310-* cp311-* cp312-* cp313-* + py-vers-full: cp39-* cp310-* cp311-* cp312-* cp313-* cp314-* + 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 - os: macos-14 arch: arm64 - py-vers: cp39-* cp310-* cp311-* cp312-* cp313-* + py-vers-full: cp39-* cp310-* cp311-* cp312-* cp313-* cp314-* + py-vers-pr: cp314-* 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 env: - CIBW_BUILD: ${{ matrix.py-vers }} + CIBW_BUILD: ${{ github.event_name != 'pull_request' && matrix.py-vers-full || matrix.py-vers-pr }} CIBW_SKIP: cp3*-musllinux_* CIBW_ARCHS: ${{ matrix.arch }} CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28 From 2c24f2218e06c35403662edc2805679a9daddfc5 Mon Sep 17 00:00:00 2001 From: Alex Allmont Date: Fri, 21 Nov 2025 16:17:54 +0000 Subject: [PATCH 2/3] build: bump max python version to 3.14 --- .github/workflows/pytest-ubuntu.yml | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest-ubuntu.yml b/.github/workflows/pytest-ubuntu.yml index 5568fdd..98ed5d8 100644 --- a/.github/workflows/pytest-ubuntu.yml +++ b/.github/workflows/pytest-ubuntu.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ '3.9', '3.12' ] + python-version: [ '3.10', '3.14' ] steps: diff --git a/pyproject.toml b/pyproject.toml index 00935f6..2747121 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] [project.optional-dependencies] From 5f1ef34a3a1e04a4ccad5233525ce19c02726b61 Mon Sep 17 00:00:00 2001 From: Alex Allmont Date: Fri, 21 Nov 2025 16:35:21 +0000 Subject: [PATCH 3/3] build: stay on 3.13 max for now (#109) - Python 3.14 is not yet supported by ray, who aim to release in Q4. Staying on 3.13 for time being. --- .github/workflows/build-wheels.yml | 16 ++++++++-------- .github/workflows/pytest-ubuntu.yml | 2 +- pyproject.toml | 1 - 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 9b141b4..f5bba11 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -22,26 +22,26 @@ jobs: include: - os: ubuntu-24.04 arch: auto64 - py-vers-full: cp39-* cp310-* cp311-* cp312-* cp313-* cp314-* - py-vers-pr: cp311-* + py-vers-full: cp39-* cp310-* cp311-* cp312-* cp313-* + py-vers-pr: cp310-* before-all: dnf -y install cmake ninja-build boost-devel extra-env: "" - os: ubuntu-24.04-arm arch: aarch64 - py-vers-full: cp39-* cp310-* cp311-* cp312-* cp313-* cp314-* - py-vers-pr: cp312-* + py-vers-full: cp39-* cp310-* cp311-* cp312-* cp313-* + py-vers-pr: cp311-* before-all: dnf -y install cmake ninja-build boost-devel extra-env: "" - os: macos-13 arch: x86_64 - py-vers-full: cp39-* cp310-* cp311-* cp312-* cp313-* cp314-* - py-vers-pr: cp313-* + 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 - os: macos-14 arch: arm64 - py-vers-full: cp39-* cp310-* cp311-* cp312-* cp313-* cp314-* - py-vers-pr: cp314-* + 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 diff --git a/.github/workflows/pytest-ubuntu.yml b/.github/workflows/pytest-ubuntu.yml index 98ed5d8..2c50c79 100644 --- a/.github/workflows/pytest-ubuntu.yml +++ b/.github/workflows/pytest-ubuntu.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ '3.10', '3.14' ] + python-version: [ '3.9', '3.13' ] steps: diff --git a/pyproject.toml b/pyproject.toml index 2747121..00935f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "Programming Language :: Python :: 3.14", ] [project.optional-dependencies]