Migrate away from FindPythonInterp
With CMake 3.27 (version on F37) this warning started appearing:
CMake Warning (dev) at CMakeLists.txt:69 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
A quick google search turned up this issue in another project which suggests the proper migration path is to the FindPython3 module, which looks to have existed since at least 3.18 and we already require a newer version.