Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/code_changes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.13
python-version: 3.14
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install package
Expand All @@ -45,4 +45,4 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI }}
skip-existing: true
skip-existing: true
2 changes: 1 addition & 1 deletion .github/workflows/local_area_promote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
python-version: '3.14'

- name: Install Modal CLI
run: pip install modal
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/local_area_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
python-version: '3.14'

- name: Install Modal CLI
run: pip install modal
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
python-version: '3.14'

- name: Set up uv
uses: astral-sh/setup-uv@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: "3.13"
python-version: "3.14"

- name: Install Modal
run: pip install modal
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr_code_changes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
python-version: '3.14'
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Check lock file is up-to-date
Expand All @@ -148,7 +148,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.13']
python-version: ['3.14']
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
python-version: '3.14'

- name: Set up Node.js
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/versioning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: 3.14
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install towncrier
Expand Down
2 changes: 2 additions & 0 deletions changelog.d/python-314-runtime.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Upgrade CI and Modal runtime defaults to Python 3.14 and declare package
support for Python 3.14.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This project uses [MyST Markdown](https://mystmd.org/) for documentation.
## Building Locally

### Requirements
- Python 3.13+ with dev dependencies: `uv pip install -e .[dev] --system`
- Python 3.14+ with dev dependencies: `uv pip install -e .[dev] --system`
- Node.js 20+ (required by MyST)

### Commands
Expand Down
2 changes: 1 addition & 1 deletion modal_app/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
def _base_image(extras: list[str] | None = None):
extra_flags = " ".join(f"--extra {e}" for e in (extras or []))
return (
modal.Image.debian_slim(python_version="3.13")
modal.Image.debian_slim(python_version="3.14")
.apt_install("git")
.pip_install("uv>=0.8")
.add_local_dir(
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ authors = [
{name = "PolicyEngine", email = "hello@policyengine.org"},
]
license = {file = "LICENSE"}
requires-python = ">=3.12, <3.14.0"
requires-python = ">=3.12, <3.15"
classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"policyengine-us>=1.572.5",
Expand All @@ -35,7 +36,7 @@ dependencies = [
"scipy>=1.15.3",
"statsmodels>=0.14.5",
"openpyxl>=3.1.5",
"tables>=3.10.2",
"tables>=3.11.1",
"torch>=2.7.1",
"us>=2.0.0",
"sqlalchemy>=2.0.41",
Expand Down
498 changes: 446 additions & 52 deletions uv.lock

Large diffs are not rendered by default.

Loading