#1149383 python-et-xmlfile: FTBFS against python 3.15rc2 (new warnings and updated error messages)

#1149383#5
Date:
2026-09-29 18:22:25 UTC
From:
To:
Hi!

While rebuilding the python related packages against the Python 3.15rc2
version we found that python-et-xmlfile fails to build from source:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4855957/

In the log, there are several errors related to new warnings or error
messages that don't match the expectation:
=================================== FAILURES
===================================



e          = <Element 'a' at 0x7fdba4e60540>
e2         = <Element 'foobar' at 0x7fdba4e60450>
elements   = [<Element 'a' at 0x7fdba4e60130>, <Element 'a' at
0x7fdba4e60630>, <Element 'a' at 0x7fdba4e605e0>, <Element 'a' at
0x7fdba4e60270>, <Element 'a' at 0x7fdba4e60540>]
self       =
<et_xmlfile.tests.test_incremental_tree_with_stdlib_tests.KeywordArgsTest
testMethod=test_issue14818>
x          = <Element 'a' at 0x7fdba4e60680>

et_xmlfile/tests/_vendor/test/test_xml_etree.py:4360: AssertionError

Setting the severity to important for now. Once Python 3.15 is released
and later added to python3-defaults, this bug will become release
critical.