Skip to content

NumPy 2.0 support #11066

@jakirkham

Description

@jakirkham

Problem description

NumPy 2.0 is coming out soon ( numpy/numpy#24300 ). NumPy 2.0.0rc1 packages for conda & wheels came out 3 weeks back ( numpy/numpy#24300 (comment) )

Feature description

To prepare for NumPy 2.0, it might be worthwhile to start testing Dask against NumPy 2 in CI

Also as NumPy is tracking ecosystem support for NumPy 2.0, it would be helpful to share Dask's current support status in issue (with any plans): numpy/numpy#26191

NumPy has put out a migration guide. More details are in the release notes. As Dask doesn't have C/C++ usage of NumPy, only the Python changes would be relevant

Additional information

Maybe Distributed needs similar considerations

Also Dask is both a consumer of NumPy and a producer of its own NumPy-like Array API. So there are two things to consider

  1. Adding support for NumPy 2.0 itself with Dask
  2. Updating Dask's Array API to more closely match NumPy 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageNeeds a response from a contributor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions