From 01e76dd5e694311d6cf561b2173503808745a831 Mon Sep 17 00:00:00 2001 From: Alperen Cetin <22790042+hacetin@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:32:07 +0300 Subject: [PATCH 1/2] Require CPython 3.11+ and add 3.15 to CI Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc0bf86d-2617-4d52-a71f-9652c99c7a00 --- .github/workflows/build.yml | 6 +++--- CHANGELOG.md | 6 ++++++ Cargo.toml | 2 +- pyproject.toml | 5 ++--- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8cb85bc..6c2d905 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -167,7 +167,7 @@ jobs: - macos-14 # arm64 - macos-15-intel # x64 - windows-latest - python: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] + python: ["3.11", "3.12", "3.13", "3.14", "3.15"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -191,8 +191,8 @@ jobs: exit 1 fi for wheel in "${wheels[@]}"; do - [[ "$wheel" == *-cp39-abi3-*.whl ]] || { - echo "::error file=$wheel::Expected a cp39-abi3 wheel" + [[ "$wheel" == *-cp311-abi3-*.whl ]] || { + echo "::error file=$wheel::Expected a cp311-abi3 wheel" exit 1 } done diff --git a/CHANGELOG.md b/CHANGELOG.md index 7788dfd..f549f36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- The SDK now requires CPython 3.11 or newer; Python 3.9 and 3.10 are no + longer supported. Wheels use the `cp311-abi3` tag, and the CI smoke test + matrix covers standard CPython 3.11 through 3.15. + ## [0.3.0] - 2026-11-30 ### Changed diff --git a/Cargo.toml b/Cargo.toml index 320ec0a..88eb8d0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ crate-type = ["cdylib"] [dependencies] duroxide = { version = "0.2.0", features = ["sqlite"] } duroxide-pg = "0.2.0" -pyo3 = { version = "0.23", features = ["extension-module", "abi3-py39"] } +pyo3 = { version = "0.23", features = ["extension-module", "abi3-py311"] } async-trait = "0.1" tokio = { version = "1", features = ["full"] } serde = { version = "1", features = ["derive"] } diff --git a/pyproject.toml b/pyproject.toml index d59595c..d7c07b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,17 +8,16 @@ version = "0.3.0" description = "Python SDK for the Duroxide durable execution runtime" readme = "README.md" license = { text = "MIT" } -requires-python = ">=3.9" +requires-python = ">=3.11" classifiers = [ "Programming Language :: Rust", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", ] [project.optional-dependencies] From 97c63e1adb5dd0d93f96c363377b487c47189b69 Mon Sep 17 00:00:00 2001 From: Alperen Cetin <22790042+hacetin@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:50:56 +0300 Subject: [PATCH 2/2] Use macos-15 for ARM64 wheel smoke tests Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: fc0bf86d-2617-4d52-a71f-9652c99c7a00 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6c2d905..a631142 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -164,7 +164,7 @@ jobs: os: - ubuntu-latest - ubuntu-24.04-arm - - macos-14 # arm64 + - macos-15 # arm64 - macos-15-intel # x64 - windows-latest python: ["3.11", "3.12", "3.13", "3.14", "3.15"]