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

[Core][Tests] Fixing numpy copy=false #12891

Merged
merged 3 commits into from
Nov 29, 2024
Merged

Conversation

roigcarlo
Copy link
Member

@roigcarlo roigcarlo commented Nov 29, 2024

📝 Description
See https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword for more info.

@AlejandroCornejo This should fix the PR.

@KratosMultiphysics/all Linux CI build will likely fail until this is merged. Sorry for the problems but were not aware that upstream numpy was updated.

@roigcarlo roigcarlo requested review from a team as code owners November 29, 2024 11:06
loumalouomega
loumalouomega previously approved these changes Nov 29, 2024
@roigcarlo
Copy link
Member Author

roigcarlo commented Nov 29, 2024

hdf5 and Swimming dem still giving problems, investigating.

@sunethwarna Do you make use of pandas in the HDF5?

Nevermind, seems its a problem with virtually any other lib

loumalouomega
loumalouomega previously approved these changes Nov 29, 2024
@sunethwarna
Copy link
Member

@roigcarlo no we don't use pandas there. But here are some tests which use h5py.

@roigcarlo
Copy link
Member Author

Yep, sorry for the noise, i will just rollback numpy to 1.26, 🤞

@roigcarlo roigcarlo merged commit f957ad1 into master Nov 29, 2024
10 of 11 checks passed
@roigcarlo roigcarlo deleted the core/fix-numpy-deprecation branch November 29, 2024 20:56
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.

3 participants