Repository navigation
Open
Labels
breaking changeRequires a major or minor version bump; users must take actionmaintenancePython versions, dependencies, CI and tooling
Milestone
Description
Summary
Raise the minimum supported Python version from 3.10 to 3.11 and add Python 3.14 to the supported versions and CI matrix. Target release: 0.3.0.
Motivation
Dropping 3.10
- Python 3.10 has reached end of life. 3.10.22 is the final release and there will be no further security fixes.
- Our core dependencies have already moved on: scikit-learn 1.8+ and NumPy 2.3+ require Python ≥ 3.11. Users on 3.10 are already stuck on older versions of those packages, so testing 3.10 in CI covers a combination newer users won't get.
- SPEC 0, the support policy used across the scientific Python ecosystem, dropped 3.10 in 2024.
Adding 3.14
- Python 3.14 has been stable since October 2025, and scikit-learn, NumPy and SciPy all publish 3.14 wheels.
Impact on users
- Breaking change for users on Python 3.10: they will stay on
openmodels0.2.x. pip respectsrequires-python, sopip install openmodelson 3.10 keeps installing 0.2.3. Nothing breaks for existing installs. - If a critical fix is needed for 0.2.x, it will be released from the
release/0.2.xbranch. - Files saved with 0.2.x on Python 3.10 should still load with 0.3.0 on 3.11+. Serialization format compatibility is independent of the Python version.
Tasks
-
pyproject.toml: setrequires-python = ">=3.11,<4.0" -
pyproject.toml: set[tool.poetry.dependencies] python = ">=3.11,<4.0" -
pyproject.toml: replace thePython :: 3.10classifier withPython :: 3.14 -
.github/workflows/ci.yml: change the PR matrix to["3.11", "3.12", "3.13", "3.14"] - Run
poetry lockto regenerate the lock file for the new Python range -
CHANGELOG.md: add an entry under Breaking changes for 0.3.0 - Check that the README and docs don't mention 3.10 as supported
- After merging: in the branch ruleset, remove the
test (3.10)required status check and addtest (3.14)
Acceptance criteria
- CI passes on Python 3.11, 3.12, 3.13 and 3.14.
poetry installfails on Python 3.10 with a clearrequires-pythonerror.- The package metadata (classifiers,
requires-python) shows 3.11–3.14 on PyPI after the 0.3.0 release.
Metadata
Metadata
Assignees
Labels
breaking changeRequires a major or minor version bump; users must take actionmaintenancePython versions, dependencies, CI and tooling
Type
Projects
- StatusShow more project fieldsReady
Activity