Sync from SUSE:SLFO:Main python-jsonschema revision 8d07a4b1ee3de7d6bda05325f05da2b1

This commit is contained in:
Adrian Schröter 2024-12-13 11:39:40 +01:00
parent 5bc7cf464b
commit 1e0355678e
4 changed files with 66 additions and 11 deletions

BIN
jsonschema-4.19.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
jsonschema-4.23.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,58 @@
-------------------------------------------------------------------
Thu Jul 11 19:39:45 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 4.23.0:
* Add some typing to the exceptions.py module by @DanielNoord in
#1019
* Declare support for 3.13 by @rominf in #1282
-------------------------------------------------------------------
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>
- update to 4.21.1:
* Slightly speed up the contains keyword by removing some
unnecessary validator (re-)creation.
-------------------------------------------------------------------
Wed Jan 17 07:29:22 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 4.21.0:
* Wrong behaviour for enum keyword by @otto-ifak in
https://github.com/python-jsonschema/jsonschema/pull/1208
------------------------------------------------------------------
Fri Nov 17 05:46:35 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- update to 4.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 of jsonschema should never be
mutating objects owned by the library.
-------------------------------------------------------------------
Mon Oct 30 15:32:48 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- update tp 4.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 by items.
-------------------------------------------------------------------
Thu Sep 21 13:30:47 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
@ -379,7 +434,7 @@ Tue Apr 26 11:54:11 UTC 2022 - Ben Greiner <code@bnavigator.de>
-------------------------------------------------------------------
Sun Aug 22 21:08:31 UTC 2021 - Stefan Schubert <schubi@suse.de>
- Use libalternatives instead of update-alternatives.
- Use libalternatives instead of update-alternatives.
-------------------------------------------------------------------
Tue May 25 07:59:29 UTC 2021 - pgajdos@suse.com
@ -434,7 +489,7 @@ Tue Sep 17 05:31:26 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
* Fixed a bug where 0 and False were considered equal by
const and enum
- from v3.0.1
* Fixed a bug where extending validators did not preserve their
* Fixed a bug where extending validators did not preserve their
notion of which validator property contains $id information.
- from v3.0.0
* Support for Draft 6 and Draft 7
@ -532,7 +587,7 @@ Mon Sep 15 10:57:54 UTC 2014 - tbechtold@suse.com
-------------------------------------------------------------------
Thu Feb 13 10:27:36 UTC 2014 - dmueller@suse.com
- remove dependency on unittest2
- remove dependency on unittest2
-------------------------------------------------------------------
Mon Oct 21 13:30:13 UTC 2013 - dmueller@suse.com
@ -572,7 +627,7 @@ Sat Apr 13 10:11:29 UTC 2013 - toddrme2178@gmail.com
-------------------------------------------------------------------
Mon Feb 25 09:17:22 UTC 2013 - p.drouand@gmail.com
- Add python3 support
- Add python3 support
Tests with python3 fails for instance
-------------------------------------------------------------------

View File

@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-jsonschema
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -33,7 +33,7 @@
%{?sle15_python_module_pythons}
Name: python-jsonschema%{psuffix}
Version: 4.19.1
Version: 4.23.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