Skip to content

NumPy 2.0.0 Breaking Changes #598

@tsole0

Description

@tsole0

As of June 16th NumPy 2.0.0 has been released, updating a variety of functions and syntax. In many instances these changes are incompatible with the current state of the codebase and cause breaking changes. For instance, the change from np.NaN $\mapsto$ np.nan causes errors on line 82 of modelinfo.py:

def parse_parameter(name, units='', default=np.NaN,
                    user_limits=None, ptype='', description=''):

Although previously installed instances of SasView will still be able to run using out-of-date versions of NumPy, this will cause errors for new installations of SasView.

Metadata

Metadata

Assignees

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