Skip to content

Conversation

agriyakhetarpal
Copy link
Contributor

Description

This is a small PR to configure the CMake 3.18+ FindPython mode for pybind11 to let it use the CMake search methods, in order to avoid having to pass the older Python_ROOT_DIR/Python_INCLUDE_DIR methods.

I'm not sure if anything else needs to be configured further – the selected nox sessions all pass on my machine locally and the recipe builds successfully within a Pyodide Docker container with this patch applied.

Additional context

@agriyakhetarpal
Copy link
Contributor Author

Please let me know if I need to add a manual CHANGELOG entry/fragment or just running doc/update_changelog.py would be alright!

@agriyakhetarpal agriyakhetarpal force-pushed the fix/set-findpython-via-pybind11 branch from a11b137 to 69b3dbb Compare August 15, 2024 11:47
@HDembinski
Copy link
Member

Thank you for the patch. You don't need to update the changelog, that happens when I make the release.

@HDembinski HDembinski merged commit 6c0d0ca into scikit-hep:develop Aug 21, 2024
@agriyakhetarpal agriyakhetarpal deleted the fix/set-findpython-via-pybind11 branch August 21, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants