Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use rapids-pip-retry in CI jobs that might need retries #655

Merged
merged 1 commit into from
Feb 5, 2025
Merged
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
2 changes: 1 addition & 1 deletion ci/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"

cd "${package_dir}"

python -m pip wheel . -w dist -v --no-deps --disable-pip-version-check
rapids-pip-retry wheel . -w dist -v --no-deps --disable-pip-version-check

../ci/validate_wheel.sh dist

Expand Down
4 changes: 2 additions & 2 deletions ci/test_external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if [ "$PROJECT" = "all" ]; then
# Change directory to the library
pushd $LIBRARY
# Run setup.py with test dependencies
python -m pip install .[tests]
rapids-pip-retry install .[tests]

rapids-logger "Run GPU tests for $LIBRARY"

Expand All @@ -76,7 +76,7 @@ else
# Change directory to the specified project
pushd $PROJECT
# Run setup.py with test dependencies
python -m pip install .[tests]
rapids-pip-retry install .[tests]


rapids-logger "Run GPU tests for $PROJECT"
Expand Down
2 changes: 1 addition & 1 deletion ci/test_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"
RAPIDS_PY_WHEEL_NAME="cuxfilter_${RAPIDS_PY_CUDA_SUFFIX}" RAPIDS_PY_WHEEL_PURE="1" rapids-download-wheels-from-s3 ./dist

# echo to expand wildcard before adding `[extra]` requires for pip
python -m pip install $(echo ./dist/cuxfilter*.whl)[test]
rapids-pip-retry install $(echo ./dist/cuxfilter*.whl)[test]

python -m pytest -n 8 ./python/cuxfilter/tests