jsonschema iter_errors deprecation warnings
gsgrebe opened this issue · 3 comments
gsgrebe commented
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.
p1c2u commented
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 commented
this appears to be resolved (at least in my environment) in openapi-schema-validator-0.3.0
thanks!
p1c2u commented
Thanks for confirming it. Hence closing