Conversation
- Add Python 3.14 to classifiers in setup.py - Add Python 3.14 to Test matrix in pr.yaml - Add Python 3.14 to SmokeTestForMultipleVersions matrix - Handle Python 3.14 like 3.13 for tables package workaround The numpy compatibility fix for Python 3.14 was already merged in PR PolicyEngine#409. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #425 +/- ##
==========================================
+ Coverage 81.14% 82.45% +1.31%
==========================================
Files 197 202 +5
Lines 10228 10585 +357
Branches 1057 1066 +9
==========================================
+ Hits 8299 8728 +429
+ Misses 1640 1582 -58
+ Partials 289 275 -14 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
tables doesn't have Python 3.14 wheels yet, so the smoke tests with policyengine-us will fail. The core tests pass on Python 3.14. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Will merge when tables has Python 3.14 wheels. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
tables 3.11+ will have Python 3.14 wheels (PyTables/PyTables#1262). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Core tests still run on 3.14 (and pass). Smoke tests with policyengine-us excluded until tables has Python 3.14 support. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
CI failure signals PR is blocked. When tables 3.11 releases, CI will auto-pass and PR is ready to merge. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The old workaround installed unnecessary deps (synthimpute, etc.). Just let policyengine-us install normally - it will fail on Python 3.14 until tables 3.11 releases, then auto-work. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
@MaxGhenis I've implemented a workaround to unblock this PR! 🎉 What changed Instead of waiting for PyTables 3.11.0 to be released, I've updated the CI workflow to install PyTables directly from GitHub master for Python 3.14. This is similar to the existing Python 3.13 workaround, but uses: PyTables PR #1286 already merged Python 3.14 support on January 7, 2026, so the master branch has everything we need. Changes made Branch: Updated
Updated
Why this works ✅ PyTables master has Python 3.14 support (merged in PR #1286) Next steps You can either:
The workaround follows the same pattern as the Python 3.13 handling, so it should be safe and maintainable until the official release. |
Summary
Add Python 3.14 support to policyengine-core.
Status: Blocked on tables
Once tables 3.11.0 ships with Python 3.14 support, this PR can be merged.
Changes
tablespackage workaroundWhat works now
What's blocked
Dependencies
The numpy compatibility fix for Python 3.14 was already merged in PR #409.
Test plan
Related issue
Fixes #399
🤖 Generated with Claude Code