Modernized Minpack release candidate

We are now staging the first release of the modernized Minpack version at

We are interested in feedback for the Fortran package (supported via fpm or meson), as well as the C and Python bindings. Let us know if you find something that is not working as expected.


To use this version of Minpack with fpm it requires nothing but a dependency in the package manifest

[dependencies]
minpack.git = "https://github.com/fortran-lang/minpack"

For meson projects you can get the minpack dependency via

minpack_dep = dependency('minpack', fallback: ['minpack', 'minpack_dep'])

To use mesons subprojects include a wrap file with the following content in subprojects/minpack.wrap

[wrap-git]
directory = minpack
url = https://github.com/fortran-lang/minpack
revision = head

Finally, for Python projects we offer a shortcut via meson-python to directly build the Fortran projects and the Python bindings

pip install https://github.com/fortran-lang/minpack/releases/download/v2.0.0-rc.1/minpack-2.0.0-python-sdist.tar.gz

We didn’t upload Minpack to PyPI yet, because we want to gather some experience on the usability of meson-python as build backend first before we fully commit to it. The disadvantage of this build setup is obviously that you cannot use the Minpack installation in Fortran anymore :wink:

9 Likes