From 010d364b79e967a4c29830c2525cac33ab4342de Mon Sep 17 00:00:00 2001 From: Giovanni Barillari Date: Fri, 27 Jun 2025 17:58:19 +0200 Subject: [PATCH] Add Python 3.14 support (#617) --- .github/workflows/build.yml | 26 +++++++++++++------------- .github/workflows/release.yml | 26 +++++++++++++------------- .github/workflows/test.yml | 6 ++++++ pyproject.toml | 1 + 4 files changed, 33 insertions(+), 26 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8c66e9a..05f4778 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,7 @@ name: build on: workflow_dispatch env: - PY_ALL: 3.9 3.10 3.11 3.12 3.13 3.13t pypy3.9 pypy3.10 pypy3.11 + PY_ALL: 3.9 3.10 3.11 3.12 3.13 3.13t 3.14 3.14t pypy3.9 pypy3.10 pypy3.11 jobs: wheels: @@ -19,33 +19,33 @@ jobs: - os: ubuntu platform: linux target: x86_64 - interpreter: 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 pypy3.11 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 pypy3.9 pypy3.10 pypy3.11 - os: ubuntu platform: linux target: x86_64 - interpreter: 3.13t + interpreter: 3.13t 3.14t allocator: mimalloc - os: ubuntu platform: linux target: i686 - interpreter: 3.9 3.10 3.11 3.12 3.13 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 - os: ubuntu platform: linux target: aarch64 # rust-cross/manylinux2014-cross:aarch64 has issues with `ring` container: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64 - interpreter: 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 pypy3.11 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 pypy3.9 pypy3.10 pypy3.11 - os: ubuntu platform: linux target: aarch64 # rust-cross/manylinux2014-cross:aarch64 has issues with `ring` container: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64 - interpreter: 3.13t + interpreter: 3.13t 3.14t allocator: mimalloc - os: ubuntu platform: linux target: armv7 - interpreter: 3.9 3.10 3.11 3.12 3.13 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 - os: ubuntu platform: linux target: x86_64 @@ -63,24 +63,24 @@ jobs: allocator: mimalloc - os: macos target: x86_64 - interpreter: 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 pypy3.11 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 pypy3.9 pypy3.10 pypy3.11 - os: macos target: x86_64 - interpreter: 3.13t + interpreter: 3.13t 3.14t allocator: mimalloc - os: macos target: aarch64 - interpreter: 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 pypy3.11 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 pypy3.9 pypy3.10 pypy3.11 - os: macos target: aarch64 - interpreter: 3.13t + interpreter: 3.13t 3.14t allocator: mimalloc - os: windows target: x86_64 - interpreter: 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 pypy3.11 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 pypy3.9 pypy3.10 pypy3.11 - os: windows target: x86_64 - interpreter: 3.13t + interpreter: 3.13t 3.14t allocator: mimalloc exclude: - os: windows diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c03bda5..ad16956 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: - v*.*.* env: - PY_ALL: 3.9 3.10 3.11 3.12 3.13 3.13t pypy3.9 pypy3.10 pypy3.11 + PY_ALL: 3.9 3.10 3.11 3.12 3.13 3.13t 3.14 3.14t pypy3.9 pypy3.10 pypy3.11 jobs: sdist: @@ -38,33 +38,33 @@ jobs: - os: ubuntu platform: linux target: x86_64 - interpreter: 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 pypy3.11 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 pypy3.9 pypy3.10 pypy3.11 - os: ubuntu platform: linux target: x86_64 - interpreter: 3.13t + interpreter: 3.13t 3.14t allocator: mimalloc - os: ubuntu platform: linux target: i686 - interpreter: 3.9 3.10 3.11 3.12 3.13 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 - os: ubuntu platform: linux target: aarch64 # rust-cross/manylinux2014-cross:aarch64 has issues with `ring` container: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64 - interpreter: 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 pypy3.11 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 pypy3.9 pypy3.10 pypy3.11 - os: ubuntu platform: linux target: aarch64 # rust-cross/manylinux2014-cross:aarch64 has issues with `ring` container: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64 - interpreter: 3.13t + interpreter: 3.13t 3.14t allocator: mimalloc - os: ubuntu platform: linux target: armv7 - interpreter: 3.9 3.10 3.11 3.12 3.13 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 - os: ubuntu platform: linux target: x86_64 @@ -82,24 +82,24 @@ jobs: allocator: mimalloc - os: macos target: x86_64 - interpreter: 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 pypy3.11 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 pypy3.9 pypy3.10 pypy3.11 - os: macos target: x86_64 - interpreter: 3.13t + interpreter: 3.13t 3.14t allocator: mimalloc - os: macos target: aarch64 - interpreter: 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 pypy3.11 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 pypy3.9 pypy3.10 pypy3.11 - os: macos target: aarch64 - interpreter: 3.13t + interpreter: 3.13t 3.14t allocator: mimalloc - os: windows target: x86_64 - interpreter: 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 pypy3.11 + interpreter: 3.9 3.10 3.11 3.12 3.13 3.14 pypy3.9 pypy3.10 pypy3.11 - os: windows target: x86_64 - interpreter: 3.13t + interpreter: 3.13t 3.14t allocator: mimalloc exclude: - os: windows diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9ba7c32..8f347ca 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,6 +22,8 @@ jobs: - '3.12' - '3.13' - '3.13t' + - '3.14' + - '3.14t' - pypy3.11 env: @@ -54,6 +56,8 @@ jobs: - '3.12' - '3.13' - '3.13t' + - '3.14' + - '3.14t' env: UV_PYTHON: ${{ matrix.python-version }} @@ -85,6 +89,8 @@ jobs: - '3.12' - '3.13' - '3.13t' + - '3.14' + - '3.14t' env: UV_PYTHON: ${{ matrix.python-version }} diff --git a/pyproject.toml b/pyproject.toml index ed17ff3..44fb5ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,7 @@ classifiers = [ 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Programming Language :: Python',