Skip to content

Commit 2611f8d

Browse files
authored
Add Python 3.14 runtime support (#672)
* Add Python 3.14 runtime support * Bump PyTables for Python 3.14 * Use Python 3.14 in remaining workflows
1 parent 5b296a0 commit 2611f8d

12 files changed

Lines changed: 463 additions & 66 deletions

.github/workflows/code_changes.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Python
3434
uses: actions/setup-python@v5
3535
with:
36-
python-version: 3.13
36+
python-version: 3.14
3737
- name: Install uv
3838
uses: astral-sh/setup-uv@v5
3939
- name: Install package
@@ -45,4 +45,4 @@ jobs:
4545
with:
4646
user: __token__
4747
password: ${{ secrets.PYPI }}
48-
skip-existing: true
48+
skip-existing: true

.github/workflows/local_area_promote.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up Python
3131
uses: actions/setup-python@v5
3232
with:
33-
python-version: '3.13'
33+
python-version: '3.14'
3434

3535
- name: Install Modal CLI
3636
run: pip install modal

.github/workflows/local_area_publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Set up Python
4646
uses: actions/setup-python@v5
4747
with:
48-
python-version: '3.13'
48+
python-version: '3.14'
4949

5050
- name: Install Modal CLI
5151
run: pip install modal
@@ -87,7 +87,7 @@ jobs:
8787
- name: Set up Python
8888
uses: actions/setup-python@v5
8989
with:
90-
python-version: '3.13'
90+
python-version: '3.14'
9191

9292
- name: Set up uv
9393
uses: astral-sh/setup-uv@v5

.github/workflows/pipeline.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
- uses: actions/setup-python@v5
3737
with:
38-
python-version: "3.13"
38+
python-version: "3.14"
3939

4040
- name: Install Modal
4141
run: pip install modal

.github/workflows/pr_code_changes.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
- name: Set up Python
127127
uses: actions/setup-python@v5
128128
with:
129-
python-version: '3.13'
129+
python-version: '3.14'
130130
- name: Install uv
131131
uses: astral-sh/setup-uv@v5
132132
- name: Check lock file is up-to-date
@@ -148,7 +148,7 @@ jobs:
148148
fail-fast: false
149149
matrix:
150150
os: [ubuntu-latest]
151-
python-version: ['3.13']
151+
python-version: ['3.14']
152152
steps:
153153
- name: Checkout repo
154154
uses: actions/checkout@v4

.github/workflows/reusable_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Set up Python
5050
uses: actions/setup-python@v5
5151
with:
52-
python-version: '3.13'
52+
python-version: '3.14'
5353

5454
- name: Set up Node.js
5555
uses: actions/setup-node@v4

.github/workflows/versioning.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Python
2424
uses: actions/setup-python@v5
2525
with:
26-
python-version: 3.12
26+
python-version: 3.14
2727
- name: Install uv
2828
uses: astral-sh/setup-uv@v5
2929
- name: Install towncrier
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Upgrade CI and Modal runtime defaults to Python 3.14 and declare package
2+
support for Python 3.14.

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This project uses [MyST Markdown](https://mystmd.org/) for documentation.
55
## Building Locally
66

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

1111
### Commands

modal_app/images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
def _base_image(extras: list[str] | None = None):
5252
extra_flags = " ".join(f"--extra {e}" for e in (extras or []))
5353
return (
54-
modal.Image.debian_slim(python_version="3.13")
54+
modal.Image.debian_slim(python_version="3.14")
5555
.apt_install("git")
5656
.pip_install("uv>=0.8")
5757
.add_local_dir(

0 commit comments

Comments
 (0)