fixing python ci isssues

This commit is contained in:
matlabbe
2026-05-31 12:25:41 -07:00
parent 1d4d84272b
commit 71e8de2b1d
3 changed files with 20 additions and 0 deletions
+7
View File
@@ -88,6 +88,13 @@ jobs:
- name: Test
working-directory: ${{github.workspace}}/build
# PYTHONNOUSERSITE=1: prevent the embedded Python interpreter from
# loading numpy / other site-packages from ~/.local that were compiled
# against a different ABI than the build-time Python (causes numpy
# 1.x/2.x mismatch crashes in test_pydetector / test_pydescriptor /
# test_pymatcher).
env:
PYTHONNOUSERSITE: 1
run: |
ctest -C ${{env.BUILD_TYPE}} --output-on-failure
ctest -C ${{env.BUILD_TYPE}} --output-on-failure --rerun-failed