← Back to Pull requests

Finalize support for `--no-binary` with `-r pylock.toml` #14187

Open
sbidoul opened this pull request with 68 lines diff across 6 files
View on GitHub
sbidoul sbidoul commented on Jul 18, 2026 12:41 UTC
Author

Since pylock.select() prefers wheels, --no-binary did work only in some cases with -r pylock.toml.

~Waiting for https://github.com/pypa/packaging/pull/1334 (packaging 26.3)~

Diff: 68 lines (+64 / -4) across 6 files Reviewer: ichard26 Review duration: 142788m
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.43) × (1 − Review Confidence (0.66)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 68 lines diff across 6 files
0.43
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.35 · 1 substantive comment(s)
0.35
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
65%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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.253
Real PR Conversation Timeline
2 items
ichard26 ichard26 commented on Aug 06, 2026 02:12 UTC
Reviewer

Test failures look real. It seems like you need to guard the FormatControl import by if TYPE_CHECKING since otherwise pip freeze and pip uninstall will import all of the index machinery unnecessarily.

Reviewers
Assignees
sbidoul sbidoul
Labels
risk: low confidence: 65.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 42.6% (MEDIUM) · Higher = larger blast radius
42.6%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 65.5% · Lower = rushed or shallow review
65.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 14.7% · Safe to merge
14.7%
Repository