From 8edc5a06ea90b747c95cb80a2c08a6fd6c7ca89c Mon Sep 17 00:00:00 2001 From: Gil Forsyth Date: Wed, 29 Jan 2025 13:05:18 -0500 Subject: [PATCH] Try reinstalling 50 times to try to force a network issue --- ci/build_wheel_libraft.sh | 12 ++++++++---- ci/test_wheel_raft_dask.sh | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/ci/build_wheel_libraft.sh b/ci/build_wheel_libraft.sh index 8c2d9b8dbb..7ddeacc223 100755 --- a/ci/build_wheel_libraft.sh +++ b/ci/build_wheel_libraft.sh @@ -25,10 +25,14 @@ then fi rapids-logger "Installing build requirements" -rapids-pip-retry install \ - -v \ - --prefer-binary \ - -r /tmp/requirements-build.txt + +# I am so sorry: +for i in {1..50}; do + rapids-pip-retry install --force-reinstall \ + -v \ + --prefer-binary \ + -r /tmp/requirements-build.txt +done # build with '--no-build-isolation', for better sccache hit rate # 0 really means "add --no-build-isolation" (ref: https://github.com/pypa/pip/issues/5735) diff --git a/ci/test_wheel_raft_dask.sh b/ci/test_wheel_raft_dask.sh index b50658b4bf..b69fc7c0d5 100755 --- a/ci/test_wheel_raft_dask.sh +++ b/ci/test_wheel_raft_dask.sh @@ -17,10 +17,14 @@ then export PATH="$PWD/gha-tools/tools":$PATH fi # echo to expand wildcard before adding `[extra]` requires for pip -rapids-pip-retry install -v \ - ./local-libraft-dep/libraft*.whl \ - ./local-pylibraft-dep/pylibraft*.whl \ - "$(echo ./dist/raft_dask_${RAPIDS_PY_CUDA_SUFFIX}*.whl)[test]" +# +# I am so sorry: +for i in {1..50}; do + rapids-pip-retry install --force-reinstall -v \ + ./local-libraft-dep/libraft*.whl \ + ./local-pylibraft-dep/pylibraft*.whl \ + "$(echo ./dist/raft_dask_${RAPIDS_PY_CUDA_SUFFIX}*.whl)[test]" +done test_dir="python/raft-dask/raft_dask/tests"