kinnala / scikit-fem

Simple finite element assemblers
https://scikit-fem.readthedocs.io
BSD 3-Clause "New" or "Revised" License
470 stars 76 forks source link

meshio breaks in numpy 2.0 #1089

Closed kinnala closed 5 months ago

kinnala commented 6 months ago

A new version of numpy is coming soon. I did some tests and it seems that all code within scikit-fem will survive quite nicely. However, scikit-fem will probably break due to dependencies:

Possible remedies:

gdmcbain commented 6 months ago

Oh no, what a disaster! meshio was so active too, back when it was adopted here, and for a good while after that. I haven't been using finite elements at all myself since 2022, although I imagine I will again one day and then can't imagine how I'd get by without meshio. Are people using anything else instead? I'd say the best course would be to fork it but it might be a busy job maintaining it. I did fork pygmsh (when it suddenly diverged, breaking backward compatibility) and pacopy (when it suddenly had a retrospective license change, supposedly even covering my own contributions, which didn't seem right) for use in my own projects, but only on GitHub, not on PyPI.
Hmm…

kinnala commented 5 months ago

A new version of meshio was released which fixes this issue.