Skip to content

Commit 09109c8

Browse files
committed
Support python 3.12 and add support for flask 3.0
1 parent 4bac6fe commit 09109c8

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python: [3.7, 3.8, 3.9, '3.10', '3.11', 'pypy3.9']
13+
python: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12', 'pypy3.9']
1414

1515
steps:
1616
- uses: actions/checkout@v3

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ tox
5252
A subset of checks can also be ran by adding an argument to tox. The available
5353
arguments are:
5454

55-
- py37, py38, py39, py310, pypy3
55+
- py37, py38, py39, py310, py311, py312, pypy3
5656
- Run unit tests on the given python version
5757
- mypy
5858
- Run mypy type checking

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
black==21.12b0
22
cryptography==41.0.4
3-
Flask==2.3.2
3+
Flask==3.0.0
44
pre-commit==2.18.1
55
PyJWT==2.7.0
66
tox==3.25.0

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
platforms="any",
3131
install_requires=[
3232
"Werkzeug>=0.14", # Needed for SameSite cookie functionality
33-
"Flask>=2.0,<3.0",
33+
"Flask>=2.0,<4.0",
3434
"PyJWT>=2.0,<3.0",
3535
"typing_extensions>=3.7.4; python_version<'3.8'", # typing.Literal
3636
],
@@ -52,6 +52,7 @@
5252
"Programming Language :: Python :: 3.9",
5353
"Programming Language :: Python :: 3.10",
5454
"Programming Language :: Python :: 3.11",
55+
"Programming Language :: Python :: 3.12",
5556
"Programming Language :: Python :: Implementation :: CPython",
5657
"Programming Language :: Python :: Implementation :: PyPy",
5758
"Topic :: Software Development :: Libraries :: Python Modules",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py37,py38,py39,py310,py311,pypy3.9,flask21,mypy,coverage,style,docs
7+
envlist = py37,py38,py39,py310,py311,py312,pypy3.9,flask21,mypy,coverage,style,docs
88

99
[testenv]
1010
commands =

0 commit comments

Comments
 (0)