Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-lxml for openSUSE:Factory checked in at 2024-01-17 22:14:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-lxml (Old) and /work/SRC/openSUSE:Factory/.python-lxml.new.16006 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-lxml" Wed Jan 17 22:14:36 2024 rev:107 rq:1138865 version:5.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-lxml/python-lxml.changes 2023-12-21 23:37:54.528995963 +0100 +++ /work/SRC/openSUSE:Factory/.python-lxml.new.16006/python-lxml.changes 2024-01-17 22:14:38.645551672 +0100 @@ -1,0 +2,10 @@ +Sun Jan 14 10:00:32 UTC 2024 - Adrian Schröter <adr...@suse.de> + +- update to version 5.1.0: + Details on https://lxml.de/5.1/changes-5.1.0.html + removed merged patches: + - ISO-Schematron-schema-optional.patch + - remove-ISO-Schematron-schema.patch + - close_file_before_test.patch + +------------------------------------------------------------------- Old: ---- ISO-Schematron-schema-optional.patch close_file_before_test.patch lxml-4.9.4.tar.gz remove-ISO-Schematron-schema.patch New: ---- lxml-5.1.0.tar.gz BETA DEBUG BEGIN: Old: removed merged patches: - ISO-Schematron-schema-optional.patch - remove-ISO-Schematron-schema.patch Old: - remove-ISO-Schematron-schema.patch - close_file_before_test.patch Old: - ISO-Schematron-schema-optional.patch - remove-ISO-Schematron-schema.patch - close_file_before_test.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-lxml.spec ++++++ --- /var/tmp/diff_new_pack.h3psvl/_old 2024-01-17 22:14:39.513583548 +0100 +++ /var/tmp/diff_new_pack.h3psvl/_new 2024-01-17 22:14:39.517583695 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-lxml # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-lxml -Version: 4.9.4 +Version: 5.1.0 Release: 0 Summary: Pythonic XML processing library License: BSD-3-Clause AND GPL-2.0-or-later @@ -27,24 +27,18 @@ Source0: https://files.pythonhosted.org/packages/source/l/lxml/lxml-%{version}.tar.gz Source1: https://lxml.de/lxmldoc-4.5.2.pdf Source99: python-lxml.rpmlintrc -# PATCH-FIX-UPSTREAM close_file_before_test.patch bsc#1206555 mc...@suse.com -# make sure the testing data are flushed to the file -Patch0: close_file_before_test.patch # PATCH-FIX-OPENSUSE Skip a test under libxml2 2.10.4+ # https://bugs.launchpad.net/lxml/+bug/2016939 Patch1: skip-test-under-libxml2-2.10.4.patch # PATCH-FIX-OPENSUSE Skip a test under libxml2 2.11.1+ # https://bugs.launchpad.net/lxml/+bug/2018522 Patch2: skip-test-under-libxml2-2.11.1.patch -# PATCH-FIX-UPSTREAM ISO-Schematron-schema-optional.patch lp#2024343 mc...@suse.com -# Make ISO Schematron RNG validation schemes optional and then remove it gh#lxml/lxml@4bfab2c82196 -Patch3: ISO-Schematron-schema-optional.patch -# PATCH-FIX-UPSTREAM remove-ISO-Schematron-schema.patch gl#fedora/legal/fedora-license-data/-#154 mc...@suse.com -# Actually remove the schema -Patch4: remove-ISO-Schematron-schema.patch -BuildRequires: %{python_module Cython >= 0.29.7 with %python-Cython < 3} +BuildRequires: %{python_module Cython >= 3.0.7} BuildRequires: %{python_module base} BuildRequires: %{python_module cssselect >= 0.9.1} +# cyclic dependency +#BuildRequires: %{python_module html5lib} +#BuildRequires: %{python_module beautifulsoup4} BuildRequires: %{python_module setuptools >= 18.0.1} BuildRequires: fdupes %if 0%{?suse_version} == 1500 @@ -113,7 +107,7 @@ export PYTHONUNBUFFERED=x # cyclic dependency between html5lib and lxml rm -v src/lxml/html/tests/test_html5parser.py -%{python_expand PYTHON3="$python" %make_build test3} +%{python_expand PYTHON3="$python" %make_build test} %install %python_install ++++++ lxml-4.9.4.tar.gz -> lxml-5.1.0.tar.gz ++++++ ++++ 512060 lines of diff (skipped) ++++++ skip-test-under-libxml2-2.10.4.patch ++++++ --- /var/tmp/diff_new_pack.h3psvl/_old 2024-01-17 22:14:42.181681528 +0100 +++ /var/tmp/diff_new_pack.h3psvl/_new 2024-01-17 22:14:42.181681528 +0100 @@ -1,13 +1,13 @@ -Index: lxml-4.9.2/src/lxml/tests/test_etree.py +Index: lxml-5.1.0/src/lxml/tests/test_etree.py =================================================================== ---- lxml-4.9.2.orig/src/lxml/tests/test_etree.py -+++ lxml-4.9.2/src/lxml/tests/test_etree.py -@@ -3068,6 +3068,7 @@ class ETreeOnlyTestCase(HelperTestCase): +--- lxml-5.1.0.orig/src/lxml/tests/test_etree.py ++++ lxml-5.1.0/src/lxml/tests/test_etree.py +@@ -3256,6 +3256,7 @@ class ETreeOnlyTestCase(HelperTestCase): self.assertEqual(re, e.nsmap) self.assertEqual(r, s.nsmap) + @unittest.skipIf(etree.LIBXML_VERSION >= (2, 10, 4), "libxml2 regression ignores namespaces") def test_html_prefix_nsmap(self): etree = self.etree - el = etree.HTML('<hha:page-description>aa</hha:page-description>').find('.//page-description') + el = etree.HTML('<hha:page-description>aa</hha:page-description>') ++++++ skip-test-under-libxml2-2.11.1.patch ++++++ --- /var/tmp/diff_new_pack.h3psvl/_old 2024-01-17 22:14:42.193681969 +0100 +++ /var/tmp/diff_new_pack.h3psvl/_new 2024-01-17 22:14:42.197682116 +0100 @@ -1,8 +1,8 @@ -Index: lxml-4.9.2/src/lxml/tests/test_io.py +Index: lxml-5.1.0/src/lxml/tests/test_io.py =================================================================== ---- lxml-4.9.2.orig/src/lxml/tests/test_io.py -+++ lxml-4.9.2/src/lxml/tests/test_io.py -@@ -15,6 +15,7 @@ from .common_imports import ( +--- lxml-5.1.0.orig/src/lxml/tests/test_io.py ++++ lxml-5.1.0/src/lxml/tests/test_io.py +@@ -12,6 +12,7 @@ from .common_imports import ( read_file, write_to_file, BytesIO, tmpfile ) @@ -10,12 +10,12 @@ class _IOTestCaseBase(HelperTestCase): """(c)ElementTree compatibility for IO functions/methods -@@ -304,6 +305,7 @@ class _IOTestCaseBase(HelperTestCase): +@@ -305,6 +306,7 @@ class _IOTestCaseBase(HelperTestCase): os.unlink(f.name) self.assertEqual(utext, root.text) + @unittest.skipIf(lxml.etree.LIBXML_VERSION >= (2, 11, 1), "libxml2 regression has issues with utf16") def test_iterparse_utf16_bom(self): - utext = _str('Søk på nettet') + utext = 'Søk på nettet' uxml = '<?xml version="1.0" encoding="UTF-16"?><p>%s</p>' % utext