← Back to Pull requests

Add support for Python 3.15 and drop 3.10 #581

Merged
kytta merged 9 files (77 lines) on Sep 04, 2026 08:32 UTC
View on GitHub
kytta kytta commented on Aug 21, 2026 18:04 UTC
Author

This explicitly declares support for Python 3.15 via classifiers and enables testing in Python 3.15 and 3.15t. It also drops support for Python 3.10

All tests passed locally :)

  py311-test: OK (14.59=setup[1.48]+cmd[13.11] seconds)
  py311-mypy: OK (3.66=setup[3.48]+cmd[0.18] seconds)
  py312-test: OK (15.31=setup[2.17]+cmd[13.14] seconds)
  py312-mypy: OK (2.91=setup[2.74]+cmd[0.17] seconds)
  py313-test: OK (16.20=setup[2.97]+cmd[13.23] seconds)
  py313-mypy: OK (3.66=setup[3.46]+cmd[0.20] seconds)
  py314-test: OK (14.06=setup[0.86]+cmd[13.20] seconds)
  py314-mypy: OK (2.91=setup[2.72]+cmd[0.20] seconds)
  py315-test: OK (14.00=setup[0.81]+cmd[13.19] seconds)
  py315-mypy: OK (1.69=setup[1.51]+cmd[0.18] seconds)
  py313t-test: OK (14.38=setup[1.01]+cmd[13.37] seconds)
  py314t-test: OK (14.94=setup[1.72]+cmd[13.22] seconds)
  py315t-test: OK (14.76=setup[1.51]+cmd[13.25] seconds)
  qa: OK (1.60=setup[0.01]+cmd[1.60] seconds)
  congratulations :) (19.41 seconds)

Diff: 77 lines (+36 / -41) across 9 files Reviewer: carltongibson Review duration: 19587m
All Vouch review confidence checks passed
Residual risk 0.03 = Change Risk (0.41) × (1 − Review Confidence (0.92)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.41 · 77 lines diff across 9 files
0.41
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.91 · 3 substantive comment(s)
0.91
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
91%
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.261
Real PR Conversation Timeline
6 items
smithdc1 smithdc1 commented on code on Aug 22, 2026 07:17 UTC
Code Review
.github/workflows/tests.yml:1
@@ -19,8 +19,10 @@ jobs:
         - { python-version: '3.12',  toxenv: 'py312-test,py312-mypy' }
         - { python-version: '3.13',  toxenv: 'py313-test,py313-mypy' }
         - { python-version: '3.14',  toxenv: 'py314-test,py314-mypy' }
+        - { python-version: '3.15',  toxenv: 'py315-test,py315-mypy' }

I guess I can run the tests I'm assuming this will fail as 3.15 is not yet available

https://github.com/actions/python-versions/releases

kytta kytta commented on code on Aug 22, 2026 07:31 UTC
Code Review
.github/workflows/tests.yml:1
@@ -19,8 +19,10 @@ jobs:
         - { python-version: '3.12',  toxenv: 'py312-test,py312-mypy' }
         - { python-version: '3.13',  toxenv: 'py313-test,py313-mypy' }
         - { python-version: '3.14',  toxenv: 'py314-test,py314-mypy' }
+        - { python-version: '3.15',  toxenv: 'py315-test,py315-mypy' }

They won't, because 3.15.0rc1 is available, which is an ABI-stable release candidate, and allow-prereleases: true a few lines below will download it

carltongibson carltongibson commented on Aug 28, 2026 09:18 UTC
Reviewer

Hi @kytta — thanks for this.

I don't want to support 6 Python's concurrently. I'm happy to take this, but can I ask you to drop 3.10 support at the same time?

(I think 3.15 final and 3.10 EOL are close enough now)

kytta kytta commented on Aug 28, 2026 17:13 UTC
Author

I don't want to support 6 Python's concurrently. I'm happy to take this, but can I ask you to drop 3.10 support at the same time?

@carltongibson sure thing; I think I dropped it from everywhere it was mentioned and ran pyupgrade :)

carltongibson carltongibson approved these changes on Sep 04, 2026 08:32 UTC
Approved Reviewer

Great. Thank you! 🎁

Reviewers
Assignees
kytta kytta
Labels
risk: low confidence: 91.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: 40.8% (MEDIUM) · Higher = larger blast radius
40.8%
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: 91.5% · Lower = rushed or shallow review
91.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: 3.5% · Safe to merge
3.5%
Repository