diff --git a/.github/workflows/pytest-core-mpi.yaml b/.github/workflows/pytest-core-mpi.yaml index cb097205ef..2b82a5e796 100644 --- a/.github/workflows/pytest-core-mpi.yaml +++ b/.github/workflows/pytest-core-mpi.yaml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - python-version: ['3.10', '3.11'] + python-version: ['3.11', '3.14'] env: DEVITO_LANGUAGE: "openmp" diff --git a/.github/workflows/pytest-core-nompi.yaml b/.github/workflows/pytest-core-nompi.yaml index 05de3c26b9..7c4657247f 100644 --- a/.github/workflows/pytest-core-nompi.yaml +++ b/.github/workflows/pytest-core-nompi.yaml @@ -39,7 +39,7 @@ jobs: pytest-ubuntu-py311-gcc10-noomp, pytest-ubuntu-py311-gcc11-cxxnoomp, pytest-ubuntu-py312-gcc12-cxxomp, - pytest-ubuntu-py312-gcc13-omp, + pytest-ubuntu-py314-gcc13-omp, pytest-ubuntu-py313-gcc14-omp ] set: [base, adjoint] @@ -73,8 +73,8 @@ jobs: language: "C" sympy: "1.14" - - name: pytest-ubuntu-py312-gcc13-omp - python-version: '3.12' + - name: pytest-ubuntu-py314-gcc13-omp + python-version: '3.14' os: ubuntu-24.04 arch: "gcc-13" language: "openmp" @@ -134,7 +134,7 @@ jobs: fi id: set-tests - - name: Set pip flags for latest python (3.12) + - name: Set pip flags for Python 3.12+ run: | ver="${{ matrix.python-version }}" major=${ver%%.*} diff --git a/pyproject.toml b/pyproject.toml index 54b23e6973..7fa3f0c16c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ description = "Finite Difference DSL for symbolic computation." license = { file = "LICENSE.md" } readme = "README.md" keywords = ["finite-difference", "DSL", "symbolic", "jit", "devito"] -requires-python = ">=3.10,<3.14" +requires-python = ">=3.10,<3.15" authors = [ { name = "Imperial College London", email = "g.gorman@imperial.ac.uk" }, { name = "Fabio Luporini", email = "fabio@devitocodes.com" }, @@ -32,6 +32,8 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: 3 :: Only", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Mathematics", diff --git a/requirements-optional.txt b/requirements-optional.txt index 779f77c9d4..272984e952 100644 --- a/requirements-optional.txt +++ b/requirements-optional.txt @@ -1,7 +1,7 @@ matplotlib<3.10.10 pillow>11,<12.2.1 -pyrevolve==2.2.7 -scipy<1.15.4 +pyrevolve==2.2.8 +scipy>=1.8.0,<1.18.1 distributed<2026.7.2 click<9.0 cloudpickle<3.1.3 diff --git a/requirements-testing.txt b/requirements-testing.txt index 6b603c9886..f2615758e3 100644 --- a/requirements-testing.txt +++ b/requirements-testing.txt @@ -3,7 +3,7 @@ pytest-runner<6.0.2 pytest-cov<7.1.1 flake8-pyproject>=1.2.3,<1.2.5 nbval<0.11.1 -scipy<1.15.4 +scipy>=1.8.0,<1.18.1 pooch<1.9.1 click<9.0 cloudpickle<3.1.3