eX-Mech / pymech

A Python software suite for Nek5000 and SIMSON
https://pymech.readthedocs.io/en/stable
GNU General Public License v3.0
24 stars 24 forks source link

Support Numpy >= 2.0 #124

Closed ashwinvis closed 2 days ago

paugier commented 3 days ago

It could be that pymech is already compatible with Numpy 2. Has it been tested ?

If it is the case, it would make sense to change this line https://github.com/eX-Mech/pymech/blob/main/pyproject.toml#L32C1-L32C26 and release this change in pymech 2.0.1.

Why: I have an environment (fluidsim testing) using Numpy 1.36 just because of pymech.

What do you think @ashwinvis ?

ashwinvis commented 2 days ago

Some vtk related tests was the reason why I added that pin to numpy < 2.

https://github.com/eX-Mech/pymech/pull/118/commits

Since that is an experimental module, I guess it is OK to silence that error.

ashwinvis commented 2 days ago

@paugier You're welcome ;)

https://pypi.org/project/pymech/2.0.1/