From 91054b3084890a0cf6c0ecab40d268b0db54d06c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Fr=C3=B6hlich?= Date: Sat, 19 Oct 2024 18:33:49 +0100 Subject: [PATCH] add 3.13 to test matrix (#2553) * add 3.13 to test matrix * remove py3.9 leftover --- .github/workflows/test_python_ver_matrix.yml | 9 ++------- python/sdist/pyproject.toml | 1 - 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test_python_ver_matrix.yml b/.github/workflows/test_python_ver_matrix.yml index 55871db7cb..de61a4776b 100644 --- a/.github/workflows/test_python_ver_matrix.yml +++ b/.github/workflows/test_python_ver_matrix.yml @@ -25,7 +25,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12', '3.13'] experimental: [false] steps: @@ -53,12 +53,7 @@ jobs: # install pysb before sympy to allow for sympy>=1.12 (https://github.com/pysb/pysb/commit/e83937cb8c74afc9b2fa96595b68464946745f33) - run: source venv/bin/activate && pip3 install git+https://github.com/pysb/pysb - # until sympy>1.12 is released - - run: source venv/bin/activate && pip3 install git+https://github.com/sympy/sympy.git@master - if: matrix.python-version == '3.12' - - - run: source venv/bin/activate && pip3 install "sympy>=1.12.1" - if: matrix.python-version != '3.12' + - run: source venv/bin/activate && pip3 install "sympy>1.12" - name: Get Pooch Cache Directory id: get-pooch-cache diff --git a/python/sdist/pyproject.toml b/python/sdist/pyproject.toml index fd4e7e22b7..f768077172 100644 --- a/python/sdist/pyproject.toml +++ b/python/sdist/pyproject.toml @@ -17,7 +17,6 @@ requires-python = ">=3.10" dependencies = [ "cmake-build-extension==0.6.0", "sympy>=1.12.1", - "numpy>=1.19.3; python_version=='3.9'", "numpy>=1.21.4; python_version>='3.10'", "numpy>=1.23.2; python_version=='3.11'", "numpy>=1.26.2; python_version=='3.12'",