Skip to content

Conversation

@MaxGhenis
Copy link
Contributor

Summary

This PR adds support for Python 3.14 to policyengine-core.

Changes

  • Added Python 3.14 to classifiers in setup.py
  • Added Python 3.14 to CI test matrix (Test and SmokeTestForMultipleVersions jobs)
  • Updated dependency installation logic to handle Python 3.14 similarly to Python 3.13

Test Plan

  • CI will run tests on Python 3.10, 3.11, 3.12, 3.13, and 3.14
  • Smoke tests will verify compatibility with policyengine-us on all Python versions

Related Issue

Fixes #399

🤖 Generated with Claude Code

- Add Python 3.14 to classifiers in setup.py
- Add Python 3.14 to CI test matrix
- Update dependency installation for Python 3.13+ to include 3.14

Fixes PolicyEngine#399

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@codecov
Copy link

codecov bot commented Oct 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.88%. Comparing base (58c2fca) to head (1b22170).
⚠️ Report is 12 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #401      +/-   ##
==========================================
+ Coverage   81.14%   81.88%   +0.74%     
==========================================
  Files         197      198       +1     
  Lines       10228    10233       +5     
  Branches     1057     1038      -19     
==========================================
+ Hits         8299     8379      +80     
+ Misses       1640     1593      -47     
+ Partials      289      261      -28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@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

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