Skip to content

Commit

Permalink
Add Python 3.12 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Oct 18, 2023
1 parent 374d6ab commit b67553b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion src/coaster/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b67553b

Please sign in to comment.