Refactor -r pylock.toml, support release control and dependency cooldown #14165
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 206 lines diff across 2 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.319
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #14165"
general
weight: 0.35
ichard26
Instead of adding a
locked_linkandlocked_versionto InstallRequirement, provide a locked link per project name to the PackageFinder.Let
get_all_candidatesignore indexes and--find-linkwhen a locked link is known for a project.This naturally supports format control, so the duplicate implementation in
constructors.pycan be removed. This also naturally addresses release control, as well as--uploaded-prior-to(via theupload_timefield ofpylock.toml). Revert the change that I had made toresolvelib/factory.py, which was a bit awkward.All in all, this is a much simpler and natural implementation, I think.
TODO:
- https://github.com/pypa/pip/issues/13963
- improving format control error reporting
closes #13950
closes #13963
closes #13968
closes #14168
PR Checklist:
<!--- Go over all the following points, and put an
xin all the boxes that apply. --><!-- If checked and you have used AI tools, add a line below: Assisted-by: <tool name, e.g. Claude> -->