powsybl / pypowsybl

A PowSyBl and Python integration based on GraalVM native image
Mozilla Public License 2.0
52 stars 10 forks source link

Adapt code to work with numpy 2.0.0 #771

Closed EtienneLt closed 1 month ago

EtienneLt commented 1 month ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

PyPowSyBl fails when used with new numpy 2.0.0

What is the new behavior (if this is a feature change)? PyPowSyBl works with new numpy 1.x.x and 2.0.0

Does this PR introduce a breaking change or deprecate an API?

If yes, please check if the following requirements are fulfilled

What changes might users need to make in their application due to this PR? (migration steps)

Other information: