← Back to Pull requests

Update pinned benchmark dependencies to current releases #523

Closed
unknown closed this pull request without merging on Nov 22, 2026 09:28 UTC
View on GitHub
unknown unknown commented on Nov 20, 2026 18:30 UTC
Author

This applies the suggested changes from https://github.com/python/pyperformance/issues/521:

| Benchmark | Package | Old | Bump | Released |
|---|---|---|---|---|
| asyncio_websockets | websockets | 11.0.3 | 17.4 | 2026-10-30 |
| chameleon | chameleon | 4.6.0 | 4.6.1 | 2026-11-13 |
| coverage | coverage | 7.3.2 | 7.17.3 | 2026-11-12 |
| dask | dask[distributed] | 2024.10.0 | 2026.8.0 | 2026-08-24 |
| django_template | django | 3.2.4 | 5.2.19 | 2026-11-03 |
| | asgiref | 3.3.4 | 3.13.0 | 2026-10-23 |
| | pytz | 2021.1 | 2026.6 | 2026-10-29 |
| | sqlparse | 0.4.1 | 0.6.1 | 2026-11-01 |
| | legacy-cgi | 2.6 | 2.6.4 | 2025-10-27 |
| docutils | docutils | 0.18.1 | 0.23 | 2026-05-27 |
| dulwich_log | dulwich | 0.20.23 | 1.2.21 | 2026-11-05 |
| | urllib3 | 1.26.5 | 2.8.0 | 2026-09-15 |
| | certifi | 2026.10.18 | 2026.10.23 | 2026-10-23 |
| fastapi | fastapi | 0.121.0 | 0.162.7 | 2026-11-13 |
| | uvicorn | 0.38.0 | 0.54.0 | 2026-09-25 |
| html5lib | six | 1.16.0 | 1.17.0 | 2024-12-04 |
| mako | mako | 1.1.4 | 1.4.3 | 2026-09-22 |
| | markupsafe | 2.0.1 | 3.0.4 | 2026-10-02 |
| networkx | networkx | 3.4.2 | 3.6.1 | 2025-12-08 |
| sphinx | sphinx | 7.3.7 | 9.0.4 | 2025-12-04 |
| | python-docs-theme | 2024.6 | 2025.2 | 2025-02-04 |
| sqlalchemy_
| sqlalchemy | 1.4.19 | 2.1.8 | 2026-11-04 |
| | greenlet | 3.2.4 | removed | |
| sqlglot_v2* | sqlglot | 4.6.0 | 30.31.0 | 2026-11-10 |
| sympy | sympy | 1.8 | 1.14.0 | 2025-04-27 |
| | mpmath | 1.2.1 | 1.3.0 | 2023-03-07 |
| tomli_loads | tomli | 2.0.1 | 2.1.0 | 2024-11-11 |
| tornado_http | tornado | 6.6 | 6.6.1 | 2026-11-09 |
| xdsl | xdsl | 0.54.3 | 0.76.0 | 2026-11-13 |
| yaml | pyyaml | 6.0.1 | 6.0.3 | 2025-09-25 |
| hg_startup (disabled) | mercurial | 5.8 | 7.2.4 | 2026-08-11 |
| core | pyperf | 2.10.0 | 2.11.0 | 2026-11-08 |
| | psutil | 7.0.0 | 7.2.2 | 2026-01-28 |

It also pulls in the updates from https://github.com/python/pyperformance/pull/490. That PR includes many other formatting changes, which I'm not sure about. CC @methane

Diff: 256 lines (+192 / -64) across 3 files Reviewer: savannahostrowski Review duration: 2338m
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 256 lines diff across 3 files
0.39
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
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.332
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #523"
general weight: 0.35
Assignees
Unassigned
Labels
risk: low confidence: 60.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: 39.1% (MEDIUM) · Higher = larger blast radius
39.1%
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: 60.5% · Lower = rushed or shallow review
60.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: 15.4% · Safe to merge
15.4%