From 1fd88c3632dd23606ec250220d5eb7526e4722f4 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Sun, 24 Aug 2025 22:22:09 +0200 Subject: [PATCH] Update to 6.0.1 (rhbz#2390283) --- .gitignore | 1 + 473.patch | 23 ----------------------- python-lxml.spec | 6 +----- sources | 2 +- 4 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 473.patch diff --git a/.gitignore b/.gitignore index c69c318..2a3cc0a 100644 --- a/.gitignore +++ b/.gitignore @@ -71,3 +71,4 @@ lxml-2.2.7.tar.gz.asc /lxml-5.3.2-no-isoschematron-rng.tar.gz /lxml-5.4.0-no-isoschematron-rng.tar.gz /lxml-6.0.0-no-isoschematron-rng.tar.gz +/lxml-6.0.1-no-isoschematron-rng.tar.gz diff --git a/473.patch b/473.patch deleted file mode 100644 index 30cfa21..0000000 --- a/473.patch +++ /dev/null @@ -1,23 +0,0 @@ -From ba44171d105f291568e239970c152e800cf8a3b7 Mon Sep 17 00:00:00 2001 -From: Lumir Balhar -Date: Tue, 5 Aug 2025 12:15:03 +0200 -Subject: [PATCH] Fix `test_wrap_html` with the latest Python HTMLParser - -Fixes: https://bugs.launchpad.net/lxml/+bug/2119510 ---- - src/lxml/html/tests/test_elementsoup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/lxml/html/tests/test_elementsoup.py b/src/lxml/html/tests/test_elementsoup.py -index 94d21636b..7e4aa899b 100644 ---- a/src/lxml/html/tests/test_elementsoup.py -+++ b/src/lxml/html/tests/test_elementsoup.py -@@ -50,7 +50,7 @@ def test_head_body(self): - - def test_wrap_html(self): - # outside , parser should fix that -- html = 'title</test></head><html><body/></html>' -+ html = '<head><title>title' - res = b'title' - tree = self.soupparser.fromstring(html) - self.assertEqual(tostring(tree), res) diff --git a/python-lxml.spec b/python-lxml.spec index 1a8b71e..5e3644b 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -1,5 +1,5 @@ Name: python-lxml -Version: 6.0.0 +Version: 6.0.1 Release: %autorelease Summary: XML processing library combining libxml2/libxslt with the ElementTree API @@ -16,10 +16,6 @@ URL: https://github.com/lxml/lxml Source0: lxml-%{version}-no-isoschematron-rng.tar.gz Source1: get-lxml-source.sh -# Fix for test_wrap_html -# https://bugs.launchpad.net/lxml/+bug/2119510 -Patch: https://github.com/lxml/lxml/pull/473.patch - BuildRequires: gcc BuildRequires: libxml2-devel BuildRequires: libxslt-devel diff --git a/sources b/sources index ef652e6..ce2ae3d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lxml-6.0.0-no-isoschematron-rng.tar.gz) = 482df7ae2dde50a6d84a30bdc10486c4b30ba81b283e322abd12e08573cebfc9aa73f5067c2a883b3753955589edd2da5cba00077fd8458f39768041882f8425 +SHA512 (lxml-6.0.1-no-isoschematron-rng.tar.gz) = e503880792636b01755b1d7aad29ee29fe9af77a295811050b763162a79fa54a08d5a73ced1de9fec6e93696bcb75e6050034696bb4daba3f9a5ed1695359937