Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jsonschema iter_errors deprecation warnings #22

Closed
gsgrebe opened this issue Nov 19, 2021 · 3 comments
Closed

jsonschema iter_errors deprecation warnings #22

gsgrebe opened this issue Nov 19, 2021 · 3 comments

Comments

@gsgrebe
Copy link

gsgrebe commented Nov 19, 2021

jsonschema>=4.0.0 has deprecated passing a second-argument schema to Validator.iter_errors

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.
gsgrebe added a commit to gsgrebe/openapi-schema-validator that referenced this issue Nov 19, 2021
@gsgrebe gsgrebe mentioned this issue Nov 19, 2021
gsgrebe added a commit to gsgrebe/openapi-schema-validator that referenced this issue Nov 19, 2021
@p1c2u
Copy link
Collaborator

p1c2u commented Jan 25, 2022

It will be fixed in version 0.3.x which is dependent on jsonschema4+
Version 0.2.x will support jsonschema 3 and 4.

@isi-mfurer
Copy link

this appears to be resolved (at least in my environment) in openapi-schema-validator-0.3.0

thanks!

@p1c2u
Copy link
Collaborator

p1c2u commented Jun 24, 2022

Thanks for confirming it. Hence closing

@p1c2u p1c2u closed this as completed Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants