eurec4a / how_to_eurec4a

Code examples to get you started with EUREC⁴A data.
https://howto.eurec4a.eu
MIT License
6 stars 20 forks source link

Version incompatibilities of dask and pandas #92

Closed observingClouds closed 12 months ago

observingClouds commented 1 year ago

The CI currently fails due to the following version incompatibility: https://github.com/dask/dask/issues/10164

Error message from failing CI:

File /usr/share/miniconda/envs/how_to_eurec4a/lib/python3.9/site-packages/dask/dataframe/accessor.py:276, in StringAccessor()
    272         meta = (self._series.name, object)
    273     return self._function_map(method, pat=pat, n=n, expand=expand, meta=meta)
    275 @derived_from(
--> 276     pd.core.strings.StringMethods,
    277     inconsistencies="``expand=True`` with unknown ``n`` will raise a ``NotImplementedError``",
    278 )
    279 def split(self, pat=None, n=-1, expand=False):
    280     """Known inconsistencies: ``expand=True`` with unknown ``n`` will raise a ``NotImplementedError``."""
    281     return self._split("split", pat=pat, n=n, expand=expand)

AttributeError: module 'pandas.core.strings' has no attribute 'StringMethods'
AttributeError: module 'pandas.core.strings' has no attribute 'StringMethods'
observingClouds commented 1 year ago

Datashader is actually pinning pandas<2 for now: https://github.com/holoviz/datashader/pull/1198#issuecomment-1498856320, but this should be unnecessary after https://github.com/pydata/xarray/pull/7785 has been released.

d70-t commented 12 months ago

The CI is now green again and the mentioned xarray change apparently has also been released. I guess the issue can now be closed.