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 2023-05-09 13:05:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-lxml (Old) and /work/SRC/openSUSE:Factory/.python-lxml.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-lxml" Tue May 9 13:05:49 2023 rev:101 rq:1084802 version:4.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-lxml/python-lxml.changes 2023-05-04 17:09:07.251854285 +0200 +++ /work/SRC/openSUSE:Factory/.python-lxml.new.1533/python-lxml.changes 2023-05-09 13:05:52.312497457 +0200 @@ -1,0 +2,6 @@ +Thu May 4 14:52:53 UTC 2023 - David Anes <david.a...@suse.com> + +- Add patch skip-test-under-libxml2-2.11.1.patch: + * Skip a test if using libxml2 >= 2.11.1 + +------------------------------------------------------------------- New: ---- skip-test-under-libxml2-2.11.1.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-lxml.spec ++++++ --- /var/tmp/diff_new_pack.d4vV6d/_old 2023-05-09 13:05:53.156502480 +0200 +++ /var/tmp/diff_new_pack.d4vV6d/_new 2023-05-09 13:05:53.160502504 +0200 @@ -33,6 +33,9 @@ # 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 BuildRequires: %{python_module Cython >= 0.29.7} BuildRequires: %{python_module base} BuildRequires: %{python_module cssselect >= 0.9.1} ++++++ skip-test-under-libxml2-2.11.1.patch ++++++ Index: lxml-4.9.2/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 ( read_file, write_to_file, BytesIO, tmpfile ) +import lxml class _IOTestCaseBase(HelperTestCase): """(c)ElementTree compatibility for IO functions/methods @@ -304,6 +305,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') uxml = '<?xml version="1.0" encoding="UTF-16"?><p>%s</p>' % utext