diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index ca46e38b..f54f78bb 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.9', '3.10', '3.11', '3.12'] services: redis: diff --git a/pyproject.toml b/pyproject.toml index 6aa22a4a..7e5f9f3c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ classifiers = [ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Framework :: Flask', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', diff --git a/src/coaster/app.py b/src/coaster/app.py index 3efc67a7..ab13c6a2 100644 --- a/src/coaster/app.py +++ b/src/coaster/app.py @@ -244,7 +244,7 @@ def init_app( .. note:: YAML support requires PyYAML_. TOML requires toml_ with Flask 2.2, or tomli_ - with Flask 2.3, or Python's inbuilt tomllib_ with Flask 2.3 and Python 3.11. + with Flask 2.3, or Python's inbuilt tomllib_ with Flask 2.3 and Python 3.11+. tomli_ and tomllib_ are not compatible with Flask 2.2 as they require the file to be opened in binary mode, an optional flag introduced in Flask 2.3.