From f1a4acb64104512922bdec43e3208aad4398e0f6 Mon Sep 17 00:00:00 2001 From: David Seddon Date: Fri, 7 Aug 2026 11:17:53 +0100 Subject: [PATCH] Add support for Python 3.14t These are the tests for freethreaded Python 3.14. 3.13t is not supported by PyO3, so we don't either. --- .github/workflows/main.yml | 2 +- .github/workflows/release.yml | 4 ++++ CHANGELOG.rst | 1 + justfile | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 70a95bd2..278924b8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,7 +39,7 @@ jobs: strategy: matrix: python-version: [ - "3.10", "3.11", "3.12", "3.13", "3.14" + "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t" ] os: [ubuntu-latest, macos-latest, windows-latest] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3cb79dde..aead1ab7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,6 +42,7 @@ jobs: 3.12 3.13 3.14 + 3.14t allow-prereleases: true - name: Build wheels uses: PyO3/maturin-action@v1 @@ -79,6 +80,7 @@ jobs: 3.12 3.13 3.14 + 3.14t allow-prereleases: true - name: Build wheels uses: PyO3/maturin-action@v1 @@ -112,6 +114,7 @@ jobs: 3.12 3.13 3.14 + 3.14t allow-prereleases: true architecture: ${{ matrix.platform.target }} - name: Build wheels @@ -145,6 +148,7 @@ jobs: 3.12 3.13 3.14 + 3.14t allow-prereleases: true - name: Build wheels uses: PyO3/maturin-action@v1 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b79eba5a..aedaf2a6 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,6 +7,7 @@ latest * Fix panic error when scanning imports of nonexistent namespace children (https://github.com/python-grimp/grimp/issues/308). +* Officially support freethreaded Python 3.14. 3.15 (2026-07-03) ----------------- diff --git a/justfile b/justfile index bcc4a4e4..6cb864a7 100644 --- a/justfile +++ b/justfile @@ -38,6 +38,7 @@ test-all: just test-python 3.12 just test-python 3.13 just test-python 3.14 + just test-python 3.14t just test-rust # Populate missing Syrupy snapshots.