libsbml fails to build with Python 3.13.0a3. Start 29: test_python_binding 29: Test command: /usr/bin/python3 "/builddir/build/BUILD/libsbml-5.20.2/build/src/bindings/python/test.py" "-p" "/builddir/build/BUILD/libsbml-5.20.2/build/src/bindings/python" "-b" "/builddir/build/BUILD/libsbml-5.20.2/src/bindings/python/test" 29: Working Directory: /builddir/build/BUILD/libsbml-5.20.2/build/src/bindings/python 29: Test timeout computed to be: 3000 29: Traceback (most recent call last): 29: File "/builddir/build/BUILD/libsbml-5.20.2/build/src/bindings/python/test.py", line 77, in <module> 29: if unittest.TextTestRunner(verbosity=1).run(suite()).wasSuccessful() : 29: ~~~~~^^ 29: File "/builddir/build/BUILD/libsbml-5.20.2/build/src/bindings/python/test.py", line 55, in suite 29: suite.addTest(unittest.makeSuite(class_name)) 29: ^^^^^^^^^^^^^^^^^^ 29: File "/usr/lib64/python3.13/unittest/__init__.py", line 80, in __getattr__ 29: raise AttributeError(f"module {__name__!r} has no attribute {name!r}") 29: AttributeError: module 'unittest' has no attribute 'makeSuite' 29/69 Test #29: test_python_binding ...........................***Failed 0.42 sec 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() For the build logs, see: https://download.copr.fedorainfracloud.org/results/@python/python3.13/fedora-rawhide-x86_64/06919435-libsbml/builder-live.log.gz For all our attempts to build libsbml with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/libsbml/ 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.
FEDORA-2024-1591512660 (libsbml-5.20.2-10.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-1591512660
FEDORA-2024-1591512660 (libsbml-5.20.2-10.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.