Skip to content

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

Open
emmatyping opened this issue May 19, 2025 · 4 comments
Open

Add retries to downloads of Windows dependencies #134262

emmatyping opened this issue May 19, 2025 · 4 comments
Labels
build The build process and cross-build infra CI, GitHub Actions, buildbots, Dependabot, etc. type-feature A feature request or enhancement

Comments

@emmatyping emmatyping added the build The build process and cross-build label May 19, 2025
@picnixz picnixz added type-feature A feature request or enhancement infra CI, GitHub Actions, buildbots, Dependabot, etc. labels May 20, 2025
hugovk pushed a commit that referenced this issue May 21, 2025
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
@hugovk hugovk closed this as completed May 21, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 21, 2025
(cherry picked from commit 0c5a8b0)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
@emmatyping emmatyping reopened this May 23, 2025
@emmatyping
Copy link
Member Author

Re-opening since the underlying issue isn't resolved yet.

lkollar pushed a commit to lkollar/cpython that referenced this issue May 26, 2025
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
@emmatyping emmatyping changed the title Add retries to Tools/build/generate_sbom.py Add retries to downloads of Windows dependencies May 28, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 28, 2025
…ythonGH-134820)

(cherry picked from commit e9d845b)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 28, 2025
…ythonGH-134820)

(cherry picked from commit e9d845b)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
zooba pushed a commit that referenced this issue May 28, 2025
…4820)

(cherry picked from commit e9d845b)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
zware pushed a commit that referenced this issue May 28, 2025
…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>
zware pushed a commit that referenced this issue May 28, 2025
(cherry picked from commit 0c5a8b0)

Includes fix for off-by-one error from GH-134867
(cherry-picked from commit e64395e)

Co-authored-by: Emma Smith <emma@emmatyping.dev>
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
@emmatyping
Copy link
Member Author

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.

@StanFromIreland
Copy link
Contributor

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

@emmatyping
Copy link
Member Author

Yeah, we should probably catch both URLError and ConnectionError in these retry loops.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build infra CI, GitHub Actions, buildbots, Dependabot, etc. type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

4 participants