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-04-21 14:15:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-lxml (Old) and /work/SRC/openSUSE:Factory/.python-lxml.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-lxml" Fri Apr 21 14:15:35 2023 rev:98 rq:1080215 version:4.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-lxml/python-lxml.changes 2023-02-25 19:55:08.187275733 +0100 +++ /work/SRC/openSUSE:Factory/.python-lxml.new.1533/python-lxml.changes 2023-04-21 14:15:42.642143064 +0200 @@ -1,0 +2,6 @@ +Wed Apr 19 04:52:01 UTC 2023 - Steve Kowalik <[email protected]> + +- Add patch skip-test-under-libxml2-2.10.4.patch: + * Skip a test if using libxml2 >= 2.10.4 + +------------------------------------------------------------------- New: ---- skip-test-under-libxml2-2.10.4.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-lxml.spec ++++++ --- /var/tmp/diff_new_pack.hPijjL/_old 2023-04-21 14:15:43.278146631 +0200 +++ /var/tmp/diff_new_pack.hPijjL/_new 2023-04-21 14:15:43.286146675 +0200 @@ -29,6 +29,9 @@ # PATCH-FIX-UPSTREAM close_file_before_test.patch bsc#1206555 [email protected] # 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 BuildRequires: %{python_module Cython >= 0.29.7} BuildRequires: %{python_module base} BuildRequires: %{python_module cssselect >= 0.9.1} ++++++ skip-test-under-libxml2-2.10.4.patch ++++++ Index: lxml-4.9.2/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): 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')
