Skip to content

Commit

Permalink
Retry on DependencyNeedsBuildingError. (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice authored Sep 9, 2024
1 parent e94044f commit 6e9b61b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/rapids-conda-retry
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ function runConda {
elif grep -q ConnectionError: "${outfile}"; then
retryingMsg="Retrying, found 'ConnectionError:' in output..."
needToRetry=1
elif grep -q DependencyNeedsBuildingError: "${outfile}"; then
retryingMsg="Retrying, found 'DependencyNeedsBuildingError:' in output..."
needToRetry=1
elif grep -q EOFError: "${outfile}"; then
retryingMsg="Retrying, found 'EOFError:' in output..."
needToRetry=1
Expand All @@ -120,6 +123,7 @@ function runConda {
'CondaMultiError:', \
'Connection broken:', \
'ConnectionError:', \
'DependencyNeedsBuildingError:', \
'EOFError:', \
'JSONDecodeError:', \
'Multi-download failed', \
Expand Down

0 comments on commit 6e9b61b

Please sign in to comment.