Skip to content

Retry sample-file downloads on transient network errors - #40

Merged
CarlKCarlK merged 1 commit into
mainfrom
download-retries
Nov 14, 2026
Merged

CarlKCarlK merged 1 commit into
mainfrom
download-retries

Conversation

@CarlKCarlK

Copy link
Copy Markdown
Contributor
  • Enable pooch's retry_if_failed=3 for sample data, so a DNS failure, timeout or 5xx response retries with backoff instead of failing outright. Today a macOS CI job failed on a single name-resolution error while fetching small.fam.
  • Add a test whose first download attempt raises a simulated ConnectionError.
  • Changelog entry under Unreleased.

Enable pooch's retry_if_failed (three retries with backoff) so a DNS
failure, timeout or 5xx response while fetching sample data no longer
fails a run outright. Add a test with a simulated first-attempt failure.
@CarlKCarlK
CarlKCarlK merged commit aa21ff5 into main Nov 14, 2026
60 checks passed
@CarlKCarlK
CarlKCarlK deleted the download-retries branch November 14, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant