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
This commit is contained in:
Dirk Mueller 2024-05-02 07:49:22 +00:00 committed by Git OBS Bridge
parent 5d2e0948b1
commit cdcf7669c1
4 changed files with 19 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:85727c00279f5fa6bedbe6238d2aa6403bedd8b4864ab11207d07df3cc1b2ee5
size 321491

3
jsonschema-4.22.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5b22d434a45935119af990552c862e5d6d564e8f6601206b305a61fdf661a2b7
size 325490

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu May 2 06:40:15 UTC 2024 - Johannes Kastl <git@johannes-kastl.de>
- 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 <opensuse_buildservice@ojkastl.de> Sat Jan 20 17:35:00 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@ -1,5 +1,5 @@
# #
# spec file # spec file for package python-jsonschema
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
@ -33,7 +33,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-jsonschema%{psuffix} Name: python-jsonschema%{psuffix}
Version: 4.21.1 Version: 4.22.0
Release: 0 Release: 0
Summary: An implementation of JSON-Schema validation for Python Summary: An implementation of JSON-Schema validation for Python
License: MIT License: MIT
@ -73,7 +73,7 @@ Requires: alts
BuildRequires: alts BuildRequires: alts
%else %else
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(preun):update-alternatives Requires(preun): update-alternatives
%endif %endif
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages