Skip to content

Bump PyJWT to 2.12.1#574

Open
oomichi-melco wants to merge 2 commits intovimalloc:mainfrom
oomichi-melco:oomichi/update-pyjwt
Open

Bump PyJWT to 2.12.1#574
oomichi-melco wants to merge 2 commits intovimalloc:mainfrom
oomichi-melco:oomichi/update-pyjwt

Conversation

@oomichi-melco
Copy link
Copy Markdown

Close: #573

@vimalloc
Copy link
Copy Markdown
Owner

I'll take a look at these errors and get this merge in. ty

@oomichi-melco
Copy link
Copy Markdown
Author

oomichi-melco commented Apr 27, 2026

I'll take a look at these errors and get this merge in. ty

Thank you so much.
The error is

mypy: commands[0]> mypy flask_jwt_extended/ tests/
flask_jwt_extended/tokens.py:103: error: Argument "options" has incompatible type "dict[str, bool]"; expected "Options | None"  [arg-type]
Found 1 error in 1 file (checked 30 source files)

The corresponding lines are

    decoded_token = jwt.decode(
        encoded_token,
        secret,
        algorithms=algorithms,
        audience=audience,
        issuer=issuer,
        leeway=leeway,
        options=options,
    )  

That might be due to imcompatible change of pyjwt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pyjwt needs to be updated to version 2.12.0 or higher

2 participants