ci: pin CI Python dependencies to explicit versions #9643
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 285 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.338
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #9643"
general
weight: 0.35
nunnikri
Motivation
Several CI entry points install Python packages without a version pin, so each run silently
resolves them to whatever is latest on PyPI. That makes CI non-reproducible and lets a
breaking upstream release land with no change on our side. This pins the
unpinned CI dependencies to explicit versions.
JIRA ID : ROCM-26886
Technical Details
pip install <pkg>calls and unpinned requirements entries with explicit==versions.requests==2.33.0,pytest==9.0.3,prettytable==3.12.0,PyYAML==6.0.2,packaging==25.0,boto3==1.39.15. Packages with no existing==anywhere(
jinja2,pyzstd,pyelftools,ninja,uv) are pinned to their current versions.- Workflows / actions:
setup_test_environment/action.yml(uv),multi_arch_build_native_linux_packages.yml(jinja2, pyelftools, boto3, pyzstd),multi_arch_ci_linux.yml+multi_arch_ci_windows.yml(boto3),test_multi_arch_linux_jax_wheels.yml(packaging).- Requirements:
test_executable_scripts/requirements-test-ninja.txt,packaging/linux/requirements.txt,packaging/linux/tests/requirements.txt.- Bump workflow:
bump_submodules.ymlnow installs from a pinnedrequirements-bump.txt(+requirements-bump.in).external-builds/pytorch/requirements-ci.txt— it intentionallyrequires newer versions (
boto3>1.42.0,packaging>=26.0) than the repo-wide pins, somatching would downgrade it. Pinning it is a follow-up for the PyTorch owner.
Test Plan
pip install <pkg>remains in CI workflows/actions.Test Result
pip install <pkg>remains; all changed YAML parses..py) files are changed by this PR.pytest build_tools/github_actions/tests/bump_automation_test.pybuild_tools/github_actions/tests/post_bump_breadcrumbs_test.py → 94 passed.
Submission Checklist