update to numpy 2.x

We now have first reports, that numpy 2.0 indeed breaks the python bindings.

Edited by Jadebeck, Johann Fredrik