Hello community,
here is the log from the commit of package python-jsonschema for
openSUSE:Factory checked in at 2019-09-25 07:38:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jsonschema (Old)
and /work/SRC/openSUSE:Factory/.python-jsonschema.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jsonschema"
Wed Sep 25 07:38:43 2019 rev:21 rq:732149 version:3.0.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jsonschema/python-jsonschema.changes
2019-04-20 17:12:38.094875516 +0200
+++
/work/SRC/openSUSE:Factory/.python-jsonschema.new.7948/python-jsonschema.changes
2019-09-25 07:38:45.070816908 +0200
@@ -1,0 +2,19 @@
+Tue Sep 17 05:31:26 UTC 2019 - John Vandenberg <[email protected]>
+
+- Activate more of the test suite
+- Remove tests and benchmarking from the runtime package
+- Update to v3.0.2
+ * 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
+ notion of which validator property contains $id information.
+- from v3.0.0
+ * Support for Draft 6 and Draft 7
+ * Draft 7 is now the default
+ * New TypeChecker object for more complex type definitions
+ (and overrides)
+ * Falling back to isodate for the date-time format checker is
+ no longer attempted, in accordance with the specification
+
+-------------------------------------------------------------------
Old:
----
jsonschema-2.6.0.tar.gz
New:
----
jsonschema-3.0.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jsonschema.spec ++++++
--- /var/tmp/diff_new_pack.g9J6Vj/_old 2019-09-25 07:38:45.846816791 +0200
+++ /var/tmp/diff_new_pack.g9J6Vj/_new 2019-09-25 07:38:45.846816791 +0200
@@ -19,26 +19,38 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-jsonschema
-# Please, do not update to the current version, it breaks numerous other
-# packages, because of unstable API.
-Version: 2.6.0
+# v3 incompatibility with OpenStack raised upstream at
+# https://github.com/Julian/jsonschema/issues/604
+Version: 3.0.2
Release: 0
Summary: An implementation of JSON-Schema validation for Python
License: MIT
Group: Development/Languages/Python
-Url: http://github.com/Julian/jsonschema
+URL: https://github.com/Julian/jsonschema
Source:
https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
+BuildRequires: %{python_module Twisted}
+BuildRequires: %{python_module attrs >= 17.4.0}
+BuildRequires: %{python_module idna}
+BuildRequires: %{python_module jsonpointer > 1.13}
BuildRequires: %{python_module mock}
+BuildRequires: %{python_module pyrsistent >= 0.14.0}
+BuildRequires: %{python_module rfc3987}
+BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module vcversioner >= 2.16.0.0}
+BuildRequires: %{python_module six >= 1.11.0}
+BuildRequires: %{python_module strict-rfc3339}
+BuildRequires: %{python_module webcolors}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-%if %{with python2}
-BuildRequires: python2-functools32
-%endif
+Requires: python-attrs >= 17.4.0
+Requires: python-pyrsistent >= 0.14.0
+Requires: python-six >= 1.11.0
Requires(post): update-alternatives
Requires(preun): update-alternatives
BuildArch: noarch
+%if %{with python2}
+BuildRequires: python2-functools32
+%endif
%ifpython2
Requires: python-functools32
%endif
@@ -56,13 +68,16 @@
%install
%python_install
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+# Remove benchmark tests
+%{python_expand rm -r %{buildroot}%{$python_sitelib}/jsonschema/benchmarks
%{buildroot}%{$python_sitelib}/jsonschema/tests
+%fdupes -s %{buildroot}%{$python_sitelib}
+}
# Prepare for update-alternatives usage
%python_clone -a %{buildroot}%{_bindir}/jsonschema
%check
-%python_exec -m unittest jsonschema.tests.test_jsonschema_test_suite
+%python_exec setup.py test --test-suite=jsonschema.tests
%post
%python_install_alternative jsonschema
++++++ jsonschema-2.6.0.tar.gz -> jsonschema-3.0.2.tar.gz ++++++
++++ 30638 lines of diff (skipped)