Bug 1927693 - python-cloudpickle fails to build with Python 3.10: test failures
Summary: python-cloudpickle fails to build with Python 3.10: test failures
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-cloudpickle
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lumír Balhar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.10
TreeView+ depends on / blocked
 
Reported: 2021-02-11 10:54 UTC by Tomáš Hrnčiar
Modified: 2021-03-05 14:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-05 14:23:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2021-02-11 10:54:51 UTC
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.

Comment 1 Lumír Balhar 2021-02-11 12:53:01 UTC
Reported upstream: https://github.com/cloudpipe/cloudpickle/issues/410

Comment 2 Lumír Balhar 2021-02-16 10:48:40 UTC
Possible bug in Python: https://bugs.python.org/issue43228

Comment 3 Lumír Balhar 2021-02-22 14:59:59 UTC
This package should work well with the next release of Python.

Comment 4 Tomáš Hrnčiar 2021-03-05 14:23:47 UTC
Indeed, works well with 6th alpha.


Note You need to log in before you can comment on or make changes to this bug.