From afe12edaafb6b760d0ab72d7aa974e896edbcbed Mon Sep 17 00:00:00 2001 From: Peter Ercius Date: Thu, 8 Jan 2026 10:12:18 -0800 Subject: [PATCH 1/2] Update build workflow to support CPython >= 3.10 and upgrade Python version to 3.12 --- .github/workflows/build_wheels.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 3a6bcd1d..7d5be5b3 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -9,8 +9,8 @@ on: pull_request: env: - # Only support 64-bit CPython > 3.6 - CIBW_SKIP: "cp36-* pp* *-manylinux_i686 *-musllinux_* *-win32 cp313-*" + # Only support 64-bit CPython >= 3.10 + CIBW_SKIP: "cp36-* cp37-* cp38-* cp39-* pp* *-manylinux_i686 *-musllinux_* *-win32" # This has some of the software we need pre-installed on it CIBW_MANYLINUX_X86_64_IMAGE: openchemistry/stempy_wheel_builder_x86_64 @@ -23,12 +23,10 @@ env: CIBW_ENVIRONMENT_WINDOWS: > EXTRA_CMAKE_ARGS="-DEIGEN3_DIR=C:\\PROGRA~2\\Eigen3\\share\\eigen3\\cmake\\;-Dstempy_ENABLE_HDF5=OFF" USE_PYTHON_IN_PATH=1 - # Get cmake to use python in the path... CIBW_ENVIRONMENT_MACOS: > EXTRA_CMAKE_ARGS="-DHDF5_DIR=/usr/local/HDF_Group/HDF5/current/cmake" USE_PYTHON_IN_PATH=1 - CIBW_BEFORE_TEST: pip install -r {project}/tests/requirements.txt CIBW_TEST_COMMAND: pytest {project}/tests @@ -64,7 +62,7 @@ jobs: - uses: actions/setup-python@v5 name: Install Python with: - python-version: '3.10' + python-version: '3.12' - name: Install dependencies run: . .github/scripts/install.sh From d9c3061aa9f4d64182f01f15b969aa54a6d36d62 Mon Sep 17 00:00:00 2001 From: Peter Ercius Date: Thu, 8 Jan 2026 10:23:39 -0800 Subject: [PATCH 2/2] explicitly build only 3.10 to 3.13 and skip unneeded OS types. --- .github/workflows/build_wheels.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 7d5be5b3..3d0205af 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -10,7 +10,8 @@ on: env: # Only support 64-bit CPython >= 3.10 - CIBW_SKIP: "cp36-* cp37-* cp38-* cp39-* pp* *-manylinux_i686 *-musllinux_* *-win32" + CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*" + CIBW_SKIP: "*-manylinux_i686 *-musllinux_* *-win32" # This has some of the software we need pre-installed on it CIBW_MANYLINUX_X86_64_IMAGE: openchemistry/stempy_wheel_builder_x86_64