Skip to content

Add retries to Tools/build/generate_sbom.py #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 · 1 comment
Open

Add retries to Tools/build/generate_sbom.py #134262

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

Comments

@emmatyping
Copy link
Member

emmatyping commented May 19, 2025

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=134253

I've made a PR to add retries with exponential backoff:

Linked PRs

@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
@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 <[email protected]>
Co-authored-by: Semyon Moroz <[email protected]>
@emmatyping emmatyping reopened this May 23, 2025
@emmatyping
Copy link
Member Author

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

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

3 participants