Failure with Python 3.9 due to use of deprecated collections.Mapping #418
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
google-auth
version: 1.10.0Steps to reproduce
google.oauth2.id_token.verify_oauth2_token()...
Expected results:
decoded ID token
Actual results:
AttributeError: module 'collections' has no attribute 'Mapping'
see full crash at:
AttributeError: module 'collections' has no attribute 'Mapping'
Further details:
collections.Mapping was moved to collections.abc.Mapping in Python 3.3 but mapped back to collections up to Python 3.8. In Python 3.9 the legacy mapping is removed so we break. See:
https://docs.python.org/3/library/collections.html#
The text was updated successfully, but these errors were encountered: