Fix instantiating validators with cached refs to boolean schemas
rather than objects (#1018).
Empty strings are not valid relative JSON Pointers (aren't valid under the
RJP format).
Durations without (trailing) units are not valid durations (aren't
valid under the duration format). This involves changing the dependency
used for validating durations (from isoduration to isodate).
The check_schema method on jsonschema.protocols.Validator instances now enables format validation by default when run. This can catch some additional invalid schemas (e.g. containing invalid regular expressions) where the issue is indeed uncovered by validating against the metaschema with format validation enabled as an assertion.
The jsonschema CLI (along with jsonschema.cli the module) are now deprecated. Use check-jsonschema instead, which can be installed via pip install check-jsonschema and found here.
Make ErrorTree have a more grammatically correct repr.
Improve the base URI behavior when resolving a $ref to a resolution URI
which is different from the resolved schema's declared $id.
Accessing jsonschema.draftN_format_checker is deprecated. Instead, if you
want access to the format checker itself, it is exposed as
jsonschema.validators.DraftNValidator.FORMAT_CHECKER on any
jsonschema.protocols.Validator.
Fix instantiating validators with cached refs to boolean schemas
rather than objects (#1018).
v4.17.2
Empty strings are not valid relative JSON Pointers (aren't valid under the
RJP format).
Durations without (trailing) units are not valid durations (aren't
valid under the duration format). This involves changing the dependency
used for validating durations (from isoduration to isodate).
v4.17.1
The error message when using unevaluatedProperties with a non-trivial
schema value (i.e. something other than false) has been improved (#996).
v4.17.0
The check_schema method on jsonschema.protocols.Validator instances
now enables format validation by default when run. This can catch some
additional invalid schemas (e.g. containing invalid regular expressions)
where the issue is indeed uncovered by validating against the metaschema
with format validation enabled as an assertion.
The jsonschema CLI (along with jsonschema.cli the module) are now
deprecated. Use check-jsonschema instead, which can be installed via
pip install check-jsonschema and found
here <https://github.com/python-jsonschema/check-jsonschema>_.
v4.16.1
Make ErrorTree have a more grammatically correct repr.
v4.16.0
Improve the base URI behavior when resolving a $ref to a resolution URI
which is different from the resolved schema's declared $id.
Accessing jsonschema.draftN_format_checker is deprecated. Instead, if you
want access to the format checker itself, it is exposed as
jsonschema.validators.DraftNValidator.FORMAT_CHECKER on any
jsonschema.protocols.Validator.
v4.15.0
... (truncated)
Commits
dbc3982 Fix instantiating validators with cached refs-to-bool schemas.
7ebe161 Try fixing more Sphinx refs which fail only on Ubuntu...
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps jsonschema from 3.2.0 to 4.17.3.
Release notes
Sourced from jsonschema's releases.
... (truncated)
Changelog
Sourced from jsonschema's changelog.
... (truncated)
Commits
dbc3982
Fix instantiating validators with cached refs-to-bool schemas.7ebe161
Try fixing more Sphinx refs which fail only on Ubuntu...cdf0c71
Update pre-commit hooks.e868bfe
Durations without trailing units aren't valid durations.24d1328
Empty strings are not valid relative JSON pointers.bd12369
Minor fix for test case class names (for format tests).fb203a5
Merge commit '97954adeb0fbb3d4499580d897de507d3ab0d919'97954ad
Squashed 'json/' changes from 9251ebff1..78c88827346fdb98
v4.17.1 -> CHANGELOG000dd3d
Remove making believe we are ReadTheDocs in CI builds.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)