Bug#1088988: pandas: FTBFS with xarray 2024.11.0 (test failures)

Rebecca N. Palmer rebecca_palmer at zoho.com
Sat Jan 4 22:42:42 GMT 2025


These are testing conversion between DataFrame and xarray, and are 
probably failing because xarray now handles extension types in some 
places it previously didn't, but not everywhere - 
https://github.com/pydata/xarray/issues/9661 .
"Attributes of DataFrame.iloc[:, 5] (column name="f") are different" - 
Categorical columns now keep that dtype where they previously lost it 
(which is actually an improvement, but the tests need to be told to 
expect it).
"DataFrame.index classes are different" - However, extension-type 
indices now lose that type where they previously kept it.
"DataFrame shape mismatch" - Possibly because of this, DataFrames with 
repeated index values now gain more rows on conversion to and from 
xarray, and the number suggests that n repeats becomes n^2 repeats.

(test_spss_metadata is a new item added in later pyreadstat, not an 
actual problem, so the fix is to change the reference to expect it: 
https://github.com/pandas-dev/pandas/pull/60109 .  The parso failure no 
longer appears, presumably because it now supports Python 3.13.)



More information about the debian-science-maintainers mailing list