mirror of
https://github.com/emmett-framework/granian.git
synced 2025-07-07 19:35:33 +00:00
Add Python 3.14 support (#617)
This commit is contained in:
parent
d535571c0a
commit
010d364b79
4 changed files with 33 additions and 26 deletions
26
.github/workflows/build.yml
vendored
26
.github/workflows/build.yml
vendored
|
@ -3,7 +3,7 @@ name: build
|
||||||
on: workflow_dispatch
|
on: workflow_dispatch
|
||||||
|
|
||||||
env:
|
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:
|
jobs:
|
||||||
wheels:
|
wheels:
|
||||||
|
@ -19,33 +19,33 @@ jobs:
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: x86_64
|
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
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: x86_64
|
target: x86_64
|
||||||
interpreter: 3.13t
|
interpreter: 3.13t 3.14t
|
||||||
allocator: mimalloc
|
allocator: mimalloc
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: i686
|
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
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: aarch64
|
target: aarch64
|
||||||
# rust-cross/manylinux2014-cross:aarch64 has issues with `ring`
|
# rust-cross/manylinux2014-cross:aarch64 has issues with `ring`
|
||||||
container: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64
|
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
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: aarch64
|
target: aarch64
|
||||||
# rust-cross/manylinux2014-cross:aarch64 has issues with `ring`
|
# rust-cross/manylinux2014-cross:aarch64 has issues with `ring`
|
||||||
container: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64
|
container: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64
|
||||||
interpreter: 3.13t
|
interpreter: 3.13t 3.14t
|
||||||
allocator: mimalloc
|
allocator: mimalloc
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: armv7
|
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
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: x86_64
|
target: x86_64
|
||||||
|
@ -63,24 +63,24 @@ jobs:
|
||||||
allocator: mimalloc
|
allocator: mimalloc
|
||||||
- os: macos
|
- os: macos
|
||||||
target: x86_64
|
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
|
- os: macos
|
||||||
target: x86_64
|
target: x86_64
|
||||||
interpreter: 3.13t
|
interpreter: 3.13t 3.14t
|
||||||
allocator: mimalloc
|
allocator: mimalloc
|
||||||
- os: macos
|
- os: macos
|
||||||
target: aarch64
|
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
|
- os: macos
|
||||||
target: aarch64
|
target: aarch64
|
||||||
interpreter: 3.13t
|
interpreter: 3.13t 3.14t
|
||||||
allocator: mimalloc
|
allocator: mimalloc
|
||||||
- os: windows
|
- os: windows
|
||||||
target: x86_64
|
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
|
- os: windows
|
||||||
target: x86_64
|
target: x86_64
|
||||||
interpreter: 3.13t
|
interpreter: 3.13t 3.14t
|
||||||
allocator: mimalloc
|
allocator: mimalloc
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows
|
- os: windows
|
||||||
|
|
26
.github/workflows/release.yml
vendored
26
.github/workflows/release.yml
vendored
|
@ -6,7 +6,7 @@ on:
|
||||||
- v*.*.*
|
- v*.*.*
|
||||||
|
|
||||||
env:
|
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:
|
jobs:
|
||||||
sdist:
|
sdist:
|
||||||
|
@ -38,33 +38,33 @@ jobs:
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: x86_64
|
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
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: x86_64
|
target: x86_64
|
||||||
interpreter: 3.13t
|
interpreter: 3.13t 3.14t
|
||||||
allocator: mimalloc
|
allocator: mimalloc
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: i686
|
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
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: aarch64
|
target: aarch64
|
||||||
# rust-cross/manylinux2014-cross:aarch64 has issues with `ring`
|
# rust-cross/manylinux2014-cross:aarch64 has issues with `ring`
|
||||||
container: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64
|
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
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: aarch64
|
target: aarch64
|
||||||
# rust-cross/manylinux2014-cross:aarch64 has issues with `ring`
|
# rust-cross/manylinux2014-cross:aarch64 has issues with `ring`
|
||||||
container: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64
|
container: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64
|
||||||
interpreter: 3.13t
|
interpreter: 3.13t 3.14t
|
||||||
allocator: mimalloc
|
allocator: mimalloc
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: armv7
|
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
|
- os: ubuntu
|
||||||
platform: linux
|
platform: linux
|
||||||
target: x86_64
|
target: x86_64
|
||||||
|
@ -82,24 +82,24 @@ jobs:
|
||||||
allocator: mimalloc
|
allocator: mimalloc
|
||||||
- os: macos
|
- os: macos
|
||||||
target: x86_64
|
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
|
- os: macos
|
||||||
target: x86_64
|
target: x86_64
|
||||||
interpreter: 3.13t
|
interpreter: 3.13t 3.14t
|
||||||
allocator: mimalloc
|
allocator: mimalloc
|
||||||
- os: macos
|
- os: macos
|
||||||
target: aarch64
|
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
|
- os: macos
|
||||||
target: aarch64
|
target: aarch64
|
||||||
interpreter: 3.13t
|
interpreter: 3.13t 3.14t
|
||||||
allocator: mimalloc
|
allocator: mimalloc
|
||||||
- os: windows
|
- os: windows
|
||||||
target: x86_64
|
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
|
- os: windows
|
||||||
target: x86_64
|
target: x86_64
|
||||||
interpreter: 3.13t
|
interpreter: 3.13t 3.14t
|
||||||
allocator: mimalloc
|
allocator: mimalloc
|
||||||
exclude:
|
exclude:
|
||||||
- os: windows
|
- os: windows
|
||||||
|
|
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -22,6 +22,8 @@ jobs:
|
||||||
- '3.12'
|
- '3.12'
|
||||||
- '3.13'
|
- '3.13'
|
||||||
- '3.13t'
|
- '3.13t'
|
||||||
|
- '3.14'
|
||||||
|
- '3.14t'
|
||||||
- pypy3.11
|
- pypy3.11
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
@ -54,6 +56,8 @@ jobs:
|
||||||
- '3.12'
|
- '3.12'
|
||||||
- '3.13'
|
- '3.13'
|
||||||
- '3.13t'
|
- '3.13t'
|
||||||
|
- '3.14'
|
||||||
|
- '3.14t'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
UV_PYTHON: ${{ matrix.python-version }}
|
UV_PYTHON: ${{ matrix.python-version }}
|
||||||
|
@ -85,6 +89,8 @@ jobs:
|
||||||
- '3.12'
|
- '3.12'
|
||||||
- '3.13'
|
- '3.13'
|
||||||
- '3.13t'
|
- '3.13t'
|
||||||
|
- '3.14'
|
||||||
|
- '3.14t'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
UV_PYTHON: ${{ matrix.python-version }}
|
UV_PYTHON: ${{ matrix.python-version }}
|
||||||
|
|
|
@ -16,6 +16,7 @@ classifiers = [
|
||||||
'Programming Language :: Python :: 3.11',
|
'Programming Language :: Python :: 3.11',
|
||||||
'Programming Language :: Python :: 3.12',
|
'Programming Language :: Python :: 3.12',
|
||||||
'Programming Language :: Python :: 3.13',
|
'Programming Language :: Python :: 3.13',
|
||||||
|
'Programming Language :: Python :: 3.14',
|
||||||
'Programming Language :: Python :: Implementation :: CPython',
|
'Programming Language :: Python :: Implementation :: CPython',
|
||||||
'Programming Language :: Python :: Implementation :: PyPy',
|
'Programming Language :: Python :: Implementation :: PyPy',
|
||||||
'Programming Language :: Python',
|
'Programming Language :: Python',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue