Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: swap --ignore-glob for -k 'not TestIpc' in numba-cuda pytest
pytest's --ignore-glob="**/test_ipc.py" didn't match through the
--pyargs-resolved site-packages path (5 tests still ran and failed
with the CUipcMemHandle.reserved AttributeError on linux-64). Match
by class name instead — the affected tests live in TestIpcMemory
and TestIpcStaged, both starting with "TestIpc", so this is
unambiguous.
  • Loading branch information
leofang committed Sep 30, 2026
commit b53d482b08abe24b0e2acd0fa92e93f6decf6ff0
9 changes: 5 additions & 4 deletions .github/workflows/test-wheel-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -486,11 +486,12 @@ jobs:
fi
# Run from numba-cuda's testing/ dir so its pytest.ini kicks in
# (consider_namespace_packages=true + --pyargs numba.cuda.tests).
# test_ipc: numba-cuda v0.30.4 accesses CUipcMemHandle.reserved, which
# cuda-bindings intentionally removed. numba-cuda is EOL upstream, so
# no fix is coming. See cuda-python#2748.
# -k "not TestIpc": numba-cuda v0.30.4 accesses CUipcMemHandle.reserved,
# which cuda-bindings intentionally removed. numba-cuda is EOL upstream,
# so no fix is coming. See cuda-python#2748. The affected tests all
# live in the two TestIpcMemory/TestIpcStaged classes in test_ipc.py.
pushd numba-cuda-released/testing
pytest -v --ignore-glob="**/test_ipc.py"
pytest -v -k "not TestIpc"
Comment thread
leofang marked this conversation as resolved.
Resolved
popd

- name: Checkout numba-cuda-mlir tests at matching tag
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-wheel-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -467,9 +467,9 @@ jobs:
if [[ "${LOCAL_CTK}" != 1 ]]; then
export NUMBA_CUDA_TEST_WHEEL_ONLY=1
fi
# See linux step for rationale on running from testing/ and the test_ipc skip.
# See linux step for rationale on running from testing/ and -k.
pushd numba-cuda-released/testing
pytest -v --ignore-glob="**/test_ipc.py"
pytest -v -k "not TestIpc"
popd

- name: Checkout numba-cuda-mlir tests at matching tag
Expand Down
Loading