Fix the generation of the API and Hermes Python wrappers

The wrappers are now generated correctly with F2PY from version 1.24.0 onwards. Versions 1.21.x and lower are also still supported.

However, versions 1.22.x and 1.23.x do not work due to an F2PY issue, see here: https://github.com/numpy/numpy/issues/21892

Merge request reports

Loading