Your message dated Sat, 25 May 2024 09:19:23 +0000
with message-id <[email protected]>
and subject line Bug#1070442: fixed in indexed-gzip 1.8.7-1
has caused the Debian Bug report #1070442,
regarding indexed-gzip: FTBFS with Python 3.12 as default
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1070442: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070442
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: indexed-gzip
Version: 1.7.0-1.1
Severity: important
Tags: ftbfs patch
User: [email protected]
Usertags: python3.12
Hi Maintainer
indexed-gzip FTBFS with Python 3.12 as the default version (i.e. with
python3-defaults/3.12.1-1 from experimental).
I've copied what I hope is the relevant part of the log below.
Please see the upstream issue [1], which is linked to the commit where
this is fixed.
Regards
Graham
[1] https://github.com/pauldmccarthy/indexed_gzip/issues/125
=================================== FAILURES ===================================
________________________________ test_picklable ________________________________
@pytest.mark.slow_test
def test_picklable():
> ctest_indexed_gzip.test_picklable()
../indexed_gzip/tests/test_indexed_gzip.py:177:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
indexed_gzip/tests/ctest_indexed_gzip.pyx:1045: in
indexed_gzip.tests.ctest_indexed_gzip.test_picklable
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E TypeError: cannot pickle 'IndexedGzipFile' instances
indexed_gzip/tests/ctest_indexed_gzip.pyx:1055: TypeError
----------------------------- Captured stdout call -----------------------------
Compressing data with a single call to gzip ... test.gz
Waiting (1.00 minutes)
Waiting (1.00 minutes)
________________________________ test_copyable _________________________________
def test_copyable():
> ctest_indexed_gzip.test_copyable()
../indexed_gzip/tests/test_indexed_gzip.py:180:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
indexed_gzip/tests/ctest_indexed_gzip.pyx:1088: in
indexed_gzip.tests.ctest_indexed_gzip.test_copyable
???
indexed_gzip/tests/ctest_indexed_gzip.pyx:1096: in
indexed_gzip.tests.ctest_indexed_gzip.test_copyable
???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
x = <IndexedGzipFile>, memo = {}, _nil = []
def deepcopy(x, memo=None, _nil=[]):
"""Deep copy operation on arbitrary Python objects.
See the module's __doc__ string for more info.
"""
if memo is None:
memo = {}
d = id(x)
y = memo.get(d, _nil)
if y is not _nil:
return y
cls = type(x)
copier = _deepcopy_dispatch.get(cls)
if copier is not None:
y = copier(x, memo)
else:
if issubclass(cls, type):
y = _deepcopy_atomic(x, memo)
else:
copier = getattr(x, "__deepcopy__", None)
if copier is not None:
y = copier(memo)
else:
reductor = dispatch_table.get(cls)
if reductor:
rv = reductor(x)
else:
reductor = getattr(x, "__reduce_ex__", None)
if reductor is not None:
> rv = reductor(4)
E TypeError: cannot pickle 'IndexedGzipFile' instances
/usr/lib/python3.12/copy.py:151: TypeError
----------------------------- Captured stdout call -----------------------------
Compressing data with a single call to gzip ... test.gz
Waiting (1.00 minutes)
Waiting (1.00 minutes)
___________________________ test_multiproc_serialise ___________________________
@pytest.mark.slow_test
def test_multiproc_serialise():
> ctest_indexed_gzip.test_multiproc_serialise()
../indexed_gzip/tests/test_indexed_gzip.py:184:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
indexed_gzip/tests/ctest_indexed_gzip.pyx:1152: in
indexed_gzip.tests.ctest_indexed_gzip.test_multiproc_serialise
???
indexed_gzip/tests/ctest_indexed_gzip.pyx:1166: in
indexed_gzip.tests.ctest_indexed_gzip.test_multiproc_serialise
???
/usr/lib/python3.12/multiprocessing/pool.py:367: in map
return self._map_async(func, iterable, mapstar, chunksize).get()
/usr/lib/python3.12/multiprocessing/pool.py:774: in get
raise self._value
/usr/lib/python3.12/multiprocessing/pool.py:540: in _handle_tasks
put(task)
/usr/lib/python3.12/multiprocessing/connection.py:206: in send
self._send_bytes(_ForkingPickler.dumps(obj))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cls = <class 'multiprocessing.reduction.ForkingPickler'>
obj = (7, 0, <function mapstar at 0x7fe07779bec0>,
((functools.partial(<built-in function _mpfunc>, <IndexedGzipFile>,
2500000), (0,)),), {})
protocol = None
@classmethod
def dumps(cls, obj, protocol=None):
buf = io.BytesIO()
> cls(buf, protocol).dump(obj)
E TypeError: cannot pickle 'IndexedGzipFile' instances
/usr/lib/python3.12/multiprocessing/reduction.py:51: TypeError
--- End Message ---
--- Begin Message ---
Source: indexed-gzip
Source-Version: 1.8.7-1
Done: Étienne Mollier <[email protected]>
We believe that the bug you reported is fixed in the latest version of
indexed-gzip, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Étienne Mollier <[email protected]> (supplier of updated indexed-gzip package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 25 May 2024 10:16:31 +0200
Source: indexed-gzip
Architecture: source
Version: 1.8.7-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Étienne Mollier <[email protected]>
Closes: 1070442
Changes:
indexed-gzip (1.8.7-1) unstable; urgency=medium
.
[ Matthias Klose ]
* New upstream version 1.8.7
Closes: #1070442
.
[ Étienne Mollier ]
* d/control: add myself to uploaders.
* d/control: declare compliance to standards version 4.7.0.
* d/{control,rules}: move to dh-sequence-python3.
* d/copyright: remove reference to compat/ and BSD-3-Clauses.
* d/control: mark build-time test dependencies.
* d/control: tests depend on python3-pytest-cov.
Checksums-Sha1:
4931b86dac0acaf4567049945cefb97588275e6f 2350 indexed-gzip_1.8.7-1.dsc
03194ce00524b8df8892769f8bc96f6c0d249cd7 101145 indexed-gzip_1.8.7.orig.tar.gz
87acfe51cdf1ee7490308e9eb5eed40013907b59 5324
indexed-gzip_1.8.7-1.debian.tar.xz
ac13bcbc7ca9a8419a1cec270c6c778266b0938b 8239
indexed-gzip_1.8.7-1_amd64.buildinfo
Checksums-Sha256:
e1d6b1d840538ee88c20738c9c29b82713c3652fa0f17a2287c2ffbd3d546933 2350
indexed-gzip_1.8.7-1.dsc
1c2ab8335a29a312e8c69afaa94aec56dd5910b14e6488e67ac1d400c62455fd 101145
indexed-gzip_1.8.7.orig.tar.gz
252dd6a4077d2b8180d2b10369f4b8a5b9621e97b8f9fd9b53134a4bb916097f 5324
indexed-gzip_1.8.7-1.debian.tar.xz
19eb8350901dd88ac6cae3901b2d9bd8579115a7639e5f9dee41377eda5cd1f6 8239
indexed-gzip_1.8.7-1_amd64.buildinfo
Files:
b74913e5b466816b727c46a78df3b36b 2350 python optional indexed-gzip_1.8.7-1.dsc
f0ee207a5def3ed86f04fe8cc11175a3 101145 python optional
indexed-gzip_1.8.7.orig.tar.gz
bd529e24edc960d83f1828f9ac2b2f4d 5324 python optional
indexed-gzip_1.8.7-1.debian.tar.xz
35ded21dc7944b3677d59b183c1f3087 8239 python optional
indexed-gzip_1.8.7-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmZRqT8UHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdpDYQ//Zkdq1+CnfeYyTr2hGofP89sSSyIl
d9In7GE8+QTKZrHgAMLldU4AlrZm9Xc6lYtbzWZtSKgaKnDtvK07dgmTkexpRUWq
e0RM5VCTR3+5MvqnTjoS5BU5puPuOFWqfJpkkXiU4Z0dPAjNUpiWHy4IDVvJBz9N
M53xy8/Wf5S19faCmhas4K8JeCcMCqo5QtdxtpfjMh4m2WKDVqGHpBfVpUXIgKtc
wyyyaHySC8cG+b/4ZfmgwhZC0XotMoNg0kBLXbw95RwfSM72ekNhc/Oi5FAepo6e
tBBWN3mRNEEbwffAWsq5NQkQ2Tfi0Qzw/VEcX4ubRbUbZt1p9Y3B89Esfjbv9CV7
UKpIx4gxBwZ+A83JZL0sIFjwR1yMiNOoDcIhhBV2acUYBI2IoqIOHc86kVeQgqkZ
c16NDoIRjNNu7JZNKUrvqMmoi8tETgAplNAD6VKQ9OFBu6Xuyby5a5ImIk+EW8vH
p7ostwfjuOmKRGTp6FOMwOvZdSvUK/eQV2Vp9wSmOTxkjAyrtn6YVE8QcKfxp49v
mH7GCtMOyUK/DRHSxaiBC3T36VJ/eJ6yThiIjgv1WY4FaKWcnYMPvah+E8xFcKr9
miJf60E1Y+ibc1941xNdLywKcofNnjk7jrarg5NfiVrt/cGtVdpRkZycLVmd5Tcy
/2lCzN+063oaSTE=
=VMY+
-----END PGP SIGNATURE-----
pgpAaZx1ojSfX.pgp
Description: PGP signature
--- End Message ---