Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
- name: Set up Python 3.x
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Install Dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
- name: Set up Python 3.x
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Install Dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
- name: Set up Python 3.x
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Install Dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_flask_jwt_extended.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: '3.x'
- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/type_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.9, '3.10', '3.11', '3.12', '3.13']
python: ['3.10', '3.11', '3.12', '3.13', '3.14']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}
- name: Install Dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.9, '3.10', '3.11', '3.12', '3.13', 'pypy3.9']
python: ['3.10', '3.11', '3.12', '3.13', '3.14', 'pypy3.11']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}
- name: Install Dependencies
Expand Down
2 changes: 2 additions & 0 deletions flask_jwt_extended/tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from typing import Union

import jwt
from jwt.types import Options

from flask_jwt_extended.exceptions import CSRFError
from flask_jwt_extended.exceptions import JWTDecodeError
Expand Down Expand Up @@ -87,6 +88,7 @@ def _decode_jwt(
verify_aud: bool,
verify_sub: bool,
) -> dict:
options: Options
options = {"verify_aud": verify_aud, "verify_sub": verify_sub}
if allow_expired:
options["verify_exp"] = False
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"PyJWT>=2.0,<3.0",
],
extras_require={"asymmetric_crypto": ["cryptography>=3.3.1"]},
python_requires=">=3.9,<4",
python_requires=">=3.10,<4",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py39,py310,py311,py312,py313,pypy3.9,flask21,flask2x,mypy,coverage,style,docs
envlist = py310,py311,py312,py313,py314,pypy3.11,flask21,flask2x,mypy,coverage,style,docs

[testenv]
commands =
Expand Down