From 6a5efb93ff5e74b44f2d97cbaf4147e8b96af16a Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Sun, 9 Feb 2025 08:53:39 +0100 Subject: [PATCH] Try Python 3.13 --- .github/workflows/test.yml | 12 ++++++------ pyproject.toml | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 53f1e16606..0299a31a67 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,7 +54,7 @@ jobs: if: ${{ needs.changes.outputs.changes == 'true' }} strategy: matrix: - python-version: ["3.10", "3.12"] + python-version: ["3.10", "3.13"] steps: - uses: actions/checkout@v4 with: @@ -75,7 +75,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] - python-version: ["3.10", "3.12"] + python-version: ["3.10", "3.13"] fast-compile: [0, 1] float32: [0, 1] install-numba: [0] @@ -114,7 +114,7 @@ jobs: part: "tests/link/numba" - install-numba: 1 os: "ubuntu-latest" - python-version: "3.12" + python-version: "3.13" fast-compile: 0 float32: 0 part: "tests/link/numba" @@ -126,7 +126,7 @@ jobs: part: "tests/link/jax" - install-jax: 1 os: "ubuntu-latest" - python-version: "3.12" + python-version: "3.13" fast-compile: 0 float32: 0 part: "tests/link/jax" @@ -137,7 +137,7 @@ jobs: float32: 0 part: "tests/link/pytorch" - os: macos-15 - python-version: "3.12" + python-version: "3.13" fast-compile: 0 float32: 0 install-numba: 0 @@ -297,7 +297,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.13" - name: Install dependencies run: | diff --git a/pyproject.toml b/pyproject.toml index e82c42753a..18d7cf392c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta" [project] name = "pytensor" dynamic = ['version'] -requires-python = ">=3.10,<3.13" +requires-python = ">=3.10,<3.14" authors = [{ name = "pymc-devs", email = "pymc.devs@gmail.com" }] description = "Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs." readme = "README.rst" @@ -33,6 +33,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] keywords = [