Testing the truth value of an `ElementTree.Element` was deprecated in python 3.12 and scheduled for removal in 3.14. I have a patch ready. - python/cpython#83122 - python/cpython#31149 <!-- gh-linked-prs --> ### Linked PRs * gh-119578 * gh-119762 * gh-120189 * gh-120190 <!-- /gh-linked-prs -->