[Python-modules-team] Bug#950927: dask: autopkgtest fail with pandas 1.0

Rebecca N. Palmer rebecca_palmer at zoho.com
Sat Feb 8 13:44:52 GMT 2020


Source: dask
Version: 2.8.1+dfsg-0.4
Control: tags -1 fixed-upstream
Control: block 950430 by -1

With pandas 1.0 from experimental, dask builds but its autopkgtest fails.

Upstream have several commits marked as related to pandas 1.0 
compatibility: it looks like dask 2.10.1 is supposed to work with 1.0, 
but I have not explicitly tested this.

The one displayed error is

_______________ ERROR collecting dataframe/tests/test_hashing.py 
_______________
/usr/lib/python3/dist-packages/dask/dataframe/tests/test_hashing.py:71: 
in <module>
     ???
/usr/lib/python3/dist-packages/pandas/core/indexes/base.py:439: in __new__
     return Index(subarr, dtype=dtype, copy=copy, name=name, **kwargs)
/usr/lib/python3/dist-packages/pandas/core/indexes/base.py:408: in __new__
     return cls(
/usr/lib/python3/dist-packages/pandas/core/indexes/base.py:413: in __new__
     raise TypeError(f"Unexpected keyword arguments {repr(set(kwargs))}")
E   TypeError: Unexpected keyword arguments {'index'}

but since this is a failure during _collection_ and hence none of the 
tests are _run_, patching just that one might well expose more.  Hence, 
I suggest upgrading rather than trying to patch.



More information about the Python-modules-team mailing list