python-cloudpickle fails to build with Python 3.10.0a5. =========================== short test summary info ============================ FAILED tests/cloudpickle_test.py::CloudPickleTest::test_dynamic_module_with_unpicklable_builtin FAILED tests/cloudpickle_test.py::CloudPickleTest::test_extended_arg - NameEr... FAILED tests/cloudpickle_test.py::CloudPickleTest::test_generator - NameError... FAILED tests/cloudpickle_test.py::CloudPickleTest::test_generic_type - NameEr... FAILED tests/cloudpickle_test.py::CloudPickleTest::test_interactive_dynamic_type_and_stored_remote_instances FAILED tests/cloudpickle_test.py::CloudPickleTest::test_interactive_remote_function_calls_no_memory_leak FAILED tests/cloudpickle_test.py::CloudPickleTest::test_interactive_remote_function_calls_no_side_effect FAILED tests/cloudpickle_test.py::CloudPickleTest::test_locally_defined_function_and_class FAILED tests/cloudpickle_test.py::CloudPickleTest::test_module_locals_behavior FAILED tests/cloudpickle_test.py::CloudPickleTest::test_relative_import_inside_function FAILED tests/cloudpickle_test.py::CloudPickleTest::test_tornado_coroutine - N... FAILED tests/cloudpickle_test.py::CloudPickleTest::test_unhashable_closure - ... FAILED tests/cloudpickle_test.py::Protocol2CloudPickleTest::test_dynamic_module_with_unpicklable_builtin FAILED tests/cloudpickle_test.py::Protocol2CloudPickleTest::test_extended_arg FAILED tests/cloudpickle_test.py::Protocol2CloudPickleTest::test_generator - ... FAILED tests/cloudpickle_test.py::Protocol2CloudPickleTest::test_generic_type FAILED tests/cloudpickle_test.py::Protocol2CloudPickleTest::test_interactive_dynamic_type_and_stored_remote_instances FAILED tests/cloudpickle_test.py::Protocol2CloudPickleTest::test_interactive_remote_function_calls_no_memory_leak FAILED tests/cloudpickle_test.py::Protocol2CloudPickleTest::test_interactive_remote_function_calls_no_side_effect FAILED tests/cloudpickle_test.py::Protocol2CloudPickleTest::test_locally_defined_function_and_class FAILED tests/cloudpickle_test.py::Protocol2CloudPickleTest::test_module_locals_behavior FAILED tests/cloudpickle_test.py::Protocol2CloudPickleTest::test_relative_import_inside_function FAILED tests/cloudpickle_test.py::Protocol2CloudPickleTest::test_tornado_coroutine FAILED tests/cloudpickle_test.py::Protocol2CloudPickleTest::test_unhashable_closure ===== 24 failed, 191 passed, 13 skipped, 3 deselected, 1 warning in 9.58s ====== For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01957488-python-cloudpickle/ For all our attempts to build python-cloudpickle with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/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.10: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/ Let us know here if you have any questions. Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10. 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/410
Possible bug in Python: https://bugs.python.org/issue43228
This package should work well with the next release of Python.
Indeed, works well with 6th alpha.