Skip to content

Commit

Permalink
test_wheel: use wheel from <rapidsai/kvikio#527>
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Nov 4, 2024
1 parent b712abd commit 20202b0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci/test_wheel_cudf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,16 @@ if [[ $RAPIDS_DEPENDENCIES == "oldest" ]]; then
| tee ./constraints.txt
fi

# Download wheel from <https://github.com/rapidsai/kvikio/pull/527>
LIBKVIKIO_CHANNEL=$(
RAPIDS_PY_WHEEL_NAME=libkvikio_${RAPIDS_PY_CUDA_SUFFIX} rapids-get-pr-wheel-artifact kvikio 527 cpp # also python?
)
echo ${LIBKVIKIO_CHANNEL}/libkvikio_*.whl >> /tmp/requirements-build.txt

# echo to expand wildcard before adding `[extra]` requires for pip
python -m pip install \
-v \
-r /tmp/requirements-build.txt \
--constraint ./constraints.txt \
"$(echo ./dist/cudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)[test]" \
"$(echo ./dist/libcudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)" \
Expand Down
7 changes: 7 additions & 0 deletions ci/test_wheel_cudf_polars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,16 @@ if [[ $RAPIDS_DEPENDENCIES == "oldest" ]]; then
| tee ./constraints.txt
fi

# Download wheel from <https://github.com/rapidsai/kvikio/pull/527>
LIBKVIKIO_CHANNEL=$(
RAPIDS_PY_WHEEL_NAME=libkvikio_${RAPIDS_PY_CUDA_SUFFIX} rapids-get-pr-wheel-artifact kvikio 527 cpp # also python?
)
echo ${LIBKVIKIO_CHANNEL}/libkvikio_*.whl >> /tmp/requirements-build.txt

# echo to expand wildcard before adding `[test]` requires for pip
python -m pip install \
-v \
-r /tmp/requirements-build.txt \
--constraint ./constraints.txt \
"$(echo ./dist/cudf_polars_${RAPIDS_PY_CUDA_SUFFIX}*.whl)[test]" \
"$(echo ./dist/libcudf_${RAPIDS_PY_CUDA_SUFFIX}*.whl)" \
Expand Down

0 comments on commit 20202b0

Please sign in to comment.