-
-
Notifications
You must be signed in to change notification settings - Fork 410
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
[BUG] Tests fail with NumPy 2.2.0 #1499
Comments
Fixed by #1506.
I am not sure what should be done about these, but they appear to share a common root cause, in which this meshio/src/meshio/gmsh/common.py Lines 68 to 71 in b2ee998
raises an exception of the form
where the “target” shape varies. I spot-checked one failing case and found that the array indeed contained only one scalar value.
All of these are happening here: meshio/src/meshio/ugrid/_ugrid.py Lines 81 to 82 in b2ee998
but, again, I am not sure what should be done. All of these errors can be reproduced in a fresh git checkout by simply running |
Fedora has recently upgraded NumPy to 2.2.0 in the development branch. Building
meshio
with that version results in a number of tests failing:The set of errors is:
The full log of all test failures is too big to post here. But this should be rather easy to reproduce in a venv. On my Fedora box I'd do:
For a quick glance, the log from the latest build attempt is accessible online:
https://kojipkgs.fedoraproject.org/work/tasks/8425/126988425/build.log
It will be cleaned up over time, however.
The text was updated successfully, but these errors were encountered: