Skip to content

BUG: test_arange() fails on Dask due to illegal dtype #338

Closed
data-apis/array-api-compat
#246
@crusaderky

Description

@crusaderky

test_arange has started failing on dask:
https://github.com/data-apis/array-api-compat/actions/runs/13034089416/job/36360099375?pr=244

exc = NotImplementedError('An error occurred while calling the arange method registered to the numpy backend.\nOriginal Message: Can not use auto rechunking with object dtype. We are unable to estimate the size in bytes of object data')

This is unrelated to the recent changes to dask in array-api-compat.
The problem is that the test calls da.arange(..., dtype=object), which is not a valid dtype according to the Array API standard.

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