python-defusedxml fails to build with Python 3.13.0a1. + /usr/bin/python3 tests.py Traceback (most recent call last): File "/builddir/build/BUILD/defusedxml-0.7.1/tests.py", line 562, in <module> suite = test_main() ^^^^^^^^^^^ File "/builddir/build/BUILD/defusedxml-0.7.1/tests.py", line 547, in test_main suite.addTests(unittest.makeSuite(TestDefusedcElementTree)) ^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.13/unittest/__init__.py", line 80, in __getattr__ raise AttributeError(f"module {__name__!r} has no attribute {name!r}") AttributeError: module 'unittest' has no attribute 'makeSuite' https://docs.python.org/3.13/whatsnew/3.13.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06546773-python-defusedxml/ For all our attempts to build python-defusedxml with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-defusedxml/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/ Let us know here if you have any questions. Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
https://github.com/tiran/defusedxml/commit/4e6cea5f5bb44bf06dd30a723cf13334693c3150 Part of 0.8.0rc2 and 0.8.0rc1.
https://src.fedoraproject.org/rpms/python-defusedxml/pull-request/6 should get rid of the error but also introduces a build dependency on lxml (which we still don't have in our copr), so I am unable to test it at this moment.