Skip to content

numpy 2.0 has breaking changes for sasview, sasmodels, bumps etc. #2897

@butlerpd

Description

@butlerpd

numpy 2.0 was released on Jun 16 and has a number of breaking changes such as numpy.NaN is no longer recognized (causes fatal error) and must be replaced with numpy.nan.

requirements.txt does not currently pin to a version so the short answer is probably to pin numpy to a version <2.0. However we should probably start working on compatibility? Question: How many dependencies will also have this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    HousekeepingTidying, renaming, formatting, minor refactoring, boring stuff in general

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions