From e308dc008a09d1b58a0cd455f8178de688b96ded Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Mon, 12 May 2025 15:50:58 -0400 Subject: [PATCH 1/3] Add CI build for Python 3.14 (dev) --- .github/workflows/ci-build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 20a73240..351bfa8c 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -108,7 +108,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-22.04, windows-2022, macos-13, macos-14 ] - python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ] + python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13', '3.14' ] architecture: [ 'x86', 'x64', 'arm64' ] # Exclude x86 configs on non-Windows OSs exclude: @@ -185,6 +185,7 @@ jobs: python-version: '${{ matrix.python-version }}' architecture: '${{ matrix.architecture }}' cache: 'pip' + allow-prereleases: true - name: Install Python dependencies run: | From 75716006c6184a9618ac21f3199515cd00b5d174 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Thu, 12 Jun 2025 10:13:28 -0400 Subject: [PATCH 2/3] Force cibuildwheel frontend to pip (now defaults to build) --- .github/workflows/ci-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 351bfa8c..bfc0261a 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -151,11 +151,13 @@ jobs: short_name=macos echo "CIBW_BUILD=cp$(echo ${{ matrix.python-version }} | sed 's/\.//')-macosx_$(uname -m)" >> "$GITHUB_ENV" echo "CIBW_BUILD_VERBOSITY=1" >> "$GITHUB_ENV" + echo "CIBW_BUILD_FRONTEND=pip" >> "$GITHUB_ENV" echo "MACOSX_DEPLOYMENT_TARGET=10.10" >> "$GITHUB_ENV" elif [ ${{ matrix.os }} == macos-14 ]; then short_name=macos echo "CIBW_BUILD=cp$(echo ${{ matrix.python-version }} | sed 's/\.//')-macosx_$(uname -m)" >> "$GITHUB_ENV" echo "CIBW_BUILD_VERBOSITY=1" >> "$GITHUB_ENV" + echo "CIBW_BUILD_FRONTEND=pip" >> "$GITHUB_ENV" echo "MACOSX_DEPLOYMENT_TARGET=11.0" >> "$GITHUB_ENV" elif [ ${{ matrix.os }} == windows-2022 ]; then if [ ${{ matrix.architecture }} == x64 ]; then From b6deaa8768a0e95f8a760f76e688d8cda82cab14 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Thu, 12 Jun 2025 10:32:15 -0400 Subject: [PATCH 3/3] Enable CPython prereleases for cibuildwheel --- .github/workflows/ci-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index bfc0261a..56c84f5c 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -152,12 +152,14 @@ jobs: echo "CIBW_BUILD=cp$(echo ${{ matrix.python-version }} | sed 's/\.//')-macosx_$(uname -m)" >> "$GITHUB_ENV" echo "CIBW_BUILD_VERBOSITY=1" >> "$GITHUB_ENV" echo "CIBW_BUILD_FRONTEND=pip" >> "$GITHUB_ENV" + echo "CIBW_ENABLE=cpython-prerelease" >> "$GITHUB_ENV" echo "MACOSX_DEPLOYMENT_TARGET=10.10" >> "$GITHUB_ENV" elif [ ${{ matrix.os }} == macos-14 ]; then short_name=macos echo "CIBW_BUILD=cp$(echo ${{ matrix.python-version }} | sed 's/\.//')-macosx_$(uname -m)" >> "$GITHUB_ENV" echo "CIBW_BUILD_VERBOSITY=1" >> "$GITHUB_ENV" echo "CIBW_BUILD_FRONTEND=pip" >> "$GITHUB_ENV" + echo "CIBW_ENABLE=cpython-prerelease" >> "$GITHUB_ENV" echo "MACOSX_DEPLOYMENT_TARGET=11.0" >> "$GITHUB_ENV" elif [ ${{ matrix.os }} == windows-2022 ]; then if [ ${{ matrix.architecture }} == x64 ]; then