Uh oh!
There was an error while loading. Please reload this page.
Use FindPython3.cmake rather than the deprecated FindPythonInterp.cmake - #1784
Use FindPython3.cmake rather than the deprecated FindPythonInterp.cmake#1784mfdeakin wants to merge 2 commits into
Conversation
…hon. Use FindPython rather than FindPython3, as pybind11 still supports Python2
mfdeakin
commented
May 8, 2019
This is likely premature - FindPythonInterp was only deprecated last July, and the replacement implementations don't support PyPy yet |
eacousineau
commented
May 12, 2019
Not completely sure, but this might be covered by @jamiesnape's PR: #1373 |
wjakob
commented
May 12, 2019
I'll close this for now, potentially to be revisited in the future. |
spflueger
commented
Feb 25, 2020
Hi, |
mfdeakin
commented
Feb 25, 2020
I've updated my branch to default to using FindPython, but falling back to FindPythonInterp when FindPython fails (such as with PyPy). I think that's sufficient to address my own concerns |
henryiii
commented
Oct 15, 2020
This was fixed in #2370 , and CMake 3.18.2+ supports PyPy. :) (best also with PyPy 7.3.2+, as well) |
FindPythonInterp is deprecated and doesn't always find the Python executable (most notably the default installation in Fedora 30), so pybind11 should use FindPython3 or FindPython (if supporting Python2 is still desired; FindPython is version agnostic).