From 9273a456ae74d128ff3c4e2b84b9cbcc9cade7e8089259ec4351858f17b9be9c Mon Sep 17 00:00:00 2001 From: Johannes Kastl Date: Wed, 16 Nov 2022 07:37:06 +0000 Subject: [PATCH] Accepting request 1035964 from systemsmanagement:ansible OBS-URL: https://build.opensuse.org/request/show/1035964 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonschema?expand=0&rev=56 --- jsonschema-4.16.0.tar.gz | 3 --- jsonschema-4.17.0.tar.gz | 3 +++ python-jsonschema.changes | 8 ++++++++ python-jsonschema.spec | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) delete mode 100644 jsonschema-4.16.0.tar.gz create mode 100644 jsonschema-4.17.0.tar.gz diff --git a/jsonschema-4.16.0.tar.gz b/jsonschema-4.16.0.tar.gz deleted file mode 100644 index 50d36a4..0000000 --- a/jsonschema-4.16.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:165059f076eff6971bae5b742fc029a7b4ef3f9bcf04c14e4776a7605de14b23 -size 292399 diff --git a/jsonschema-4.17.0.tar.gz b/jsonschema-4.17.0.tar.gz new file mode 100644 index 0000000..b72d111 --- /dev/null +++ b/jsonschema-4.17.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5bfcf2bca16a087ade17e02b282d34af7ccd749ef76241e7f9bd7c0cb8a9424d +size 293414 diff --git a/python-jsonschema.changes b/python-jsonschema.changes index 9623bfc..f657f62 100644 --- a/python-jsonschema.changes +++ b/python-jsonschema.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Nov 15 09:56:17 UTC 2022 - Johannes Kastl + +- update to 4.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. + * Make ErrorTree have a more grammatically correct repr. + ------------------------------------------------------------------- Tue Oct 11 21:10:52 UTC 2022 - Ben Greiner diff --git a/python-jsonschema.spec b/python-jsonschema.spec index c92e6bc..5401c39 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -23,7 +23,7 @@ %endif Name: python-jsonschema -Version: 4.16.0 +Version: 4.17.0 Release: 0 Summary: An implementation of JSON-Schema validation for Python License: MIT