提交 f0960b8c authored 作者: Virgile Andreani's avatar Virgile Andreani 提交者: Ricardo Vieira

Make pytensor compatible with Python 3.14

上级 8cdc7074
...@@ -54,7 +54,7 @@ jobs: ...@@ -54,7 +54,7 @@ jobs:
if: ${{ needs.changes.outputs.changes == 'true' }} if: ${{ needs.changes.outputs.changes == 'true' }}
strategy: strategy:
matrix: matrix:
python-version: ["3.11", "3.13"] python-version: ["3.11", "3.14"]
steps: steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with: with:
...@@ -75,7 +75,7 @@ jobs: ...@@ -75,7 +75,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: ["ubuntu-latest"] os: ["ubuntu-latest"]
python-version: ["3.11", "3.13"] python-version: ["3.11", "3.14"]
fast-compile: [0, 1] fast-compile: [0, 1]
float32: [0, 1] float32: [0, 1]
install-numba: [0] install-numba: [0]
...@@ -117,13 +117,13 @@ jobs: ...@@ -117,13 +117,13 @@ jobs:
part: "tests/link/numba --ignore=tests/link/numba/test_slinalg.py" part: "tests/link/numba --ignore=tests/link/numba/test_slinalg.py"
- install-numba: 1 - install-numba: 1
os: "ubuntu-latest" os: "ubuntu-latest"
python-version: "3.13" python-version: "3.14"
fast-compile: 0 fast-compile: 0
float32: 0 float32: 0
part: "tests/link/numba --ignore=tests/link/numba/test_slinalg.py" part: "tests/link/numba --ignore=tests/link/numba/test_slinalg.py"
- install-numba: 1 - install-numba: 1
os: "ubuntu-latest" os: "ubuntu-latest"
python-version: "3.13" python-version: "3.14"
fast-compile: 0 fast-compile: 0
float32: 0 float32: 0
part: "tests/link/numba/test_slinalg.py" part: "tests/link/numba/test_slinalg.py"
...@@ -135,7 +135,7 @@ jobs: ...@@ -135,7 +135,7 @@ jobs:
part: "tests/link/jax" part: "tests/link/jax"
- install-jax: 1 - install-jax: 1
os: "ubuntu-latest" os: "ubuntu-latest"
python-version: "3.13" python-version: "3.14"
fast-compile: 0 fast-compile: 0
float32: 0 float32: 0
part: "tests/link/jax" part: "tests/link/jax"
...@@ -147,7 +147,7 @@ jobs: ...@@ -147,7 +147,7 @@ jobs:
part: "tests/link/pytorch" part: "tests/link/pytorch"
- install-xarray: 1 - install-xarray: 1
os: "ubuntu-latest" os: "ubuntu-latest"
python-version: "3.13" python-version: "3.14"
fast-compile: 0 fast-compile: 0
float32: 0 float32: 0
part: "tests/xtensor" part: "tests/xtensor"
...@@ -161,7 +161,7 @@ jobs: ...@@ -161,7 +161,7 @@ jobs:
install-torch: 0 install-torch: 0
part: "tests/link/mlx" part: "tests/link/mlx"
- os: "macos-15" - os: "macos-15"
python-version: "3.13" python-version: "3.14"
fast-compile: 0 fast-compile: 0
float32: 0 float32: 0
install-numba: 0 install-numba: 0
...@@ -324,7 +324,7 @@ jobs: ...@@ -324,7 +324,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with: with:
python-version: "3.13" python-version: "3.14"
- name: Install dependencies - name: Install dependencies
run: | run: |
......
...@@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta" ...@@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "pytensor" name = "pytensor"
dynamic = ['version'] dynamic = ['version']
requires-python = ">=3.11,<3.14" requires-python = ">=3.11,<3.15"
authors = [{ name = "pymc-devs", email = "pymc.devs@gmail.com" }] authors = [{ name = "pymc-devs", email = "pymc.devs@gmail.com" }]
description = "Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs." description = "Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs."
readme = "README.rst" readme = "README.rst"
...@@ -33,6 +33,7 @@ classifiers = [ ...@@ -33,6 +33,7 @@ classifiers = [
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
] ]
keywords = [ keywords = [
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论