Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumPy 2.0.0 Breaking Changes #598

Open
tsole0 opened this issue Jun 17, 2024 · 0 comments
Open

NumPy 2.0.0 Breaking Changes #598

tsole0 opened this issue Jun 17, 2024 · 0 comments
Assignees

Comments

@tsole0
Copy link
Contributor

tsole0 commented Jun 17, 2024

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.

@tsole0 tsole0 self-assigned this Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant