When trying to use flask-jwt with a python version +3.10 (just importing jwt) returns an error, when trying to import collection.Mapping. Is using it inside the following files:
api_jwt.py
api_jws.py
For the version of python 3.9 only shows a warning when trying to import it:
from collections import Mapping
<stdin>:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
For the version of python +3.10 the import should be change to the following
When trying to use flask-jwt with a python version +3.10 (just importing
jwt
) returns an error, when trying to import collection.Mapping. Is using it inside the following files:For the version of python 3.9 only shows a warning when trying to import it:
For the version of python +3.10 the import should be change to the following