python-cloudpickle fails to build with Python 3.13.0b1. =================================== FAILURES =================================== ___________________________ test_extract_class_dict ____________________________ def test_extract_class_dict(): class A(int): """A docstring""" def method(self): return "a" class B: """B docstring""" B_CONSTANT = 42 def method(self): return "b" class C(A, B): C_CONSTANT = 43 def method_c(self): return "c" clsdict = _extract_class_dict(C) > assert sorted(clsdict.keys()) == ["C_CONSTANT", "__doc__", "method_c"] E AssertionError: assert ['C_CONSTANT'...', 'method_c'] == ['C_CONSTANT'...', 'method_c'] E At index 2 diff: '__firstlineno__' != 'method_c' E Left contains one more item: 'method_c' E Full diff: E - ['C_CONSTANT', '__doc__', 'method_c'] E + ['C_CONSTANT', '__doc__', '__firstlineno__', 'method_c'] E ? +++++++++++++++++++ tests/cloudpickle_test.py:111: AssertionError =========================== short test summary info ============================ FAILED tests/cloudpickle_test.py::test_extract_class_dict - AssertionError: a... ============ 1 failed, 232 passed, 25 skipped, 2 warnings in 11.75s ============ 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/07434045-python-cloudpickle/ For all our attempts to build python-cloudpickle with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-cloudpickle/ 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/cloudpipe/cloudpickle/issues/533
https://src.fedoraproject.org/rpms/python-cloudpickle/pull-request/13