-
-
Notifications
You must be signed in to change notification settings - Fork 442
Open
Description
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:
=========================== short test summary info ============================
FAILED tests/test_dolfin.py::test_dolfin[mesh3] - ValueError: could not conve...
FAILED tests/test_gmsh.py::test_gmsh22[False-mesh9] - ValueError: cannot resh...
FAILED tests/test_gmsh.py::test_gmsh22[False-mesh10] - ValueError: cannot res...
FAILED tests/test_gmsh.py::test_gmsh22[False-mesh11] - ValueError: cannot res...
FAILED tests/test_gmsh.py::test_gmsh22[False-mesh12] - ValueError: cannot res...
FAILED tests/test_gmsh.py::test_gmsh22[False-mesh13] - ValueError: cannot res...
FAILED tests/test_gmsh.py::test_gmsh22[False-mesh14] - ValueError: cannot res...
FAILED tests/test_gmsh.py::test_gmsh40[False-mesh8] - ValueError: cannot resh...
FAILED tests/test_gmsh.py::test_gmsh40[False-mesh9] - ValueError: cannot resh...
FAILED tests/test_gmsh.py::test_gmsh40[False-mesh10] - ValueError: cannot res...
FAILED tests/test_gmsh.py::test_gmsh40[False-mesh11] - ValueError: cannot res...
FAILED tests/test_gmsh.py::test_gmsh40[False-mesh12] - ValueError: cannot res...
FAILED tests/test_gmsh.py::test_gmsh40[False-mesh13] - ValueError: cannot res...
FAILED tests/test_gmsh.py::test_gmsh41[False-mesh8] - ValueError: cannot resh...
FAILED tests/test_gmsh.py::test_gmsh41[False-mesh9] - ValueError: cannot resh...
FAILED tests/test_gmsh.py::test_gmsh41[False-mesh10] - ValueError: cannot res...
FAILED tests/test_gmsh.py::test_gmsh41[False-mesh11] - ValueError: cannot res...
FAILED tests/test_gmsh.py::test_gmsh41[False-mesh12] - ValueError: cannot res...
FAILED tests/test_gmsh.py::test_gmsh41[False-mesh13] - ValueError: cannot res...
FAILED tests/test_ugrid.py::test_io[1e-07-.ugrid-mesh0] - meshio._exceptions....
FAILED tests/test_ugrid.py::test_io[1e-07-.ugrid-mesh1] - meshio._exceptions....
FAILED tests/test_ugrid.py::test_io[1e-07-.ugrid-mesh2] - meshio._exceptions....
FAILED tests/test_ugrid.py::test_io[1e-07-.ugrid-mesh3] - meshio._exceptions....
FAILED tests/test_ugrid.py::test_io[1e-07-.ugrid-mesh4] - meshio._exceptions....
FAILED tests/test_ugrid.py::test_io[1e-07-.ugrid-mesh5] - meshio._exceptions....
============ 25 failed, 714 passed, 6 skipped, 25 warnings in 4.68s ============The set of errors is:
ValueError: could not convert string to float: 'np.float64(63.69616873214543)'
ValueError: cannot reshape array of size 1 into shape (4,2)
meshio._exceptions.ReadError: Header of ugrid file is ill-formedThe 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:
python3.13 -m venv .venv
. .venv/bin/activate
pip installe -e .
pip install pytest netCDF4 h5py
pytest -v
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.
Metadata
Metadata
Assignees
Labels
No labels