Skip to content

NumPy 2.0 issues #406

@kinnala

Description

@kinnala

I was testing some old code against numpy==2.0rc1 and ran into the following issue:

E           AttributeError: `np.deprecate` was removed in the NumPy 2.0 release. Emit `DeprecationWarning` with `warnings.warn` directly, or use `typing.deprecated`.

Seems to be used here: @np.deprecate

There might be other incompabilities that I am unaware of.

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