Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions ci/util/python/run_examples_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ if [[ "${ctk_flavor}" == "cu" ]]; then
cupy_req="${cupy_req}[ctk]"
fi

# TODO: drop "pytest<9.2" once pytest-benchmark supports pytest 9.2 (Function._nodeid removal, ionelmc/pytest-benchmark#321)
python -m pip install "${CUDA_CCCL_WHEEL_PATH}[test-${ctk_flavor}${cuda_major_version}]" "${cupy_req}" pytest-benchmark "pytest<9.2"
# pytest-benchmark < 5.3.1 fails with pytest >= 9.2 (Function._nodeid removal, ionelmc/pytest-benchmark#321)
python -m pip install "${CUDA_CCCL_WHEEL_PATH}[test-${ctk_flavor}${cuda_major_version}]" "${cupy_req}" "pytest-benchmark>=5.3.1"

cd "${repo_root}/python/cuda_cccl/tests/"
python -m pytest -n 6 test_examples.py
Expand Down
4 changes: 2 additions & 2 deletions ci/windows/run_examples_tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ $repoRoot = Get-RepoRoot
$wheelPath = Get-OnePathMatch -Path (Join-Path $repoRoot 'wheelhouse') -Pattern '^cuda_cccl-.*\.whl' -File

# pytest-benchmark is for the host-benchmark smoke test below.
# TODO: drop "pytest<9.2" once pytest-benchmark supports pytest 9.2 (Function._nodeid removal, ionelmc/pytest-benchmark#321)
Invoke-Checked { & $python -m pip install -U pip "pytest<9.2" pytest-xdist pytest-benchmark } "Failed to install pytest / pytest-xdist / pytest-benchmark"
# pytest-benchmark < 5.3.1 fails with pytest >= 9.2 (Function._nodeid removal, ionelmc/pytest-benchmark#321)
Invoke-Checked { & $python -m pip install -U pip pytest pytest-xdist "pytest-benchmark>=5.3.1" } "Failed to install pytest / pytest-xdist / pytest-benchmark"
# CuPy is required by the cuda.compute examples and is not part of the test extras.
# It resolves curand/cublas/... through cuda-pathfinder at first use and nothing
# else installs them, so request its own `ctk` extra on the pip-toolkit lanes.
Expand Down
Loading