Description
Hi @p1c2u
Version 0.2.0 introduces a breaking change due to the upgrade of the lower bound for the jsonschema dependency.
You can see this downstream in these packages:
- Incompatible with openapi-schema-validator 0.2.0 openapi-spec-validator#135
- Support jsonschema >= 4.0.0 spec-first/connexion#1430
Restricting the version range of a dependency should be done as a major version update. The iter_errors
change (#25) and accompanying version range restriction also should not have been needed yet for jsonschema 4.0.0, as it only provides a deprecation warning for future versions. The current approach leads to a very narrow range of compatibility with jsonschema and other dependent packages.
My proposal would be to release a patch version 0.2.1 reverting #25 and fixing the upper version of jsonschema to 5.0.0. When jsonschema 5.0.0 is released and the old behavior of iter_errors
removed, #25 can be applied again, and the version range updated to support both 4.X.X and 5.X.X versions.