Bug 2385483 - python-lxml: FTBFS in Fedora rawhide/f43 with Python 3.14.0rc1
Summary: python-lxml: FTBFS in Fedora rawhide/f43 with Python 3.14.0rc1
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-lxml
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lumír Balhar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F43FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-07-31 10:21 UTC by Fedora Release Engineering
Modified: 2025-08-05 12:24 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-08-05 12:24:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2025-07-31 10:21 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2025-07-31 10:22 UTC, Fedora Release Engineering
no flags Details
state.log (1.65 KB, text/plain)
2025-07-31 10:22 UTC, Fedora Release Engineering
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad.net lxml/+bug/2119510 0 None None None 2025-08-05 07:47:30 UTC

Description Fedora Release Engineering 2025-07-31 10:21:49 UTC
python-lxml failed to build from source in Fedora rawhide/f43

https://koji.fedoraproject.org/koji/taskinfo?taskID=135246956


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
Please fix python-lxml at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
python-lxml will be orphaned. Before branching of Fedora 44,
python-lxml will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2025-07-31 10:21:56 UTC
Created attachment 2101354 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2025-07-31 10:22:03 UTC
Created attachment 2101355 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-07-31 10:22:07 UTC
Created attachment 2101356 [details]
state.log

Comment 4 Victor Stinner 2025-08-04 08:55:05 UTC
One test fails:

======================================================================
FAIL: test_wrap_html (lxml.html.tests.test_elementsoup.SoupParserTestCase.test_wrap_html)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.14/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib64/python3.14/unittest/case.py", line 669, in run
    self._callTestMethod(testMethod)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/usr/lib64/python3.14/unittest/case.py", line 615, in _callTestMethod
    result = method()
  File "/builddir/build/BUILD/python-lxml-6.0.0-build/lxml-6.0.0/src/lxml/html/tests/test_elementsoup.py", line 56, in test_wrap_html
    self.assertEqual(tostring(tree), res)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.14/unittest/case.py", line 925, in assertEqual
    assertion_func(first, second, msg=msg)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.14/unittest/case.py", line 918, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: b'<ht[16 chars]title&lt;/test&gt;&lt;/head&gt;&lt;html&gt;&lt[41 chars]tml>' != b'<ht[16 chars]title</title></head><body></body></html>'
----------------------------------------------------------------------

Comment 5 Miro Hrončok 2025-08-04 17:24:14 UTC
https://koschei.fedoraproject.org/package/python-lxml?collection=f43 suggests this might have started happening when we updated Python from 3.14.0b4 to 3.14.0rc1


Note You need to log in before you can comment on or make changes to this bug.