Skip to content
This repository was archived by the owner on Sep 27, 2022. It is now read-only.

Fixes PyJWT and Flask-JWT-Extended version incompatiblity#42

Open
LuisCor wants to merge 1 commit into
gothinkster:masterfrom
LuisCor:master
Open

Fixes PyJWT and Flask-JWT-Extended version incompatiblity#42
LuisCor wants to merge 1 commit into
gothinkster:masterfrom
LuisCor:master

Conversation

@LuisCor

@LuisCor LuisCor commented Apr 10, 2021

Copy link
Copy Markdown

Running the current version of the projects results in the following error:
ImportError: cannot import name 'jwt_optional' from 'flask_jwt_extended' (/opt/homebrew/lib/python3.9/site-packages/flask_jwt_extended/__init__.py)

This is because of an issue between Flask-JWT-Extended and PyJWT versions documented at :vimalloc/flask-jwt-extended#204

The pull request sets Flask-JWT-Extended and PyJWT to versions 3.13.1 and 1.6.1 respectively, fixing the issue.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants