python-jwt icon indicating copy to clipboard operation
python-jwt copied to clipboard

Fix for python 3.10 (collections interface)

Open sharpsgti opened this issue 3 years ago • 1 comments

Change required due to the collections interface starting with Python 3.10.

suggested patch - change this

from collections import Mapping

to this

try:
    from collections.abc import Mapping
except ImportError:
    from collections import Mapping

sharpsgti avatar Sep 15 '22 15:09 sharpsgti

It's about another jwt lib and it was already fixed.

alexanderanchishkin avatar Aug 31 '23 12:08 alexanderanchishkin