pallets-eco / flask-jwt

JWT (JSON Web Tokens) for Flask applications
MIT License
564 stars 177 forks source link

Changed requirements.txt for PyJWT #151

Closed Sagar231 closed 1 year ago

Sagar231 commented 1 year ago

There is an issue https://github.com/mattupstate/flask-jwt/issues/147#issue-1063137607 (collections doesn't have mapping)

requirements.txt is the main issue here. Cause I searched for the root cause. The PyJWT module is up to date. they have version 2.6.0 available. But in requirements.txt here says that the version we need is >1.5.0 which is restricting the module to work with the updated version of PyJWT. The collections module is already changed to collections.abc in PyJWT which is the error it shows while working with flask_jwt. So please review this PR and fix this small bug which is causing a lot of problems while working with flask_jwt. And let me know if I need to fix anything else related to this issue.