Skip to content

DeprecationWarning in compat.py #694

Closed
@KristianHolsheimer

Description

@KristianHolsheimer

I'm getting deprecation warnings from jsonschema.compat. This would be a pretty quick fix, i.e. just import from collections.abs instead of collections.

This can be reproduced by running:

python3.8 -Wall -c "import jsonschema.compat"

jsonschema/compat.py:6: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions