Skip to content

Drop Python 3.10 support and add Python 3.14 #61

Open

Description

@Gnpd

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 openmodels 0.2.x. pip respects requires-python, so pip install openmodels on 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.x branch.
  • 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: set requires-python = ">=3.11,<4.0"
  • pyproject.toml: set [tool.poetry.dependencies] python = ">=3.11,<4.0"
  • pyproject.toml: replace the Python :: 3.10 classifier with Python :: 3.14
  • .github/workflows/ci.yml: change the PR matrix to ["3.11", "3.12", "3.13", "3.14"]
  • Run poetry lock to 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 add test (3.14)

Acceptance criteria

  • CI passes on Python 3.11, 3.12, 3.13 and 3.14.
  • poetry install fails on Python 3.10 with a clear requires-python error.
  • The package metadata (classifiers, requires-python) shows 3.11–3.14 on PyPI after the 0.3.0 release.

Activity

  1. added this to the 0.3.0 milestone on Oct 9, 2026
  2. self-assigned this
    on Oct 9, 2026
  3. added
    breaking change
    maintenance
    on Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

breaking changemaintenance

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions