#1142518 jsonpickle: fails tests with pandas 3.0

#1142518#5
Date:
2026-07-21 07:26:46 UTC
From:
To:
jsonpickle fails autopkgtests with pandas 3.0 (in experimental):

https://ci.debian.net/packages/j/jsonpickle/unstable/amd64/73190624/

It looks like it's checking dtypes (pandas assert_frame_equal etc do
that by default), and not expecting the new string dtype.
Upstream release notes: https://pandas.pydata.org/docs/whatsnew/v3.0.0.html

  86s =================================== FAILURES
===================================
  86s ___________________________ test_dataframe_roundtrip

#1142518#10
Date:
2026-09-13 12:06:33 UTC
From:
To:
Hello,

Bug #1142518 in jsonpickle reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/jsonpickle/-/commit/babf9b2c309aea1a822cde2b7d765901d8ae6832

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1142518

#1142518#17
Date:
2026-09-13 15:15:43 UTC
From:
To:
Probably better idea: upstream's fix, which looks like it actually does
preserve these dtypes.
https://github.com/jsonpickle/jsonpickle/commit/eb27cf084a90e545c10f8a5435d7f17cf1d28ff9

(This hasn't been in a release yet, i.e. upgrading to 4.1.2 won't help
with this, though it's plausibly a good idea more generally.)