Hello community, here is the log from the commit of package python-xmlschema for openSUSE:Factory checked in at 2020-02-14 16:24:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-xmlschema (Old) and /work/SRC/openSUSE:Factory/.python-xmlschema.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xmlschema" Fri Feb 14 16:24:52 2020 rev:4 rq:770544 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-xmlschema/python-xmlschema.changes 2019-12-11 12:10:21.904608106 +0100 +++ /work/SRC/openSUSE:Factory/.python-xmlschema.new.26092/python-xmlschema.changes 2020-02-14 16:25:00.647178805 +0100 @@ -1,0 +2,10 @@ +Thu Feb 6 11:47:34 UTC 2020 - Marketa Calabkova <mcalabk...@suse.com> + +- update to 1.1.0 + * Removed Python 2 compatibility code + * Removed tests code from binary package + * Improved identity constraints validation + * Added JSON lazy decoding as experimental feature + * few bugfixes + +------------------------------------------------------------------- Old: ---- xmlschema-1.0.15.tar.gz New: ---- xmlschema-1.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-xmlschema.spec ++++++ --- /var/tmp/diff_new_pack.z5STgc/_old 2020-02-14 16:25:01.467179250 +0100 +++ /var/tmp/diff_new_pack.z5STgc/_new 2020-02-14 16:25:01.467179250 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-xmlschema # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,19 +17,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-xmlschema -Version: 1.0.15 +Version: 1.1.0 Release: 0 Summary: An XML Schema validator and decoder License: MIT URL: https://github.com/brunato/xmlschema Source: https://files.pythonhosted.org/packages/source/x/xmlschema/xmlschema-%{version}.tar.gz -BuildRequires: %{python_module elementpath >= 1.3.0} +BuildRequires: %{python_module elementpath >= 1.4.0} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-elementpath >= 1.3.0 +Requires: python-elementpath >= 1.4.0 BuildArch: noarch %python_subpackages @@ -42,8 +43,8 @@ # do not hardcode versions sed -i -e 's:~=:>=:' setup.py # do not bother with memory validation -rm xmlschema/tests/check_memory.py -rm xmlschema/tests/test_memory.py +rm tests/check_memory.py +rm tests/test_memory.py %build export LANG="en_US.UTF8" @@ -52,12 +53,13 @@ %install export LANG="en_US.UTF8" %python_install -%python_expand rm -r %{buildroot}%{$python_sitelib}/xmlschema/tests %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# test_element_tree_import_script is (easily workaroundable) https://github.com/sissaschool/xmlschema/issues/167 +# tests_factory setup is broken export LANG="en_US.UTF8" -%pytest +%pytest -k "not (test_element_tree_import_script or tests_factory)" tests %files %{python_files} %doc CHANGELOG.rst README.rst ++++++ xmlschema-1.0.15.tar.gz -> xmlschema-1.1.0.tar.gz ++++++ ++++ 34023 lines of diff (skipped)