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-04-30 00:45:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
and /work/SRC/openSUSE:Factory/.python-jsonschema.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jsonschema"
Sat Apr 30 00:45:04 2022 rev:28 rq:973210 version:4.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes
2021-11-09 23:54:08.631938357 +0100
+++
/work/SRC/openSUSE:Factory/.python-jsonschema.new.1538/python-jsonschema.changes
2022-04-30 00:45:45.314962713 +0200
@@ -1,0 +2,67 @@
+Tue Apr 26 11:54:11 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to 4.4.0
+ * Add mypy support (#892)
+ * Add support for Python 3.11
+- Release 4.3.3
+ * Properly report deprecation warnings at the right stack level
+ (#899)
+- Release 4.3.2
+ * Additional performance improvements for resolving refs (#896)
+- Release 4.3.1
+ * Resolving refs has had performance improvements (#893)
+- Release 4.3.0
+ * Fix undesired fallback to brute force container uniqueness
+ check on certain input types (#893)
+ * Implement a PEP544 Protocol for validator classes (#890)
+- Release 4.2.1
+ * Pin importlib.resources from below (#877)
+- Release 4.2.0
+ * Use importlib.resources to load schemas (#873)
+ * Ensure all elements of arrays are verified for uniqueness by
+ uniqueItems (#866)
+- Release 4.1.2
+ * Fix dependentSchemas to properly consider non-object instances
+ to be valid (#850)
+- Release 4.1.1
+ * Fix prefixItems not indicating which item was invalid within
+ the instance path (#862)
+- Release 4.1.0
+ * Add Python 3.10 to the list of supported Python versions
+- Release 4.0.1
+ * Fix the declaration of minimum supported Python version (#846)
+- Release 4.0.0
+ * Partial support for Draft 2020-12 (as well as 2019-09). Thanks
+ to Thomas Schmidt and Harald Nezbeda.
+ * False and 0 are now properly considered non-equal even
+ recursively within a container (#686). As part of this change,
+ uniqueItems validation may be slower in some cases. Please feel
+ free to report any significant performance regressions, though
+ in some cases they may be difficult to address given the
+ specification requirement.
+ * The CLI has been improved, and in particular now supports a
+ --output option (with plain (default) or pretty arguments) to
+ control the output format. Future work may add additional
+ machine-parsable output formats.
+ * Code surrounding DEFAULT_TYPES and the legacy mechanism for
+ specifying types to validators have been removed, as per the
+ deprecation policy. Validators should use the TypeChecker
+ object to customize the set of Python types corresponding to
+ JSON Schema types.
+ * Validation errors now have a json_path attribute, describing
+ their location in JSON path format
+ * Support for the IP address and domain name formats has been
+ improved
+ * Support for Python 2 and 3.6 has been dropped, with
+ python_requires properly set.
+ * multipleOf could overflow when given sufficiently large
+ numbers. Now, when an overflow occurs, jsonschema will fall
+ back to using fraction division (#746).
+ * jsonschema.__version__, jsonschema.validators.validators,
+ jsonschema.validators.meta_schemas and
+ jsonschema.RefResolver.in_scope have been deprecated, as has
+ passing a second-argument schema to Validator.iter_errors and
+ Validator.is_valid.
+- Drop webcolors.patch
+
+-------------------------------------------------------------------
Old:
----
jsonschema-3.2.0.tar.gz
webcolors.patch
New:
----
jsonschema-4.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jsonschema.spec ++++++
--- /var/tmp/diff_new_pack.x2a6pA/_old 2022-04-30 00:45:45.722963067 +0200
+++ /var/tmp/diff_new_pack.x2a6pA/_new 2022-04-30 00:45:45.722963067 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-jsonschema
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,35 +22,53 @@
%bcond_with libalternatives
%endif
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-jsonschema
-Version: 3.2.0
+Version: 4.4.0
Release: 0
Summary: An implementation of JSON-Schema validation for Python
License: MIT
-URL: https://github.com/Julian/jsonschema
+URL: https://github.com/python-jsonschema/jsonschema
Source:
https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
-Patch0: webcolors.patch
-BuildRequires: %{python_module Twisted}
+# SECTION build
+BuildRequires: %{python_module base >= 3.7}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module setuptools_scm}
+BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module tomli}
+BuildRequires: %{python_module wheel}
+# /SECTION
+# SECTION runtime
BuildRequires: %{python_module attrs >= 17.4.0}
-BuildRequires: %{python_module idna}
-BuildRequires: %{python_module importlib-metadata}
-BuildRequires: %{python_module jsonpointer > 1.13}
+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 pyrsistent >= 0.14.0}
+BuildRequires: %{python_module typing-extensions if %python-base < 3.8}
+# SECTION test
BuildRequires: %{python_module pytest}
+# /SECTION
+# SECTION extras (if available)
+#BuildRequires: %%{python_module fqdn}
+BuildRequires: %{python_module idna}
+#BuildRequires: %%{python_module isoduration}
+BuildRequires: %{python_module jsonpointer > 1.13}
+#BuildRequires: %%{python_module rfc3339-validator}
BuildRequires: %{python_module rfc3987}
-BuildRequires: %{python_module setuptools_scm}
-BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module six >= 1.11.0}
-BuildRequires: %{python_module strict-rfc3339}
-BuildRequires: %{python_module webcolors}
+#BuildRequires: %%{python_module uri_template}
+BuildRequires: %{python_module webcolors >= 1.11}
+# /SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929
Requires: python-attrs >= 17.4.0
-Requires: python-importlib-metadata
Requires: python-pyrsistent >= 0.14.0
-Requires: python-six >= 1.11.0
+%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
+%endif
%if %{with libalternatives}
Requires: alts
BuildRequires: alts
@@ -67,13 +85,12 @@
%prep
%setup -q -n jsonschema-%{version}
-%patch0 -p1
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
# Remove benchmark tests
%{python_expand rm -r %{buildroot}%{$python_sitelib}/jsonschema/benchmarks
%{buildroot}%{$python_sitelib}/jsonschema/tests
%fdupes %{buildroot}%{$python_sitelib}
++++++ jsonschema-3.2.0.tar.gz -> jsonschema-4.4.0.tar.gz ++++++
++++ 73069 lines of diff (skipped)