← Back to Pull requests

Add support for Python 3.15 and drop EOL 3.10 #502

Merged
hugovk merged 15 files (75 lines) on Nov 07, 2026 09:42 UTC
View on GitHub
hugovk hugovk commented on Nov 03, 2026 13:49 UTC
Author
Diff: 75 lines (+34 / -41) across 15 files Reviewer: savannahostrowski Review duration: 5513m
All Vouch review confidence checks passed
Residual risk 0.05 = Change Risk (0.49) × (1 − Review Confidence (0.90)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.49 · 75 lines diff across 15 files
0.49
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.88 · 5 substantive comment(s)
0.88
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
90%
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.259
Real PR Conversation Timeline
7 items
StanFromIreland StanFromIreland commented on code on Nov 03, 2026 18:08 UTC
Code Review
.github/workflows/main.yml:1
@@ -21,35 +21,35 @@ jobs:
       matrix:
         # Test all supported versions on Ubuntu:
         os: [ubuntu-latest, ubuntu-24.04-arm]
-        python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
+        python: ["3.11", "3.12", "3.13", "3.14", "3.15"]
         experimental: [false]
         build: ['']
         include:
           # As the experimental task for the dev version.
           - os: ubuntu-latest
-            python: "3.14"
+            python: "3.15"
             experimental: true
             build: 'free-threading'
           - os: ubuntu-24.04-arm
-            python: "3.14"
+            python: "3.15"
             experimental: true
             build: 'free-threading'
           - os: ubuntu-latest
-            python: "3.15-dev"
+            python: "3.15-dev"  # TODO 3.16-dev pending https://github.com/actions/python-versions/pull/413
             experimental: true
           - os: ubuntu-latest
-            python: "3.15-dev"
+            python: "3.15-dev"  # TODO 3.16-dev pending https://github.com/actions/python-versions/pull/413
             experimental: true
             build: 'free-threading'
           # Also test PyPy, macOS, and Windows:
           - os: ubuntu-latest
             python: pypy-3.11

Please also update PyPy, 3.11 will be EOL soon.

hugovk hugovk commented on code on Nov 03, 2026 19:08 UTC
Code Review
.github/workflows/main.yml:1
@@ -21,35 +21,35 @@ jobs:
       matrix:
         # Test all supported versions on Ubuntu:
         os: [ubuntu-latest, ubuntu-24.04-arm]
-        python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
+        python: ["3.11", "3.12", "3.13", "3.14", "3.15"]
         experimental: [false]
         build: ['']
         include:
           # As the experimental task for the dev version.
           - os: ubuntu-latest
-            python: "3.14"
+            python: "3.15"
             experimental: true
             build: 'free-threading'
           - os: ubuntu-24.04-arm
-            python: "3.14"
+            python: "3.15"
             experimental: true
             build: 'free-threading'
           - os: ubuntu-latest
-            python: "3.15-dev"
+            python: "3.15-dev"  # TODO 3.16-dev pending https://github.com/actions/python-versions/pull/413
             experimental: true
           - os: ubuntu-latest
-            python: "3.15-dev"
+            python: "3.15-dev"  # TODO 3.16-dev pending https://github.com/actions/python-versions/pull/413
             experimental: true
             build: 'free-threading'
           # Also test PyPy, macOS, and Windows:
           - os: ubuntu-latest
             python: pypy-3.11
hugovk hugovk commented on Nov 04, 2026 09:26 UTC
Author

Python 3.16 is now available via GitHub Actions so I replaced the TODOs and added it to the CI.

It's currently failing due to KeyError: 'DELETE_GLOBAL' when importing cloudpickle in the dask benchmark. Already fixed at https://github.com/cloudpipe/cloudpickle/pull/599 but not yet released.

That's ok, we have experimental: true on 3.16-dev so it doesn't turn the job red or block. We can update it later.

savannahostrowski savannahostrowski commented on code on Nov 06, 2026 22:50 UTC
Code Review
doc/changelog.rst:1
@@ -1,7 +1,13 @@
 Changelog
 =========
 
-Version 1.14.0
+Version 1.15.0 (unreleased)
+--------------

I noticed a bunch of existing Sphinx warnings while running tox -e doc and opened #507 to fix those. These two headings need longer underlines too.

---------------------------

savannahostrowski savannahostrowski commented on code on Nov 06, 2026 22:51 UTC
Code Review
doc/changelog.rst:1
@@ -1,7 +1,13 @@
 Changelog
 =========
 
-Version 1.14.0
+Version 1.15.0 (unreleased)
+--------------
+* Add support for Python 3.15 and drop 3.10
+* Bump tornado to 6.6 (fixes ``BufferError`` on PyPy)
+* Bump genshi to 0.7.12 (fixes ``TypeError`` on Python 3.15)
+
+Version 1.14.0 (2026-02-07)
 --------------

---------------------------

savannahostrowski savannahostrowski approved these changes on Nov 06, 2026 23:12 UTC
Approved Reviewer

Left some comments about doc build warnings but overall LGTM

Assignees
hugovk hugovk
Labels
risk: low confidence: 90.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: 49.4% (MEDIUM) · Higher = larger blast radius
49.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: 90.1% · Lower = rushed or shallow review
90.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: 4.9% · Safe to merge
4.9%