Use of the "new" FindPython mode that remove the annoying CMP0148 warning on cmake 3.27+ (other alternative would be to use PYBIND11_FINDPYTHON, see source here.
FindPython now handles conda and virtualenvs with Python_FIND_VIRTUALENV (which is set to First by default)
Add INTERPROCEDURAL_OPTIMIZATION optimize binary size: libPythonRuntime.so is now 5M lighter (from 27M to 22M - Linux x64 gcc13)
Update the macOS CI because macos-latest now default to macos-14 image. In this image, hombrew change the path of qt deps and homebrew python now enforces pep 668, so we need to force pip install pytests with some flags (--break-system-packages --user), or work inside a venv or conda to install pytest (I choose to use setup-python action, but I'm open to any other solutions)
CMP0148
warning on cmake 3.27+ (other alternative would be to usePYBIND11_FINDPYTHON
, see source here.Python_FIND_VIRTUALENV
(which is set toFirst
by default)macos-latest
now default tomacos-14
image. In this image, hombrew change the path of qt deps and homebrew python now enforces pep 668, so we need to forcepip install pytests
with some flags (--break-system-packages --user
), or work inside avenv
orconda
to install pytest (I choose to usesetup-python
action, but I'm open to any other solutions)