Skip to content

Commit 1664988

Browse files
authored
Add support for Python 3.14 (#113)
* Add support for Python 3.14 * Update changelog * Update metadata
1 parent 9108b81 commit 1664988

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

CHANGES.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Versions releases 0.2.x & above
44
0.6.0 (Unreleased)
55
==================
66

7-
see issues #109, #111 & #112
7+
see issues #109, #111, #112 & #113
88

99
- Add support for SQLAlchemy 2.0.
10-
- Add official support for Python 3.12 and 3.13.
10+
- Add official support for Python 3.12, 3.13 and 3.14.
1111
- Remove examples of defunct features from the documentation.
1212

1313
0.5.0 (2025-11-18)

noxfile.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,17 @@
3333
Set up a development environment with a specific Python version:
3434
$ uv run noxfile.py -s dev -P 3.X
3535
"""
36-
from itertools import groupby
3736
import sys
37+
from itertools import groupby
3838

3939
import nox
40+
import requests
4041
from packaging.requirements import Requirement
4142
from packaging.version import Version
42-
import requests
43-
4443

45-
# Python versions supported and tested against: 3.8, 3.9, 3.10, 3.11, 3.12, 3.13
44+
# Python versions supported and tested against: 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, 3.14
4645
PYTHON_MINOR_VERSION_MIN = 8
47-
PYTHON_MINOR_VERSION_MAX = 13
46+
PYTHON_MINOR_VERSION_MAX = 14
4847

4948
nox.options.default_venv_backend = "uv"
5049

@@ -89,7 +88,9 @@ def parametrize_test_versions():
8988
for python_minor in range(PYTHON_MINOR_VERSION_MIN, PYTHON_MINOR_VERSION_MAX + 1)
9089
for sqlalchemy_version in filtered_sqlalchemy_versions
9190
# SQLA 1.1 or below doesn't seem to support Python 3.10+
92-
if sqlalchemy_version >= Version("1.2") or python_minor <= 9]
91+
# SQLA 1.2 doesn't seem to support Python 3.14+
92+
if ((sqlalchemy_version >= Version("1.2") or python_minor <= 9)
93+
and (sqlalchemy_version >= Version("1.3") or python_minor <= 13))]
9394

9495

9596
PARAMETRIZED_TEST_VERSIONS = parametrize_test_versions()

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os
2+
23
from setuptools import setup
34

45
this = os.path.dirname(os.path.realpath(__file__))
@@ -41,6 +42,7 @@ def read(name):
4142
"Programming Language :: Python :: 3.11",
4243
"Programming Language :: Python :: 3.12",
4344
"Programming Language :: Python :: 3.13",
45+
"Programming Language :: Python :: 3.14",
4446
"Framework :: Pyramid",
4547
"Framework :: Flask",
4648
"Topic :: Internet",

0 commit comments

Comments
 (0)