Repository navigation
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Separate Python discovery can install a Python 3.11 extension into Python 3.12’s site-packages, so pybind11 configuration and installation paths must use the same interpreter.
1 open issue
What changed in this PR
This PR modernizes EXP and pyEXP’s CI toolchains and Python setup, and updates the Python extension’s install path to use the detected Python3 version.
Changes:
- Defines four Ubuntu/compiler combinations with distinct job names.
- Pins checkout and Python setup actions, fetches submodules recursively, and selects Python 3.13.
- Enables CI for slash-containing branch names and fails quick-test runs when no tests are discovered.
| File | Description |
|---|---|
| pyEXP/CMakeLists.txt | Uses Python3 version variables for the extension’s install directory. |
| .github/workflows/build.yml | Updates toolchains, dependency setup, build steps, and quick-test enforcement. |
Review effort: Balanced
| LIBRARY DESTINATION "lib/python${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR}/site-packages" | ||
| ARCHIVE DESTINATION "lib/python${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR}/site-packages") |
There was a problem hiding this comment.
Unified Python discovery before configuring pybind11, and removed the duplicate pyEXP lookup so both use the same interpreter. Committed as 09aaaa6.
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
|
@michael-petersen Let me know if you do not want to be in this development loop at this point...this particular PR is just housekeeping, really. |
|
@copilot resolve the merge conflicts in this pull request |
# Conflicts: # .github/workflows/build.yml Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Merged |

Summary
/, give matrix jobs distinct names, and fail if CTest discovers no quick tests.Validation
Required CI checks
This PR gives each build job a name that includes its Ubuntu version and compiler.
If
mainordevelrequires the oldTest pyEXP Buildcheck before merging,replace that requirement with the four new checks shown in the PR’s Checks tab.
If the old check is optional, no repository settings need to change. I'm not sure if
this is going to be a problem.