Your message dated Mon, 14 Sep 2026 22:34:34 +0000
with message-id <[email protected]>
and subject line Bug#1142517: fixed in partd 1.4.2-2
has caused the Debian Bug report #1142517,
regarding partd: fails tests with pandas 3.0
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.)


-- 
1142517: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1142517
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: partd
Version: 1.4.2-1
Control: block 1141694 by -1

partd fails autopkgtests with pandas 3.0 (in experimental):

https://ci.debian.net/packages/p/partd/unstable/amd64/73190652/

It looks like it's assuming that pandas dtypes are also numpy dtypes, which is not true for pandas' new string dtype.
Upstream release notes: https://pandas.pydata.org/docs/whatsnew/v3.0.0.html

45s =================================== FAILURES =================================== 45s ______________________________ test_PandasColumns ______________________________
 45s
 45s     def test_PandasColumns():
 45s         with PandasColumns() as p:
 45s             assert os.path.exists(p.partd.partd.path)
 45s
 45s >           p.append({'x': df1, 'y': df2})
 45s
 45s test_pandas.py:32:
45s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 45s /usr/lib/python3/dist-packages/partd/pandas.py:56: in append
 45s     self.partd.append(arrays, **kwargs)
 45s /usr/lib/python3/dist-packages/partd/numpy.py:55: in append
 45s     self.partd.iset(suffix(k, '.dtype'), serialize_dtype(v.dtype))
 45s                                          ^^^^^^^^^^^^^^^^^^^^^^^^
45s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 45s
 45s dt = <StringDtype(storage='python', na_value=nan)>
 45s
 45s     def serialize_dtype(dt):
 45s         """ Serialize dtype to bytes
 45s
 45s         >>> serialize_dtype(np.dtype('i4'))
 45s         b'<i4'
 45s         >>> serialize_dtype(np.dtype('M8[us]'))
 45s         b'<M8[us]'
 45s         """
 45s >       return dt.str.encode()
 45s                ^^^^^^
 45s E       AttributeError: 'StringDtype' object has no attribute 'str'
 45s
 45s /usr/lib/python3/dist-packages/partd/numpy.py:25: AttributeError
45s ____________________________ test_column_selection _____________________________
 45s
 45s     def test_column_selection():
 45s         with PandasColumns('foo') as p:
 45s >           p.append({'x': df1, 'y': df2})
 45s
 45s test_pandas.py:51:
45s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 45s /usr/lib/python3/dist-packages/partd/pandas.py:56: in append
 45s     self.partd.append(arrays, **kwargs)
 45s /usr/lib/python3/dist-packages/partd/numpy.py:55: in append
 45s     self.partd.iset(suffix(k, '.dtype'), serialize_dtype(v.dtype))
 45s                                          ^^^^^^^^^^^^^^^^^^^^^^^^
45s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 45s
 45s dt = <StringDtype(storage='python', na_value=nan)>
 45s
 45s     def serialize_dtype(dt):
 45s         """ Serialize dtype to bytes
 45s
 45s         >>> serialize_dtype(np.dtype('i4'))
 45s         b'<i4'
 45s         >>> serialize_dtype(np.dtype('M8[us]'))
 45s         b'<M8[us]'
 45s         """
 45s >       return dt.str.encode()
 45s                ^^^^^^
 45s E       AttributeError: 'StringDtype' object has no attribute 'str'
 45s
 45s /usr/lib/python3/dist-packages/partd/numpy.py:25: AttributeError

--- End Message ---
--- Begin Message ---
Source: partd
Source-Version: 1.4.2-2
Done: Rebecca N. Palmer <[email protected]>

We believe that the bug you reported is fixed in the latest version of
partd, 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.
Rebecca N. Palmer <[email protected]> (supplier of updated partd 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: Mon, 14 Sep 2026 20:08:48 +0100
Source: partd
Architecture: source
Version: 1.4.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Rebecca N. Palmer <[email protected]>
Closes: 1142517
Changes:
 partd (1.4.2-2) unstable; urgency=medium
 .
   * Team upload.
   * Be compatible with pandas 3. (Closes: #1142517)
   * Drop Priority, bump Standards-Version to 4.7.4.
   * Bump debhelper compat to 14, use auto substvars.
   * Bump d/watch version to 4.
   * Add Salsa CI.
Checksums-Sha1:
 6dd107dc88aeafbf63e79f7925f677a6d450fb94 2274 partd_1.4.2-2.dsc
 04491cd72be31333a726a1674e14af47fc4dfc1d 5112 partd_1.4.2-2.debian.tar.xz
 179bc510b24d98619b04d3dd805bf94039f99614 5742 partd_1.4.2-2_source.buildinfo
Checksums-Sha256:
 b2d5f04299a182077eaf9ddb8b44b467554d20536862d2899507fd9904052138 2274 
partd_1.4.2-2.dsc
 851cc262500490351e1e924cda2c00acef18e07e9eac1e4f41a1d387635194f6 5112 
partd_1.4.2-2.debian.tar.xz
 0552e2f0c622b1f0d3a2525277ec95f38d6e7865b56fb0d15dbcad998aa452ba 5742 
partd_1.4.2-2_source.buildinfo
Files:
 c3a8632774648d27fa7edec179a67c5c 2274 python optional partd_1.4.2-2.dsc
 4b79aa7efba0681293aa6c24ac004efe 5112 python optional 
partd_1.4.2-2.debian.tar.xz
 ff9f68d3e4e1f82988bbf4dda63b4c85 5742 python optional 
partd_1.4.2-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJMBAEBCgA2FiEEZ8sxEAXE7b4yF1MI3uUNDVZ+omYFAmqoZh8YHHJlYmVjY2Ff
cGFsbWVyQHpvaG8uY29tAAoJEN7lDQ1WfqJmS34P/1kg1QFIcels3iNyuoisjq3X
pTglRGLRQcvaOEgCuTTW/RLDashcaCQ3eLN77fxgErMQGP3J3Ukmdt3Cs1IOpvcg
WK+o/jTHc6PJ9PQ1lFnNiExAXEMS1sQ+YnU6gFx+Dtn8mt8dIF7yAn+ivj522qMv
nAgJuH/uXOf7UtEz2aisbAGW6r9McoLdC7wDEv4Gn315VzQEK29QQdaOUKT0an/X
QbUN4jdB+VywzGhpe4LtKl71U4ZOfj3qGAd6LVSfXxT5pfp0ye/hcjuaRRJO/p3X
TEQh7NFiKd2YsTV/buME9vFthGni5lWbMPkPCjvcIisK928KYkNJwd/8CMW/DJnF
f5E5PXz8tIARKhsbm1TAKzHbzO5mVMmPy4tZntB+flkS7jJ3AsysUI1NYu0oMoAx
221pSgos3OpGYX2Yky23bpzVPVEQWpQGiKeWYQDS5Sp10PfgYQBeYWHkBQQ7vtE1
s0/+gffj1GArchyVSroME1Zj7+GTAGzokqLi/CkbRefDnn1oiyXVXOI9SB/rJSn7
QOyT5tz9WPRXEZBL5cpgWTTWShMZeFnv7duP0RIxJREocYSI4+H0cbLffGe3CAnr
/SyYBUOo/BmS1Pq9FDqJ6bDHiif+YIqU/cj75L3YckXrWfPwV6EKLCPZ0cmkOlim
axofBP9mNXLsp/ooxP3J
=kWg6
-----END PGP SIGNATURE-----

Attachment: pgpxEVMNfOo65.pgp
Description: PGP signature


--- End Message ---

Reply via email to