Strip authentication from editable VCS URLs in pip freeze #14222
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.61) × (1 − Review Confidence (0.54)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.61 · 150 lines diff across 1 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.300
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.061
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #14222"
general
weight: 0.35
sepehr-rs
What does this PR do?
Fixes #11410.
Editable VCS installs derive their frozen requirement from the clone's remote URL. This change strips concrete authentication information before
pip freezeemits that requirement, while preserving literal PEP 610 environment-variable references and thegit@user for SSH remotes.It adds an end-to-end regression test and focused coverage for safe and unsafe user-info forms.
PR Checklist:
Assisted-by: OpenAI Codex
Tests
pytest tests/unit/test_operations_freeze.py: 13 passedpytest tests/functional/test_freeze.py: 25 passed, 6 skipped, 1 xfailed