Find python dep#1521
Find python dep#1521cyrush merged 6 commits intollnl:task/2026_03_py_cmake_refactor_integration_branchfrom
Conversation
|
I'll note that I ran into issues with the Limited API and MPI enabled at the same time; I suspect that's a hole in testing coverage (if it is cared about). |
|
Thank you for working on this, it will be nice to move on from the old logic. A few questions: The compiled modules still land inside of the folder structure setup by the main python module ( Can we set I strive to use |
|
Then let's use |
|
That sounds good, thanks! |
|
It looks like detection / finding numpy is failing on windows + msvc: The other failures are due to the spack builds using to old of a cmake. I have a spack update PR that should resolve those. |
CMP0074 is `NEW` as of 3.12, so the minimum of 3.21 already sets it to `NEW`.
Also switch to using `Python3_FOUND` as the configure exits if this is set and Python is not found.
Everything is handled by the FindPython3 APIs now.
This lets users request `find_package(Conduit COMPONENT Python)` to ensure that Python is available.
0fb6e2b to
ebfddb9
Compare
I understand the This week I will recreate the CI env and see if I can get more details about why NumPy is not found. |
|
@mathstuf The CI issue are due to PYTHON_EXECUTABLE, not Python3_EXECUTABLE being set -- also we need to change the targets used to include/link numpy. I am going to merge this into an integration branch and then make some changes to get this sorted. I'll create a new PR into develop from that branch, and we can discuss further evolution there. |
dc75042
into
llnl:task/2026_03_py_cmake_refactor_integration_branch
No description provided.