From cdcf7669c17f3d319952eac012c7bd187b30213e063da839f526a4bdfddb252a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 2 May 2024 07:49:22 +0000 Subject: [PATCH] Accepting request 1171243 from home:ojkastl_buildservice:Branch_devel_languages_python update to 4.22.0 OBS-URL: https://build.opensuse.org/request/show/1171243 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonschema?expand=0&rev=82 --- jsonschema-4.21.1.tar.gz | 3 --- jsonschema-4.22.0.tar.gz | 3 +++ python-jsonschema.changes | 13 +++++++++++++ python-jsonschema.spec | 6 +++--- 4 files changed, 19 insertions(+), 6 deletions(-) delete mode 100644 jsonschema-4.21.1.tar.gz create mode 100644 jsonschema-4.22.0.tar.gz diff --git a/jsonschema-4.21.1.tar.gz b/jsonschema-4.21.1.tar.gz deleted file mode 100644 index 58dad83..0000000 --- a/jsonschema-4.21.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:85727c00279f5fa6bedbe6238d2aa6403bedd8b4864ab11207d07df3cc1b2ee5 -size 321491 diff --git a/jsonschema-4.22.0.tar.gz b/jsonschema-4.22.0.tar.gz new file mode 100644 index 0000000..9e20268 --- /dev/null +++ b/jsonschema-4.22.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b22d434a45935119af990552c862e5d6d564e8f6601206b305a61fdf661a2b7 +size 325490 diff --git a/python-jsonschema.changes b/python-jsonschema.changes index 9d71e62..4ee85ee 100644 --- a/python-jsonschema.changes +++ b/python-jsonschema.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu May 2 06:40:15 UTC 2024 - Johannes Kastl + +- update to 4.22.0: + * Improve best_match (and thereby error messages from + jsonschema.validate) in cases where there are multiple sibling + errors from applying anyOf / allOf -- i.e. when multiple + elements of a JSON array have errors, we now do prefer showing + errors from earlier elements rather than simply showing an + error for the full array (#1250). + * (Micro-)optimize equality checks when comparing for JSON Schema + equality by first checking for object identity, as == would. + ------------------------------------------------------------------- Sat Jan 20 17:35:00 UTC 2024 - Johannes Kastl diff --git a/python-jsonschema.spec b/python-jsonschema.spec index fdebc90..57f3ebb 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package python-jsonschema # # Copyright (c) 2024 SUSE LLC # @@ -33,7 +33,7 @@ %{?sle15_python_module_pythons} Name: python-jsonschema%{psuffix} -Version: 4.21.1 +Version: 4.22.0 Release: 0 Summary: An implementation of JSON-Schema validation for Python License: MIT @@ -73,7 +73,7 @@ Requires: alts BuildRequires: alts %else Requires(post): update-alternatives -Requires(preun):update-alternatives +Requires(preun): update-alternatives %endif BuildArch: noarch %python_subpackages