This PR fixes (:crossed_fingers:) the MacOS CI failures, and enables the Python module build with Python 3.12+ (no more distutils). The cmake now calls f2py directly (through 'python -m numpy.f2py'). The MacOS CI gave me some unrelated trouble that seems to be resolved with a few extra installations. I've rerun the CI a few extra times just to be extra sure...
Also cleaning up the python/CMakeLists.txt while I'm at it, namely, putting the add_test's in a loop (which involved renaming test.py -> test_misc.py).
Thanks for your work on this Alex, and hopefully this also clears up any lingering MacOS CI issues that I was seeing in #535 a couple of weeks ago 🤞
This PR fixes (:crossed_fingers:) the MacOS CI failures, and enables the Python module build with Python 3.12+ (no more distutils). The cmake now calls f2py directly (through 'python -m numpy.f2py'). The MacOS CI gave me some unrelated trouble that seems to be resolved with a few extra installations. I've rerun the CI a few extra times just to be extra sure...
Also cleaning up the python/CMakeLists.txt while I'm at it, namely, putting the add_test's in a loop (which involved renaming test.py -> test_misc.py).
Fixes #537