Skip to content

Require Python >=3.12, add 3.14, drop stale pins - #315

Merged
selmanozleyen merged 5 commits into
theislab:mainfrom
selmanozleyen:chore/drop-py311
Dec 1, 2026
Merged

selmanozleyen merged 5 commits into
theislab:mainfrom
selmanozleyen:chore/drop-py311

Conversation

@selmanozleyen

@selmanozleyen selmanozleyen commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Drops Python 3.11 support (SPEC 0, and the scverse template already sets requires-python >=3.12) and moves CI to newer Pythons.

Python versions

  • requires-python = ">=3.12"; classifiers 3.12–3.14 ([tool.pyproject-fmt] max_supported_python = "3.14" so pyproject-fmt keeps the 3.14 classifier).
  • Test matrix: ubuntu 3.12 / 3.13 / 3.14, macOS 3.14 (was ubuntu 3.11–3.13, macOS 3.12). tox env list to match.
  • Lint, slow tests and RTD run on 3.13 (were 3.11/3.12); mypy targets 3.12.

Pins removed

  • statsmodels<0.15; python_version<'3.12' (from Update template to v0.8.0, fix CI and docs references #310): dead without 3.11.
  • scipy<1.16: statsmodels#9584 is fixed in current statsmodels. Without it pertpy resolves to 1.4/1.5 instead of being held at 1.3.0.
  • scikit-learn==1.5.1 → >=1.5.1: 1.5.1 only ships wheels up to cp312, so the 3.13 job was building it from source and 3.14 would fail. Separate commit so it's easy to revert if CI disagrees.

Tested locally on 3.12 without the scipy pin (scipy 1.18.1, statsmodels 0.15.0, pertpy 1.4.0): non-slow suite passes apart from the vf_kwargs test #310 has since fixed. The 3.14 job and the relaxed scikit-learn pin are only covered by this PR's CI.

🤖 Generated with Claude Code

@selmanozleyen selmanozleyen changed the title Require Python >=3.12 Require Python >=3.12, add 3.14, drop stale pins Dec 1, 2026
@selmanozleyen
selmanozleyen merged commit 78d3518 into theislab:main Dec 1, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant