Skip to content

Commit

Permalink
Use rapids-pip-retry in CI jobs that might need retries
Browse files Browse the repository at this point in the history
  • Loading branch information
gforsyth committed Feb 5, 2025
1 parent 0adb828 commit a38cdc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ci/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ rapids-dependency-file-generator \
| tee /tmp/requirements-build.txt

rapids-logger "Installing build requirements"
python -m pip install \
rapids-pip-retry install \
-v \
--prefer-binary \
-r /tmp/requirements-build.txt
Expand All @@ -42,7 +42,7 @@ cd "${package_dir}"
sccache --zero-stats

rapids-logger "Building '${package_name}' wheel"
python -m pip wheel \
rapids-pip-retry wheel \
-w dist \
-v \
--no-build-isolation \
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,7 +7,7 @@ RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen "${RAPIDS_CUDA_VERSION}")"
RAPIDS_PY_WHEEL_NAME="cucim_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./dist

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

CUDA_MAJOR_VERSION=${RAPIDS_CUDA_VERSION:0:2}

Expand Down

0 comments on commit a38cdc2

Please sign in to comment.