← Back to Pull requests

add deprecation warning for `pyodide-prerelease` enable #3082

Merged
agriyakhetarpal merged 5 files (42 lines) on Dec 04, 2026 16:50 UTC
View on GitHub
agriyakhetarpal agriyakhetarpal commented on Dec 03, 2026 00:14 UTC
Author

Similar to how we've deprecated enable groups before, such as cpython-experimental-riscv64, we can have a deprecation warning for this group in 4.x releases, as I added here, and fully remove it when we release 5.0.0.

Diff: 42 lines (+38 / -4) across 5 files Reviewer: ryanking13 Review duration: 2435m
All Vouch review confidence checks passed
Residual risk 0.07 = Change Risk (0.31) × (1 − Review Confidence (0.76)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.31 · 42 lines diff across 5 files
0.31
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.61 · 2 substantive comment(s)
0.61
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
76%
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.225
Real PR Conversation Timeline
5 items
ryanking13 ryanking13 commented on code on Dec 03, 2026 03:02 UTC
Code Review
cibuildwheel/__main__.py:1
@@ -505,6 +505,13 @@ def detect_warnings(*, options: Options) -> Generator[str, None, None]:
     build_selector = options.globals.build_selector
     test_selector = options.globals.test_selector
 
+    if EnableGroup.PyodidePrerelease in build_selector.enable:
+        yield (
+            "'pyodide-prerelease' enable is deprecated and will be removed in a future version. "
+            "It should be removed from tool.cibuildwheel.enable in pyproject.toml "
+            "or CIBW_ENABLE environment variable."
+        )

Maybe it would be nice to mention that cpython-prerelease replaces it?

ryanking13 ryanking13 approved these changes on Dec 03, 2026 03:02 UTC
Approved Reviewer

Approved these changes.

henryiii henryiii approved these changes on Dec 04, 2026 15:34 UTC
Approved Reviewer

Approved these changes.

agriyakhetarpal agriyakhetarpal commented on code on Dec 04, 2026 15:51 UTC
Code Review
cibuildwheel/__main__.py:1
@@ -505,6 +505,13 @@ def detect_warnings(*, options: Options) -> Generator[str, None, None]:
     build_selector = options.globals.build_selector
     test_selector = options.globals.test_selector
 
+    if EnableGroup.PyodidePrerelease in build_selector.enable:
+        yield (
+            "'pyodide-prerelease' enable is deprecated and will be removed in a future version. "
+            "It should be removed from tool.cibuildwheel.enable in pyproject.toml "
+            "or CIBW_ENABLE environment variable."
+        )

Done!

Reviewers
Assignees
agriyakhetarpal agriyakhetarpal
Labels
risk: low confidence: 76.1% 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: 31.4% (LOW) · Higher = larger blast radius
31.4%
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: 76.1% · Lower = rushed or shallow review
76.1%
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: 7.5% · Safe to merge
7.5%