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

Update core-tests to see Numpy 2.0 problem points #1490

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

zm711
Copy link
Contributor

@zm711 zm711 commented Jun 18, 2024

following a policy of NEP 29 + 1 year.

@zm711
Copy link
Contributor Author

zm711 commented Jun 18, 2024

Looks like we have some work to do :)

@apdavison
Copy link
Member

note that quantities 0.16.0, with support for NumPy 2.0, has just been released

@zm711
Copy link
Contributor Author

zm711 commented Aug 27, 2024

I updated the branch so we should see the neo problems vs the quantities in the testing!

@zm711
Copy link
Contributor Author

zm711 commented Aug 27, 2024

I think @JuliaSprenger saw this error before right?

AssertionError: array(99.) * mV == array(99.) * mV

Actually this is an example of an error related to the fact we no longer have the copy behavior. this test was an assertNotEqual, but because the data is now a copy we edited in place and so the array is the same when it shouldn't be.

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

Successfully merging this pull request may close these issues.

2 participants