From b9a077ae0314c6bd6f99f38adeea6d112636e24b Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Wed, 23 Apr 2025 13:59:36 +0200 Subject: [PATCH 01/10] Update to 5.4.0 (rhbz#2361809) --- .gitignore | 1 + python-lxml.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index de23bad..cc0abf5 100644 --- a/.gitignore +++ b/.gitignore @@ -69,3 +69,4 @@ lxml-2.2.7.tar.gz.asc /lxml-5.3.0-no-isoschematron-rng.tar.gz /lxml-5.3.1-no-isoschematron-rng.tar.gz /lxml-5.3.2-no-isoschematron-rng.tar.gz +/lxml-5.4.0-no-isoschematron-rng.tar.gz diff --git a/python-lxml.spec b/python-lxml.spec index 8993140..112a51d 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -1,5 +1,5 @@ Name: python-lxml -Version: 5.3.2 +Version: 5.4.0 Release: %autorelease Summary: XML processing library combining libxml2/libxslt with the ElementTree API diff --git a/sources b/sources index 0a9f363..45eae2e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lxml-5.3.2-no-isoschematron-rng.tar.gz) = 556e649f5879c01617b7f2760950fc9cb2a4858b6c766333b6b214cefa7cba37e91987d5dd095645bf847f709a09f7bac21bda7ad66c20b0b6e9cb859a43ee45 +SHA512 (lxml-5.4.0-no-isoschematron-rng.tar.gz) = 5540dbdae5fe1c5a9a3489f1b3a21e6c866099e16508368d676406a652eca9877e3a653102672b493a96d5ea146dd87fa0cea2ee8e86f18ea6c531ff99d7e0f9 From 6df45dce8be993aaf2a17d1ad82ecd308ef0dc1f Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 21:23:03 +0200 Subject: [PATCH 02/10] Bootstrap for Python 3.14 --- python-lxml.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-lxml.spec b/python-lxml.spec index 112a51d..a8d598d 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -1,3 +1,4 @@ +%global _without_extras 1 Name: python-lxml Version: 5.4.0 Release: %autorelease From 544488770a8d6711ec57ba8da6eabd52b36a08e5 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 3 Jun 2025 12:25:50 +0200 Subject: [PATCH 03/10] Rebuilt for Python 3.14 --- python-lxml.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-lxml.spec b/python-lxml.spec index a8d598d..112a51d 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -1,4 +1,3 @@ -%global _without_extras 1 Name: python-lxml Version: 5.4.0 Release: %autorelease From adc8d24589d8ad2635e207ddf92eda426eba1448 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Mon, 30 Jun 2025 11:19:42 +0200 Subject: [PATCH 04/10] Update to 6.0.0 (rhbz#2374994) --- .gitignore | 1 + python-lxml.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index cc0abf5..c69c318 100644 --- a/.gitignore +++ b/.gitignore @@ -70,3 +70,4 @@ lxml-2.2.7.tar.gz.asc /lxml-5.3.1-no-isoschematron-rng.tar.gz /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 diff --git a/python-lxml.spec b/python-lxml.spec index 112a51d..2b5f320 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -1,5 +1,5 @@ Name: python-lxml -Version: 5.4.0 +Version: 6.0.0 Release: %autorelease Summary: XML processing library combining libxml2/libxslt with the ElementTree API diff --git a/sources b/sources index 45eae2e..ef652e6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lxml-5.4.0-no-isoschematron-rng.tar.gz) = 5540dbdae5fe1c5a9a3489f1b3a21e6c866099e16508368d676406a652eca9877e3a653102672b493a96d5ea146dd87fa0cea2ee8e86f18ea6c531ff99d7e0f9 +SHA512 (lxml-6.0.0-no-isoschematron-rng.tar.gz) = 482df7ae2dde50a6d84a30bdc10486c4b30ba81b283e322abd12e08573cebfc9aa73f5067c2a883b3753955589edd2da5cba00077fd8458f39768041882f8425 From cd4ee3066f63c94c05525bb29382754ae80a2bd8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 08:42:31 +0000 Subject: [PATCH 05/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From d4c3d0bb6c455c6d8ca09d225a25436ab8b289be Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Tue, 5 Aug 2025 09:59:19 +0200 Subject: [PATCH 06/10] Fix test_wrap_html with Python 3.14rc1 --- 473.patch | 23 +++++++++++++++++++++++ python-lxml.spec | 4 ++++ 2 files changed, 27 insertions(+) create mode 100644 473.patch diff --git a/473.patch b/473.patch new file mode 100644 index 0000000..30cfa21 --- /dev/null +++ b/473.patch @@ -0,0 +1,23 @@ +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 2b5f320..1a8b71e 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -16,6 +16,10 @@ 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 From 86d492aea65a3275f13acf72a9d6b11a10382d61 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 14:04:47 +0200 Subject: [PATCH 07/10] Rebuilt for Python 3.14.0rc2 bytecode From 1fd88c3632dd23606ec250220d5eb7526e4722f4 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Sun, 24 Aug 2025 22:22:09 +0200 Subject: [PATCH 08/10] 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 From b2351e3e342d0e7b169485473faeac03b0068322 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 13:41:18 +0200 Subject: [PATCH 09/10] Rebuilt for Python 3.14.0rc3 bytecode From 11da0f3a632fded8beff05c62aa9126e2e9d3087 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Mon, 22 Sep 2025 12:49:34 +0200 Subject: [PATCH 10/10] Update to 6.0.2 (rhbz#2397231) --- .gitignore | 1 + python-lxml.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2a3cc0a..e31c637 100644 --- a/.gitignore +++ b/.gitignore @@ -72,3 +72,4 @@ lxml-2.2.7.tar.gz.asc /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 +/lxml-6.0.2-no-isoschematron-rng.tar.gz diff --git a/python-lxml.spec b/python-lxml.spec index 5e3644b..3151ed0 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -1,5 +1,5 @@ Name: python-lxml -Version: 6.0.1 +Version: 6.0.2 Release: %autorelease Summary: XML processing library combining libxml2/libxslt with the ElementTree API diff --git a/sources b/sources index ce2ae3d..943c07f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lxml-6.0.1-no-isoschematron-rng.tar.gz) = e503880792636b01755b1d7aad29ee29fe9af77a295811050b763162a79fa54a08d5a73ced1de9fec6e93696bcb75e6050034696bb4daba3f9a5ed1695359937 +SHA512 (lxml-6.0.2-no-isoschematron-rng.tar.gz) = dc89f75c3a3c828a46bcb2eefbebe8f98ce8072b9fb66f8ef81edbf2babed74e4c54e26392603319d60ab3bfab6a4795eedc85b28efba815797d43d53aae4060