Skip to content

Add Python 3.14 support, drop 3.10#536

Merged
MaxGhenis merged 1 commit intoPolicyEngine:masterfrom
MaxGhenis:upgrade-python-3.14
Feb 24, 2026
Merged

Add Python 3.14 support, drop 3.10#536
MaxGhenis merged 1 commit intoPolicyEngine:masterfrom
MaxGhenis:upgrade-python-3.14

Conversation

@MaxGhenis
Copy link
Contributor

@MaxGhenis MaxGhenis commented Oct 8, 2025

Summary

  • Add Python 3.14 classifier to pyproject.toml, drop 3.10
  • Set requires-python >= 3.11 (following SPEC 0 policy)
  • Update CI to test on Python 3.14 with allow-prereleases: true
  • Upgrade GitHub Actions: checkout v4, setup-python v5, codecov v4
  • Add .python-version (3.14) for uv default

Context

policyengine-core just merged Python 3.14 support, and PyTables 3.11.0 now has wheels for 3.14.

Fixes #535

@MaxGhenis
Copy link
Contributor Author

Status Update

Python 3.14 was released on October 7, 2025. CI tests are currently failing because h5py doesn't have Python 3.14 wheels yet.

Current Situation

  • h5py has Python 3.14 wheels in nightly builds
  • Stable release (h5py 3.15) is being planned (issue #2651)
  • Building h5py from source is failing on Python 3.14

Next Steps

This PR will remain in draft status until h5py 3.15 is released on PyPI. Once that happens, CI should pass and the PR can be marked ready for review.

Tracking: h5py/h5py#2713

- Add Python 3.14 classifier, set requires-python >= 3.11
- Update CI workflows to test on Python 3.14 with allow-prereleases
- Upgrade checkout to v4, setup-python to v5, codecov to v4
- Add .python-version for uv default
- Add towncrier changelog fragment

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@MaxGhenis MaxGhenis changed the title Add Python 3.14 support Add Python 3.14 support, drop 3.10 Feb 24, 2026
@MaxGhenis MaxGhenis marked this pull request as ready for review February 24, 2026 17:30
@MaxGhenis MaxGhenis merged commit 39bc060 into PolicyEngine:master Feb 24, 2026
4 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.

Upgrade to Python 3.14

1 participant