python-murano-pkg-check fails to build with Python 3.13.0b1. ${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/tmp7ii8mv0i ====================================================================== FAIL: muranopkgcheck.tests.test_manager.ManagerTest.test_validate tags: worker-0 ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/murano-pkg-check-0.3.0/muranopkgcheck/manager.py", line 73, in _to_list e = next(error_chain) File "/builddir/build/BUILD/murano-pkg-check-0.3.0/muranopkgcheck/tests/test_manager.py", line 73, in broken_checker if 1 / a: ~~^~~ ZeroDivisionError: division by zero During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.13/unittest/mock.py", line 1420, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/murano-pkg-check-0.3.0/muranopkgcheck/tests/test_manager.py", line 91, in test_validate errors = mgr.validate(validators=[MockValidator]) File "/builddir/build/BUILD/murano-pkg-check-0.3.0/muranopkgcheck/manager.py", line 137, in validate issues = self._to_list(itertools.chain(*report_chains), select, ignore) File "/builddir/build/BUILD/murano-pkg-check-0.3.0/muranopkgcheck/manager.py", line 99, in _to_list errors.extend(self._to_list(e, select, ignore)) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/murano-pkg-check-0.3.0/muranopkgcheck/manager.py", line 83, in _to_list check_locals = tb.tb_frame.f_locals.copy() ^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'FrameLocalsProxy' object has no attribute 'copy' 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/07434108-python-murano-pkg-check/ For all our attempts to build python-murano-pkg-check with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-murano-pkg-check/ 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.
Based on https://github.com/python/cpython/issues/118921 and the associated (merged) PR https://github.com/python/cpython/pull/118933, it looks like the fix for this will be in CPython itself.