Skip to content

support numpy v2 #1915

@casperdcl

Description

@casperdcl
  • numpy>=2 was released on 16 June 2024
  • numpy>=2.1.0 was released on 18 Aug 2024 and supports py3.13
  • numpy<2 ended support on 16 Sep 2025

From migration guide:

np._set_promotion_state("weak_and_warn")

[Optionally,] use warnings.simplefilter to raise it as an error for a traceback [...]
Unfortunately, running this may flag many changes that are irrelevant in practice.

related

Sub-issues

Metadata

Metadata

Labels

enhancementNew feature or requestepicCollection of issues

Type

No type

Projects

Status

Todo

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions