Skip to content

Add Python 3.13 support#1266

Merged
MaxGhenis merged 10 commits into
masterfrom
python-3.13-support
Jul 26, 2025
Merged

Add Python 3.13 support#1266
MaxGhenis merged 10 commits into
masterfrom
python-3.13-support

Conversation

@MaxGhenis

Copy link
Copy Markdown
Collaborator

Summary

  • Update GitHub Actions workflows to test on Python 3.13
  • Python 3.13 classifiers were already present in pyproject.toml

Test plan

  • CI tests should pass on Python 3.13
  • No functionality changes, only CI configuration

🤖 Generated with Claude Code

- Update GitHub Actions workflows to test on Python 3.13
- Python 3.13 classifiers already present in pyproject.toml
- Bump policyengine-core to >=3.19.0 for Python 3.13 support
- Update all GitHub Actions to latest versions (checkout@v4, setup-python@v5)
- Set all workflows to use Python 3.13
- These updates should fix the CI failures related to Python 3.13 compatibility
@MaxGhenis

MaxGhenis commented Jul 23, 2025

Copy link
Copy Markdown
Collaborator Author

I've updated the PR with:

  • policyengine-core dependency bumped to >=3.19.0
  • All GitHub Actions updated to latest versions (v4/v5) for Python 3.13 support
  • All workflows now use Python 3.13

Remaining CI Issue:

Random seed, see PolicyEngine/policyengine-core#382

The tables (PyTables) package is not actually used anywhere in the
policyengine-uk codebase and was causing CI failures with Python 3.13.
Removing it should allow tests to pass.
@MaxGhenis MaxGhenis marked this pull request as draft July 23, 2025 11:26
Replace ~bool with (not bool) for parameter values to avoid Python 3.13 deprecation warnings
The dev dependencies are already defined in project.optional-dependencies
This legacy configuration from OpenFisca is not needed for PolicyEngine UK
- Simplify license format
- Remove empty scripts section
- Add useful project URLs (Issues, Changelog)
@MaxGhenis MaxGhenis marked this pull request as ready for review July 26, 2025 14:01
@MaxGhenis MaxGhenis merged commit 7bdde45 into master Jul 26, 2025
3 checks passed
@MaxGhenis MaxGhenis deleted the python-3.13-support branch July 26, 2025 14:10
@MaxGhenis MaxGhenis mentioned this pull request Jul 26, 2025
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.

1 participant