Compare commits

1 Commits
main ... 1.1

4 changed files with 21 additions and 74 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,65 +1,3 @@
-------------------------------------------------------------------
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>
@@ -441,7 +379,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
@@ -496,7 +434,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
@@ -594,7 +532,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
@@ -634,7 +572,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 for package python-jsonschema
# spec file
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -33,13 +33,13 @@
%{?sle15_python_module_pythons}
Name: python-jsonschema%{psuffix}
Version: 4.24.0
Version: 4.19.1
Release: 0
Summary: An implementation of JSON-Schema validation for Python
License: MIT
URL: https://github.com/python-jsonschema/jsonschema
Source: https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatch-fancy-pypi-readme}
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module hatchling}
@@ -57,14 +57,23 @@ BuildRequires: git-core
%endif
Requires: python-attrs >= 17.4.0
Requires: python-jsonschema-specifications
Requires: python-pyrsistent >= 0.14.0
Requires: python-referencing
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}
Requires: alts
BuildRequires: alts
%else
Requires(post): update-alternatives
Requires(preun): update-alternatives
Requires(preun):update-alternatives
%endif
BuildArch: noarch
%python_subpackages