Skip to content

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

Merged
roigcarlo merged 3 commits intomasterfrom
core/fix-numpy-deprecation
Nov 29, 2024
Merged

[Core][Tests] Fixing numpy copy=false#12891
roigcarlo merged 3 commits intomasterfrom
core/fix-numpy-deprecation

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 roigcarlo enabled auto-merge November 29, 2024 12:31
@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
@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