-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Add retries to downloads of Windows dependencies #134262
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
Comments
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
(cherry picked from commit 0c5a8b0) Co-authored-by: Emma Smith <emma@emmatyping.dev> Co-authored-by: Semyon Moroz <donbarbos@proton.me>
Re-opening since the underlying issue isn't resolved yet. |
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
Tools/build/generate_sbom.py
…ythonGH-134820) (cherry picked from commit e9d845b) Co-authored-by: Emma Smith <emma@emmatyping.dev>
…ythonGH-134820) (cherry picked from commit e9d845b) Co-authored-by: Emma Smith <emma@emmatyping.dev>
…GH-134865) (cherry picked from commit e9d845b) Includes fix for off-by-one error from GH-134867 (cherry-picked from commit e64395e) Co-authored-by: Emma Smith <emma@emmatyping.dev>
I skimmed a couple of pages of PRs and haven't seen any failures due to these connection issues, so hopefully this worked! We can always bump numbers or re-evaluate the solution in a future PR if need be. |
A failure (at one of the lines you recently modified) popped up today: https://github.com/python/cpython/actions/runs/15565936921/job/43829935370?pr=135355 |
Yeah, we should probably catch both URLError and ConnectionError in these retry loops. |
Uh oh!
There was an error while loading. Please reload this page.
generate_sbom.py
downloads sources to verify their hashes. Sometimes these downloads flake, like in https://github.com/python/cpython/actions/runs/15118338626/job/42494602073?pr=134253I've made a PR to add retries with exponential backoff:
Linked PRs
Tools/build/generate_sbom.py
#134558PCbuild\get_external.py
#134820The text was updated successfully, but these errors were encountered: