Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jsonschema for
openSUSE:Factory checked in at 2022-09-27 20:13:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
and /work/SRC/openSUSE:Factory/.python-jsonschema.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jsonschema"
Tue Sep 27 20:13:11 2022 rev:31 rq:1006033 version:4.10.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes
2022-08-04 13:23:34.932518873 +0200
+++
/work/SRC/openSUSE:Factory/.python-jsonschema.new.2275/python-jsonschema.changes
2022-09-27 20:13:12.945732412 +0200
@@ -1,0 +2,58 @@
+Mon Sep 26 05:00:38 UTC 2022 - Johannes Kastl <[email protected]>
+
+- update to 4.10.3:
+ - jsonschema.validators.validator_for now properly uses the explicitly
+ provided default validator even if the $schema URI is not found.
+
+-------------------------------------------------------------------
+Mon Sep 26 04:56:19 UTC 2022 - Johannes Kastl <[email protected]>
+
+- update to 4.10.2:
+ - Fix a second place where subclasses may have added attrs attributes (#982).
+
+-------------------------------------------------------------------
+Sun Sep 25 17:47:32 UTC 2022 - Johannes Kastl <[email protected]>
+
+- update to 4.10.1:
+ - Fix Validator.evolve (and APIs like iter_errors which call it) for cases
+ where the validator class has been subclassed. Doing so wasn't intended to
be
+ public API, but given it didn't warn or raise an error it's of course
+ understandable. The next release however will make it warn (and a future
one
+ will make it error). If you need help migrating usage of inheriting from a
+ validator class feel free to open a discussion and I'll try to give some
+ guidance (#982).
+
+-------------------------------------------------------------------
+Sun Sep 25 17:37:47 UTC 2022 - Johannes Kastl <[email protected]>
+
+- accept SR#1005905 to convert this to using Twisted instead of
+ pytest
+
+-------------------------------------------------------------------
+Sun Sep 25 07:37:16 UTC 2022 - Johannes Kastl <[email protected]>
+
+- update to 4.10.0:
+ Add support for referencing schemas with $ref across different versions
+ of the specification than the referrer's
+
+-------------------------------------------------------------------
+Sun Sep 25 07:34:59 UTC 2022 - Johannes Kastl <[email protected]>
+
+- update to 4.9.1:
+ Update some documentation examples to use newer validator releases in their
+ sample code.
+
+-------------------------------------------------------------------
+Sun Sep 25 07:31:57 UTC 2022 - Johannes Kastl <[email protected]>
+
+- update to 4.9.0:
+ - Fix relative $ref resolution when the base URI is a URN or other scheme
(#544).
+ - pkgutil.resolve_name is now used to retrieve validators
+ provided on the command line. This function is only available on
+ 3.9+, so 3.7 and 3.8 (which are still supported) now rely on the
+ pkgutil_resolve_name <https://pypi.org/project/pkgutil_resolve_name/>_
+ backport package. Note however that the CLI itself is due
+ to be deprecated shortly in favor of check-jsonschema
+ <https://github.com/python-jsonschema/check-jsonschema>_.
+
+-------------------------------------------------------------------
Old:
----
jsonschema-4.8.0.tar.gz
New:
----
jsonschema-4.10.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jsonschema.spec ++++++
--- /var/tmp/diff_new_pack.eWDrWI/_old 2022-09-27 20:13:13.477733585 +0200
+++ /var/tmp/diff_new_pack.eWDrWI/_new 2022-09-27 20:13:13.485733603 +0200
@@ -25,7 +25,7 @@
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-jsonschema
-Version: 4.8.0
+Version: 4.10.3
Release: 0
Summary: An implementation of JSON-Schema validation for Python
License: MIT
@@ -45,10 +45,12 @@
BuildRequires: %{python_module attrs >= 17.4.0}
BuildRequires: %{python_module importlib-metadata if %python-base < 3.8}
BuildRequires: %{python_module importlib-resources >= 1.4.0 if %python-base <
3.9}
+BuildRequires: %{python_module pkgutil-resolve-name if %python-base < 3.9}
BuildRequires: %{python_module pyrsistent >= 0.14.0}
BuildRequires: %{python_module typing-extensions if %python-base < 3.8}
# SECTION test
-BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module Twisted}
+BuildRequires: git-core
# /SECTION
# SECTION extras (if available)
#BuildRequires: %%{python_module fqdn}
@@ -70,6 +72,7 @@
%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
@@ -102,7 +105,11 @@
%python_clone -a %{buildroot}%{_bindir}/jsonschema
%check
-%pytest jsonschema/tests
+export JSON_SCHEMA_TEST_SUITE=$PWD/json
+%{python_expand # see tox.ini
+export PYTHONPATH=%{buildroot}%{$python_sitelib}
+$python -B -m twisted.trial jsonschema
+}
%pre
# If libalternatives is used: Removing old update-alternatives entries.
++++++ jsonschema-4.8.0.tar.gz -> jsonschema-4.10.3.tar.gz ++++++
++++ 7381 lines of diff (skipped)