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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LuisCor
Copy link

@LuisCor LuisCor commented Apr 10, 2021

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