Skip to content

Deprecation warning for jsonschema @ 4.0.0 #134

Closed
@nikitagashkov

Description

@nikitagashkov

Hello @p1c2u, thanks for your library. I've recently performed a scheduled dependencies upgrade and encountered the following warning:

...

  /Users/.../lib/python3.9/site-packages/jsonschema/validators.py:190: DeprecationWarning: Passing a schema to Validator.iter_errors is deprecated and will be removed in a future release. Call validator.evolve(schema=new_schema).iter_errors(...) instead.
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/warnings.html

Looks like jsonschema starting from v4.0.0 deprecates one of theirs API used: https://github.com/Julian/jsonschema/releases/tag/v4.0.0

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