chore(py): raise minimum Python version to 3.11 #2967
All Vouch review confidence checks passed
Residual risk 0.29 = Change Risk (0.51) × (1 − Review Confidence (0.44)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.51 · 261 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 10%
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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.333
No Reviewer Assigned
no_reviewer_assigned
0.120
Real PR Conversation Timeline
1 comments
"Review active on #2967"
general
weight: 0.35
mini-1235
Raises py-rattler-build's minimum Python version from 3.10 to 3.11, as discussed on Discord.
Python 3.10 reached end of life on 2026-10-01 (PEP 619), and conda-forge's
python_minis already 3.11, so the conda-forge builds have requiredcpython >=3.11since 0.73.0.This also fixes a missing dependency:
progress.pyimportsSelffromtyping_extensions, which isn't a declared dependency. In environments without it, every progress callback fails withModuleNotFoundError: No module named 'typing_extensions'. With 3.11 as the minimum,Selfcomes fromtyping.Changes
pyproject.toml:requires-python, rufftarget-versionand typython-versionmove from 3.10 to 3.11rust/Cargo.toml: pyo3abi3-py310→abi3-py311pixi.toml: build variant and test environment move to 3.11;pixi.lockregeneratedpixi.lock: regenerated, since thedocsenvironment depends on the local py-rattler-build and records its Python requirementprogress.py:from typing import Selfinstead oftyping_extensionstimezone.utc→datetime.UTC) in three test files and one notebook. The rule applies now that the target is py311.python-build.yml: the aarch64 wheel test runs on Ubuntu 24.04 (Python 3.12) instead of 22.04 (Python 3.10, below the new minimum), with--break-system-packagesas in the Alpine jobTesting
abi3-py311extension built on 3.11 (192 passed, 5 skipped).progress.pywithouttyping_extensionsinstalled on 3.11 and 3.14.pixi.lockwas regenerated with pixi 0.84.2, which also reformatted some entries. No package versions changed besides the Python 3.10 → 3.11 builds. I'm happy to regenerate it with your pixi version if you prefer a smaller diff.---
This PR description was AI-generated with Claude Opus 5.5 (
claude-opus-5-5).🤖 Generated with Claude Code