python-transaction fails to build with Python 3.13.0a1. __________________________________ test_suite __________________________________ def test_suite(): > return unittest.makeSuite(WeakSetTests) src/transaction/tests/test_weakset.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'makeSuite' def __getattr__(name): if name == 'IsolatedAsyncioTestCase': global IsolatedAsyncioTestCase from .async_case import IsolatedAsyncioTestCase return IsolatedAsyncioTestCase > raise AttributeError(f"module {__name__!r} has no attribute {name!r}") E AttributeError: module 'unittest' has no attribute 'makeSuite' /usr/lib64/python3.13/unittest/__init__.py:80: AttributeError =========================== short test summary info ============================ FAILED src/transaction/tests/test_weakset.py::test_suite - AttributeError: mo... ================== 1 failed, 176 passed, 2 warnings in 0.28s =================== According to https://docs.python.org/3.13/whatsnew/3.13.html: Removed the following unittest functions, deprecated in Python 3.11: - unittest.findTestCases() - unittest.makeSuite() - unittest.getTestCaseNames() 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/06546843-python-transaction/ For all our attempts to build python-transaction with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-transaction/ 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.
Reported upstream: https://github.com/zopefoundation/transaction/issues/120
https://koji.fedoraproject.org/koji/buildinfo?buildID=2319704 Fixed upstream. Rebuilt.