https://bugzilla.redhat.com/show_bug.cgi?id=2279991
Bug ID: 2279991 Summary: python-cloudpickle fails to build with Python 3.13: tests/cloudpickle_test.py::test_extract_class_dict: AssertionError Product: Fedora Version: rawhide Status: NEW Component: python-cloudpickle Assignee: lbalhar@redhat.com Reporter: ksurma@redhat.com QA Contact: extras-qa@fedoraproject.org CC: epel-packagers-sig@lists.fedoraproject.org, jonathan@almalinux.org, ksurma@redhat.com, lbalhar@redhat.com, mhroncok@redhat.com, python-packagers-sig@lists.fedoraproject.org Blocks: 2244836 (PYTHON3.13) Target Milestone: --- Classification: Fedora
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-ra...
For all our attempts to build python-cloudpickle with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-c...
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.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2244836 [Bug 2244836] Python 3.13
https://bugzilla.redhat.com/show_bug.cgi?id=2279991
Lumír Balhar lbalhar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Github | |cloudpipe/cloudpickle/issue | |s/533
--- Comment #1 from Lumír Balhar lbalhar@redhat.com --- Reported upstream: https://github.com/cloudpipe/cloudpickle/issues/533
https://bugzilla.redhat.com/show_bug.cgi?id=2279991
Lumír Balhar lbalhar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |RAWHIDE Last Closed| |2024-05-15 09:11:58
--- Comment #2 from Lumír Balhar lbalhar@redhat.com --- https://src.fedoraproject.org/rpms/python-cloudpickle/pull-request/13
epel-packagers-sig@lists.fedoraproject.org