python-zope-exceptions fails to build with Python 3.13.0b1. + /usr/bin/python3 -m tox --current-env -q --recreate -e py313 Running tests at level 1 Running zope.testrunner.layer.UnitTests tests: Set up zope.testrunner.layer.UnitTests in 0.000 seconds. Running: ....................... Failure in test test_format_exception_as_html (zope.exceptions.tests.test_exceptionformatter.Test_format_exception.test_format_exception_as_html) Traceback (most recent call last): File "/usr/lib64/python3.13/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib64/python3.13/unittest/case.py", line 651, in run self._callTestMethod(testMethod) File "/usr/lib64/python3.13/unittest/case.py", line 606, in _callTestMethod if method() is not None: File "/builddir/build/BUILDROOT/python-zope-exceptions-5.0.1-1.fc41.x86_64/usr/lib/python3.13/site-packages/zope/exceptions/tests/test_exceptionformatter.py", line 775, in test_format_exception_as_html self.assertEqual(expected, result) File "/usr/lib64/python3.13/unittest/case.py", line 907, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib64/python3.13/unittest/case.py", line 1273, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib64/python3.13/unittest/case.py", line 732, in fail raise self.failureException(msg) AssertionError: '<p>T[272 chars]Error: invalid syntax<br />\n</p>' != '<p>T[272 chars]Error: Expected one or more names after \'import\'<br />\n</p>' <p>Traceback (most recent call last):</p> <ul> <li> Module zope.exceptions.tests.test_exceptionformatter, line ABC, in test_format_exception_as_html<br /> exec('import')</li> </ul><p> File "<string>", line 1<br /> import<br /> ^<br /> - SyntaxError: invalid syntax<br /> + SyntaxError: Expected one or more names after 'import'<br /> </p> ........................................................... Ran 82 tests with 1 failures, 0 errors, 0 skipped in 0.013 seconds. 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/07443693-python-zope-exceptions/ For all our attempts to build python-zope-exceptions with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-zope-exceptions/ 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-59bd792b04 (python-zope-exceptions-5.1-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-59bd792b04
FEDORA-2024-59bd792b04 (python-zope-exceptions-5.1-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.