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(a)redhat.com
Reporter: ksurma(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: epel-packagers-sig(a)lists.fedoraproject.org,
jonathan(a)almalinux.org, ksurma(a)redhat.com,
lbalhar(a)redhat.com, mhroncok(a)redhat.com,
python-packagers-sig(a)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...
For all our attempts to build python-cloudpickle with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/pytho...
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
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2279991
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...