Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1221524 > unrolled thread

Bug#1088227: cloudpickle: autopkgtest failure with Python 3.13

Started byGraham Inggs <ginggs@debian.org>
First post2024-11-25 13:50 +0100
Last post2024-12-08 14:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1088227: cloudpickle: autopkgtest failure with Python 3.13 Graham Inggs <ginggs@debian.org> - 2024-11-25 13:50 +0100
    Bug#1088227: cloudpickle: autopkgtest failure with Python 3.13 Andrey Rakhmatullin <wrar@debian.org> - 2024-12-08 14:40 +0100

#1221524 — Bug#1088227: cloudpickle: autopkgtest failure with Python 3.13

FromGraham Inggs <ginggs@debian.org>
Date2024-11-25 13:50 +0100
SubjectBug#1088227: cloudpickle: autopkgtest failure with Python 3.13
Message-ID<JMGHn-bsLF-1@gated-at.bofh.it>
Source: cloudpickle
Version: 3.0.0-2
Severity: serious
User: debian-python@lists.debian.org
Usertags: python3.13

Hi Maintainer

cloudpickle's autopkgtests fail with Python 3.13 [1].  I've copied
what I hope is the relevant part of the log below.

Regards
Graham


[1] https://ci.debian.net/packages/c/cloudpickle/testing/amd64/


77s =================================== FAILURES
===================================
77s ___________________________ test_extract_class_dict
____________________________
77s
77s def test_extract_class_dict():
77s class A(int):
77s """A docstring"""
77s
77s def method(self):
77s return "a"
77s
77s class B:
77s """B docstring"""
77s
77s B_CONSTANT = 42
77s
77s def method(self):
77s return "b"
77s
77s class C(A, B):
77s C_CONSTANT = 43
77s
77s def method_c(self):
77s return "c"
77s
77s clsdict = _extract_class_dict(C)
77s > assert sorted(clsdict.keys()) == ["C_CONSTANT", "__doc__", "method_c"]
77s E AssertionError: assert ['C_CONSTANT'...', 'method_c'] ==
['C_CONSTANT'...', 'method_c']
77s E
77s E At index 2 diff: '__firstlineno__' != 'method_c'
77s E Left contains one more item: 'method_c'
77s E
77s E Full diff:
77s E [
77s E 'C_CONSTANT',...
77s E
77s E ...Full output truncated (4 lines hidden), use '-vv' to show
77s
77s tests/cloudpickle_test.py:111: AssertionError

[toc] | [next] | [standalone]


#1223215

FromAndrey Rakhmatullin <wrar@debian.org>
Date2024-12-08 14:40 +0100
Message-ID<JRpFT-eKKE-5@gated-at.bofh.it>
In reply to#1221524

[Multipart message — attachments visible in raw view] — view raw

I tried to fix this by adapting
https://github.com/cloudpipe/cloudpickle/pull/534, but it looks like it
may depend on https://github.com/cloudpipe/cloudpickle/pull/524 which I'm
not going to touch. It would be better for the maintainer to do a new
upstream version upload at this point.

-- 
WBR, wRAR

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web