Skip to content

Error when importing dask_geopandas.expr on Python 3.10 when Dask query planning is disabled #311

Open
@maximlt

Description

@maximlt

The test runs of datashader have been failing recently on Python 3.10 and the issue can be narrowed down to this piece of code:

import dask
dask.config.set({'dataframe.query-planning': False})

import dask_geopandas.expr

Traceback:

Traceback (most recent call last):
  File "/Users/mliquet/dev/datashader/.mltmess/debuglayout.py", line 3, in <module>
    import dask_geopandas.expr
  File "/Users/mliquet/dev/datashader/.pixi/envs/test-310/lib/python3.10/site-packages/dask_geopandas/expr.py", line 587, in <module>
    class GeoSeries(_Frame, dd.Series):
TypeError: multiple bases have instance lay-out conflict

I just wanted to report it in case someone else stumbles upon that weird corner case, we're going to slightly modify datashader to deal with that case directly. Feel free to close the issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions