buildtest
buildtest copied to clipboard
Update jsonschema requirement from <4.18 to <4.22
Updates the requirements on jsonschema to permit the latest version.
Release notes
Sourced from jsonschema's releases.
v4.21.1
- Slightly speed up the
contains
keyword by removing some unnecessary validator (re-)creation.Full Changelog: https://github.com/python-jsonschema/jsonschema/compare/v4.21.0...v4.21.1
Changelog
Sourced from jsonschema's changelog.
v4.21.1
- Slightly speed up the
contains
keyword by removing some unnecessary validator (re-)creation.v4.21.0
- Fix the behavior of
enum
in the presence of0
or1
to properly considerTrue
andFalse
unequal (#1208).- Special case the error message for
{min,max}{Items,Length,Properties}
when they're checking for emptiness rather than true length.v4.20.0
- Properly consider items (and properties) to be evaluated by
unevaluatedItems
(resp.unevaluatedProperties
) when behind a$dynamicRef
as specified by the 2020 and 2019 specifications.jsonschema.exceptions.ErrorTree.__setitem__
is now deprecated. More broadly, in general users ofjsonschema
should never be mutating objects owned by the library.v4.19.2
- Fix the error message for additional items when used with heterogeneous arrays.
- Don't leak the
additionalItems
keyword into JSON Schema draft 2020-12, where it was replaced byitems
.v4.19.1
- Single label hostnames are now properly considered valid according to the
hostname
format. This is the behavior specified by the relevant RFC (1123). IDN hostname behavior was already correct.v4.19.0
- Importing the
Validator
protocol directly from the package root is deprecated. Import it fromjsonschema.protocols.Validator
instead.- Automatic retrieval of remote references (which is still deprecated) now properly succeeds even if the retrieved resource does not declare which version of JSON Schema it uses. Such resources are assumed to be 2020-12 schemas. This more closely matches the pre-referencing library behavior.
v4.18.6
- Set a
jsonschema
specific user agent when automatically retrieving remote references (which is deprecated).v4.18.5
- Declare support for Py3.12
... (truncated)
Commits
aa53fd0
Slightly speed up the contains keyword.c9e2029
perf -> bench31dec3d
Update the CHANGELOG.8875c2e
Also improve min{Length,Properties}'s error message.74dfd48
Squashed 'json/' changes from 217bf81b..544f7c3d3e46f22
Merge pull request #1208 from otto-ifak/fix_enume45be0b
Update docs requirements.6b4441e
New ruff fixed some bugs.c7a37f2
Merge pull request #1209 from python-jsonschema/pre-commit-ci-update-config1b72180
[pre-commit.ci] pre-commit autoupdate- Additional commits viewable in compare view
You can trigger a rebase of this PR 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 show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@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)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
d878c59
) 78.49% compared to head (830d365
) 78.49%. Report is 1 commits behind head on devel.
Additional details and impacted files
@@ Coverage Diff @@
## devel #1690 +/- ##
=======================================
Coverage 78.49% 78.49%
=======================================
Files 56 56
Lines 6323 6323
=======================================
Hits 4963 4963
Misses 1360 1360
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Superseded by #1771.