提交 0af3c435 authored 作者: Ben Mares's avatar Ben Mares 提交者: Ricardo Vieira

Try Python 3.13

上级 c4fb0cfa
...@@ -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.10", "3.12"] python-version: ["3.10", "3.13"]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
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.10", "3.12"] python-version: ["3.10", "3.13"]
numpy-version: ["~=1.26.0", ">=2.0"] numpy-version: ["~=1.26.0", ">=2.0"]
fast-compile: [0, 1] fast-compile: [0, 1]
float32: [0, 1] float32: [0, 1]
...@@ -111,7 +111,7 @@ jobs: ...@@ -111,7 +111,7 @@ jobs:
- numpy-version: "~=1.26.0" - numpy-version: "~=1.26.0"
float32: 1 float32: 1
- numpy-version: "~=1.26.0" - numpy-version: "~=1.26.0"
python-version: "3.12" python-version: "3.13"
- numpy-version: "~=1.26.0" - numpy-version: "~=1.26.0"
part: "--doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link" part: "--doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
include: include:
...@@ -124,7 +124,7 @@ jobs: ...@@ -124,7 +124,7 @@ jobs:
part: "tests/link/numba" part: "tests/link/numba"
- install-numba: 1 - install-numba: 1
os: "ubuntu-latest" os: "ubuntu-latest"
python-version: "3.12" python-version: "3.13"
numpy-version: "~=2.1.0" numpy-version: "~=2.1.0"
fast-compile: 0 fast-compile: 0
float32: 0 float32: 0
...@@ -138,7 +138,7 @@ jobs: ...@@ -138,7 +138,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.12" python-version: "3.13"
numpy-version: ">=2.0" numpy-version: ">=2.0"
fast-compile: 0 fast-compile: 0
float32: 0 float32: 0
...@@ -151,7 +151,7 @@ jobs: ...@@ -151,7 +151,7 @@ jobs:
float32: 0 float32: 0
part: "tests/link/pytorch" part: "tests/link/pytorch"
- os: macos-15 - os: macos-15
python-version: "3.12" python-version: "3.13"
numpy-version: ">=2.0" numpy-version: ">=2.0"
fast-compile: 0 fast-compile: 0
float32: 0 float32: 0
...@@ -322,7 +322,7 @@ jobs: ...@@ -322,7 +322,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: "3.12" python-version: "3.13"
- 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.10,<3.13" requires-python = ">=3.10,<3.14"
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.10", "Programming Language :: Python :: 3.10",
"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",
] ]
keywords = [ keywords = [
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论