python-labthings
python-labthings copied to clipboard
Bump jsonschema from 3.2.0 to 4.0.0
Bumps jsonschema from 3.2.0 to 4.0.0.
Release notes
Sourced from jsonschema's releases.
v4.0.0
- Partial support for Draft 2020-12 (as well as 2019-09). Thanks to Thomas Schmidt and Harald Nezbeda.
Falseand0are now properly considered non-equal even recursively within a container (#686). As part of this change,uniqueItemsvalidation may be slower in some cases. Please feel free to report any significant performance regressions, though in some cases they may be difficult to address given the specification requirement.- The CLI has been improved, and in particular now supports a
--outputoption (withplain(default) orprettyarguments) to control the output format. Future work may add additional machine-parsable output formats.- Code surrounding
DEFAULT_TYPESand the legacy mechanism for specifying types to validators have been removed, as per the deprecation policy. Validators should use theTypeCheckerobject to customize the set of Python types corresponding to JSON Schema types.- Validation errors now have a
json_pathattribute, describing their location in JSON path format- Support for the IP address and domain name formats has been improved
- Support for Python 2 has been dropped, with
python_requiresproperly set.multipleOfcould overflow when given sufficiently large numbers. Now, when an overflow occurs,jsonschemawill fall back to using fraction division (#746).jsonschema.__version__,jsonschema.validators.validators,jsonschema.validators.meta_schemasandjsonschema.RefResolver.in_scopehave been deprecated, as has passing a second-argument schema toValidator.iter_errorsandValidator.is_valid.
Changelog
Sourced from jsonschema's changelog.
v4.0.0
- Partial support for Draft 2020-12 (as well as 2019-09). Thanks to Thomas Schmidt and Harald Nezbeda.
Falseand0are now properly considered non-equal even recursively within a container (#686). As part of this change,uniqueItemsvalidation may be slower in some cases. Please feel free to report any significant performance regressions, though in some cases they may be difficult to address given the specification requirement.- The CLI has been improved, and in particular now supports a
--outputoption (withplain(default) orprettyarguments) to control the output format. Future work may add additional machine-parsable output formats.- Code surrounding
DEFAULT_TYPESand the legacy mechanism for specifying types to validators have been removed, as per the deprecation policy. Validators should use theTypeCheckerobject to customize the set of Python types corresponding to JSON Schema types.- Validation errors now have a
json_pathattribute, describing their location in JSON path format- Support for the IP address and domain name formats has been improved
- Support for Python 2 has been dropped, with
python_requiresproperly set.multipleOfcould overflow when given sufficiently large numbers. Now, when an overflow occurs,jsonschemawill fall back to using fraction division (#746).jsonschema.__version__,jsonschema.validators.validators,jsonschema.validators.meta_schemasandjsonschema.RefResolver.in_scopehave been deprecated, as has passing a second-argument schema toValidator.iter_errorsandValidator.is_valid.
Commits
86e41f3Style38b4c60Remove the added argument to jsonschema.validators.create. ...1790fccMake it clear that support for draft2020-12 is partial unfortunately.f91f3ecMerge pull request #841 from hugovk/rm-universal3da1fcfIgnore build files97057edNo need to build universal wheels for Python 3-onlydbda4f7Merge pull request #834 from Julian/pre-commit-ci-update-configff5670c[pre-commit.ci] pre-commit autoupdate836db7cDeprecate jsonschema.validators.validators and .meta_schemas.1d275e9Style- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)