Skip to content

Commit 9129c6c

Browse files
committed
Make pytensor compatible with Python 3.14
1 parent 95acdb3 commit 9129c6c

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
if: ${{ needs.changes.outputs.changes == 'true' }}
5555
strategy:
5656
matrix:
57-
python-version: ["3.11", "3.13"]
57+
python-version: ["3.11", "3.14"]
5858
steps:
5959
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6060
with:
@@ -75,7 +75,7 @@ jobs:
7575
fail-fast: false
7676
matrix:
7777
os: ["ubuntu-latest"]
78-
python-version: ["3.11", "3.13"]
78+
python-version: ["3.11", "3.14"]
7979
fast-compile: [0, 1]
8080
float32: [0, 1]
8181
install-numba: [0]
@@ -117,13 +117,13 @@ jobs:
117117
part: "tests/link/numba --ignore=tests/link/numba/test_slinalg.py"
118118
- install-numba: 1
119119
os: "ubuntu-latest"
120-
python-version: "3.13"
120+
python-version: "3.14"
121121
fast-compile: 0
122122
float32: 0
123123
part: "tests/link/numba --ignore=tests/link/numba/test_slinalg.py"
124124
- install-numba: 1
125125
os: "ubuntu-latest"
126-
python-version: "3.13"
126+
python-version: "3.14"
127127
fast-compile: 0
128128
float32: 0
129129
part: "tests/link/numba/test_slinalg.py"
@@ -135,7 +135,7 @@ jobs:
135135
part: "tests/link/jax"
136136
- install-jax: 1
137137
os: "ubuntu-latest"
138-
python-version: "3.13"
138+
python-version: "3.14"
139139
fast-compile: 0
140140
float32: 0
141141
part: "tests/link/jax"
@@ -147,7 +147,7 @@ jobs:
147147
part: "tests/link/pytorch"
148148
- install-xarray: 1
149149
os: "ubuntu-latest"
150-
python-version: "3.13"
150+
python-version: "3.14"
151151
fast-compile: 0
152152
float32: 0
153153
part: "tests/xtensor"
@@ -161,7 +161,7 @@ jobs:
161161
install-torch: 0
162162
part: "tests/link/mlx"
163163
- os: "macos-15"
164-
python-version: "3.13"
164+
python-version: "3.14"
165165
fast-compile: 0
166166
float32: 0
167167
install-numba: 0
@@ -324,7 +324,7 @@ jobs:
324324
- name: Set up Python
325325
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
326326
with:
327-
python-version: "3.13"
327+
python-version: "3.14"
328328

329329
- name: Install dependencies
330330
run: |

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"
1010
[project]
1111
name = "pytensor"
1212
dynamic = ['version']
13-
requires-python = ">=3.11,<3.14"
13+
requires-python = ">=3.11,<3.15"
1414
authors = [{ name = "pymc-devs", email = "pymc.devs@gmail.com" }]
1515
description = "Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs."
1616
readme = "README.rst"
@@ -33,6 +33,7 @@ classifiers = [
3333
"Programming Language :: Python :: 3.11",
3434
"Programming Language :: Python :: 3.12",
3535
"Programming Language :: Python :: 3.13",
36+
"Programming Language :: Python :: 3.14",
3637
]
3738

3839
keywords = [

0 commit comments

Comments
 (0)