diff --git a/CHANGES.rst b/CHANGES.rst index 34a67ed..996e770 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,10 +4,10 @@ Versions releases 0.2.x & above 0.6.0 (Unreleased) ================== -see issues #109, #111 & #112 +see issues #109, #111, #112 & #113 - Add support for SQLAlchemy 2.0. -- Add official support for Python 3.12 and 3.13. +- Add official support for Python 3.12, 3.13 and 3.14. - Remove examples of defunct features from the documentation. 0.5.0 (2025-11-18) diff --git a/noxfile.py b/noxfile.py index ffdad78..22415be 100644 --- a/noxfile.py +++ b/noxfile.py @@ -33,18 +33,17 @@ Set up a development environment with a specific Python version: $ uv run noxfile.py -s dev -P 3.X """ -from itertools import groupby import sys +from itertools import groupby import nox +import requests from packaging.requirements import Requirement from packaging.version import Version -import requests - -# Python versions supported and tested against: 3.8, 3.9, 3.10, 3.11, 3.12, 3.13 +# Python versions supported and tested against: 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, 3.14 PYTHON_MINOR_VERSION_MIN = 8 -PYTHON_MINOR_VERSION_MAX = 13 +PYTHON_MINOR_VERSION_MAX = 14 nox.options.default_venv_backend = "uv" @@ -89,7 +88,9 @@ def parametrize_test_versions(): for python_minor in range(PYTHON_MINOR_VERSION_MIN, PYTHON_MINOR_VERSION_MAX + 1) for sqlalchemy_version in filtered_sqlalchemy_versions # SQLA 1.1 or below doesn't seem to support Python 3.10+ - if sqlalchemy_version >= Version("1.2") or python_minor <= 9] + # SQLA 1.2 doesn't seem to support Python 3.14+ + if ((sqlalchemy_version >= Version("1.2") or python_minor <= 9) + and (sqlalchemy_version >= Version("1.3") or python_minor <= 13))] PARAMETRIZED_TEST_VERSIONS = parametrize_test_versions() diff --git a/setup.py b/setup.py index a530939..450dfdb 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ import os + from setuptools import setup this = os.path.dirname(os.path.realpath(__file__)) @@ -41,6 +42,7 @@ def read(name): "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Framework :: Pyramid", "Framework :: Flask", "Topic :: Internet",