Skip to content
Draft
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
13 changes: 12 additions & 1 deletion ci/test_wheel.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION.
# SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

set -euo pipefail
Expand All @@ -16,6 +16,17 @@ mkdir -p "${RAPIDS_TESTS_DIR}"
# dependencies that can be installed later on when installing the wheel
rapids-generate-pip-constraints test_python "${PIP_CONSTRAINT}"

python -m venv libcuml-env
. libcuml-env/bin/activate

rapids-pip-retry install \
-v \
--prefer-binary \
--constraint "${PIP_CONSTRAINT}" \
"${LIBCUML_WHEELHOUSE}"/libcuml*.whl
python -c "import libcuml; assert (libraries := libcuml.load_library()) and all(libraries)"
deactivate

# notes:
#
# * just providing --constraint="${PIP_CONSTRAINT}" to be explicit, and because
Expand Down
Loading