Skip to content

cmake python refactor integration branch#1533

Open
cyrush wants to merge 9 commits intodevelopfrom
task/2026_03_py_cmake_refactor_integration_branch
Open

cmake python refactor integration branch#1533
cyrush wants to merge 9 commits intodevelopfrom
task/2026_03_py_cmake_refactor_integration_branch

Conversation

@cyrush
Copy link
Member

@cyrush cyrush commented Mar 6, 2026

integration branch for next steps from #1521

mathstuf and others added 8 commits February 28, 2026 00:19
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.
Merge find python dep into integration branch
@cyrush cyrush changed the title cmake refactor integration branch cmake python refactor integration branch Mar 6, 2026
@cyrush
Copy link
Member Author

cyrush commented Mar 6, 2026

For the windows cases, it seems python's might be getting crossed:

CI Python Env Setup:

Run python3 -m pip install --upgrade pip numpy mpi4py wheel setuptools
Requirement already satisfied: pip in C:\hostedtoolcache\windows\Python\3.12.10\x64\Lib\site-packages (26.0.1)

Later, find_package(Python3):

 CMake Error at C:/Program Files/CMake/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find Python3 (missing: Python3_NumPy_INCLUDE_DIRS NumPy) (found
  version "3.14.3")
Call Stack (most recent ca

This hints at a python 3.12 install and a python 3.14 install

We are not specifying python - both should be looking for python3 in the env.

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