nlopt icon indicating copy to clipboard operation
nlopt copied to clipboard

Numpy 2.0 compatibility

Open PaulJonasJost opened this issue 1 year ago • 2 comments

Hello,

NLopt seems not to be compatible with numpy 2.0 yet (see this CI).

PaulJonasJost avatar Jun 25 '24 12:06 PaulJonasJost

It looks like that's just a build thing — on the CI machine, it's apparently building/linking with numpy 1, but then at runtime Python is pulling in numpy 2, which is incompatible.

Hopefully if you build nlopt with numpy 2 it should be fine?

stevengj avatar Jun 25 '24 18:06 stevengj

yes, wheels just need a rebuild: https://github.com/DanielBok/nlopt-python/issues/35

jschueller avatar Jun 25 '24 18:06 jschueller