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/
Created attachment 2101354 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2101355 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2101356 [details] state.log
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</test></head><html><[41 chars]tml>' != b'<ht[16 chars]title</title></head><body></body></html>' ----------------------------------------------------------------------
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
https://src.fedoraproject.org/rpms/python-lxml/pull-request/53
https://koji.fedoraproject.org/koji/taskinfo?taskID=135727983