Compare commits

1 Commits
1.1 ... main

4 changed files with 74 additions and 21 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,3 +1,65 @@
-------------------------------------------------------------------
Thu May 29 05:55:21 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 4.24.0:
* Fix calculation of evaluated properties by @V02460 in #1351
* Support for Python 3.8 has been dropped, as it is end-of-life.
-------------------------------------------------------------------
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> Thu Sep 21 13:30:47 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file # spec file for package python-jsonschema
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -33,13 +33,13 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-jsonschema%{psuffix} Name: python-jsonschema%{psuffix}
Version: 4.19.1 Version: 4.24.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
URL: https://github.com/python-jsonschema/jsonschema URL: https://github.com/python-jsonschema/jsonschema
Source: https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module hatch-fancy-pypi-readme} BuildRequires: %{python_module hatch-fancy-pypi-readme}
BuildRequires: %{python_module hatch_vcs} BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module hatchling} BuildRequires: %{python_module hatchling}
@@ -57,17 +57,8 @@ BuildRequires: git-core
%endif %endif
Requires: python-attrs >= 17.4.0 Requires: python-attrs >= 17.4.0
Requires: python-jsonschema-specifications Requires: python-jsonschema-specifications
Requires: python-pyrsistent >= 0.14.0
Requires: python-referencing Requires: python-referencing
Requires: python-rpds-py Requires: python-rpds-py
%if 0%{python_version_nodots} < 38
Requires: python-importlib-metadata
Requires: python-typing-extensions
%endif
%if 0%{python_version_nodots} < 39
Requires: python-importlib-resources >= 1.4.0
Requires: python-pkgutil-resolve-name >= 1.3.10
%endif
%if %{with libalternatives} %if %{with libalternatives}
Requires: alts Requires: alts
BuildRequires: alts BuildRequires: alts