From 4c8e9619d5242df2f00f694a45cc881053e1be08 Mon Sep 17 00:00:00 2001 From: sfonxu <89732829+Sfonxu@users.noreply.github.com> Date: Thu, 24 Sep 2026 14:33:05 +0200 Subject: [PATCH 01/13] add breakpoint to pylint tests --- .github/workflows/tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bd10118b..d641c653 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -62,6 +62,11 @@ jobs: # TODO #299 nbqa pylint --disable=fixme,trailing-whitespace,wrong-import-position,wrong-import-order,ungrouped-imports \ --disable=duplicate-code,invalid-name,missing-module-docstring,line-too-long,missing-function-docstring,redefined-outer-name,too-many-arguments,no-member,too-many-locals,cell-var-from-loop,missing-class-docstring $(git ls-files '*.ipynb') + - if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3 + with: + limit-access-to-actor: true + devops: From 531b6acfec1c2a5995db9816f329a74ac8c91ba6 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Thu, 24 Sep 2026 14:41:43 +0200 Subject: [PATCH 02/13] Add pip install for 'ghapi' and 'fastcore' in tests.yml Added pip install command for 'ghapi' and 'fastcore' as a workaround. --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d641c653..66a43905 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -76,6 +76,7 @@ jobs: with: submodules: recursive fetch-depth: 0 # https://github.com/pypa/setuptools_scm/issues/480 + - run: pip install "ghapi<2.0.0" "fastcore<2" # workaround for devops_tests - run: pip install -r tests/devops_tests/requirements.txt - run: pip install -e . -e ./examples - env: From 6a2357696d8563ac788aac8fd7a7038d55ce5475 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Thu, 24 Sep 2026 14:56:54 +0200 Subject: [PATCH 03/13] Remove tmate action on failure in tests.yml Removed tmate action on failure from tests workflow. --- .github/workflows/tests.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 66a43905..51fd64bc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -62,11 +62,7 @@ jobs: # TODO #299 nbqa pylint --disable=fixme,trailing-whitespace,wrong-import-position,wrong-import-order,ungrouped-imports \ --disable=duplicate-code,invalid-name,missing-module-docstring,line-too-long,missing-function-docstring,redefined-outer-name,too-many-arguments,no-member,too-many-locals,cell-var-from-loop,missing-class-docstring $(git ls-files '*.ipynb') - - if: ${{ failure() }} - uses: mxschmitt/action-tmate@v3 - with: - limit-access-to-actor: true - + devops: From 672cb502b6ae1f6bb4570983d7a1dfe0cae362ef Mon Sep 17 00:00:00 2001 From: sfonxu <89732829+Sfonxu@users.noreply.github.com> Date: Thu, 24 Sep 2026 15:11:34 +0200 Subject: [PATCH 04/13] Update setuptools & setuptools-scm --- MPI/pyproject.toml | 2 +- examples/pyproject.toml | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MPI/pyproject.toml b/MPI/pyproject.toml index 04e2b477..f2ba4d3e 100644 --- a/MPI/pyproject.toml +++ b/MPI/pyproject.toml @@ -7,7 +7,7 @@ local_scheme = "no-local-version" version_scheme = "post-release" [build-system] -requires = ['setuptools==80.3.1', 'setuptools-scm==8.3.1'] +requires = ['setuptools==84.0', 'setuptools-scm==10.3'] build-backend = "setuptools.build_meta" [project] diff --git a/examples/pyproject.toml b/examples/pyproject.toml index 832bc4a0..4ffdc0eb 100644 --- a/examples/pyproject.toml +++ b/examples/pyproject.toml @@ -4,4 +4,4 @@ local_scheme = "no-local-version" version_scheme = "post-release" [build-system] -requires = ['setuptools==80.3.1', 'setuptools-scm==10.0.5'] +requires = ['setuptools==84.0', 'setuptools-scm==10.3'] diff --git a/pyproject.toml b/pyproject.toml index a4d4f3b4..1a3ad725 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,4 +6,4 @@ local_scheme = "no-local-version" version_scheme = "post-release" [build-system] -requires = ['setuptools==80.3.1', 'setuptools-scm==10.0.5'] +requires = ['setuptools==84.0', 'setuptools-scm==10.3'] From e534af758076f6a0a6c14f34439c45432d605763 Mon Sep 17 00:00:00 2001 From: sfonxu <89732829+Sfonxu@users.noreply.github.com> Date: Mon, 12 Oct 2026 12:41:24 +0200 Subject: [PATCH 05/13] Update codecov action version from 5.5.2 to 7.0.0 --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 51fd64bc..6dbed78c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -103,7 +103,7 @@ jobs: pip install pytest-cov pytest --durations=10 -We tests/unit_tests --cov-report=xml --cov=PyMPDATA - name: Upload coverage to Codecov - uses: codecov/codecov-action@v5.5.2 + uses: codecov/codecov-action@v7.0.0 with: env_vars: PYTHON,MPI token: ${{ secrets.CODECOV_TOKEN }} From d8638ddda4714ca82193ed14127d7f684f87159d Mon Sep 17 00:00:00 2001 From: Sfonxu <89732829+Sfonxu@users.noreply.github.com> Date: Mon, 19 Oct 2026 15:59:38 +0200 Subject: [PATCH 06/13] bump ipykernel version to 7.1.0 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cb0581a9..54c9bfd2 100644 --- a/setup.py +++ b/setup.py @@ -68,7 +68,7 @@ def get_long_description(): "jupyter-core" + ("<5.0.0" if CI else ""), "jupyter_client" + ("==8.6.3" if CI else ""), "ipywidgets" + ("==8.1.7" if CI else ""), - "ipykernel" + ("==7.0.0a1" if CI else ""), + "ipykernel" + ("==7.1.0" if CI else ""), "ghapi", "pytest", "pytest-benchmark", From 319fc84ae5ad71f8eecf8138a4d29858672331d3 Mon Sep 17 00:00:00 2001 From: Sfonxu <89732829+Sfonxu@users.noreply.github.com> Date: Mon, 19 Oct 2026 16:06:34 +0200 Subject: [PATCH 07/13] Change ipykernel version to 7.0.1 Updated ipykernel version from 7.1.0 to 7.0.1. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 54c9bfd2..8d4084a7 100644 --- a/setup.py +++ b/setup.py @@ -68,7 +68,7 @@ def get_long_description(): "jupyter-core" + ("<5.0.0" if CI else ""), "jupyter_client" + ("==8.6.3" if CI else ""), "ipywidgets" + ("==8.1.7" if CI else ""), - "ipykernel" + ("==7.1.0" if CI else ""), + "ipykernel" + ("==7.0.1" if CI else ""), "ghapi", "pytest", "pytest-benchmark", From 10bfbbbde131d5b632fde2c28e6d5f490d18e09a Mon Sep 17 00:00:00 2001 From: Sfonxu <89732829+Sfonxu@users.noreply.github.com> Date: Mon, 19 Oct 2026 16:10:50 +0200 Subject: [PATCH 08/13] run pre-commit action on python 3.11 --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6dbed78c..b113e84a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v5.2.0 with: - python-version: "3.10" + python-version: "3.11" - run: | pip install pre-commit pre-commit clean From b0597a479d33a19b09a8cd0a941ab70696794c02 Mon Sep 17 00:00:00 2001 From: Sfonxu <89732829+Sfonxu@users.noreply.github.com> Date: Mon, 19 Oct 2026 20:21:29 +0200 Subject: [PATCH 09/13] Add neccessary Julia dependency for Trixi example --- .../trixi_comparison/advection_comparison.ipynb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/PyMPDATA_examples/trixi_comparison/advection_comparison.ipynb b/examples/PyMPDATA_examples/trixi_comparison/advection_comparison.ipynb index 80aeb44e..5366d37d 100644 --- a/examples/PyMPDATA_examples/trixi_comparison/advection_comparison.ipynb +++ b/examples/PyMPDATA_examples/trixi_comparison/advection_comparison.ipynb @@ -129,10 +129,11 @@ "source": [ "%%writefile trixi.jl\n", "import Pkg\n", - "Pkg.add([\"JSON\", \"Trixi\", \"OrdinaryDiffEq\", \"Trixi2Vtk\"])\n", + "Pkg.add([\"JSON\", \"Trixi\", \"OrdinaryDiffEq\", \"Trixi2Vtk\", \"OrdinaryDiffEqLowStorageRK\"])\n", "using JSON\n", "using Trixi\n", "using OrdinaryDiffEq\n", + "using OrdinaryDiffEqLowStorageRK\n", "using Trixi2Vtk\n", "\n", "setup = JSON.parsefile(\"./setup.json\")\n", From aec5670cf47669ff6da26128a729a5e5d0cfb73b Mon Sep 17 00:00:00 2001 From: Sfonxu <89732829+Sfonxu@users.noreply.github.com> Date: Mon, 19 Oct 2026 20:26:57 +0200 Subject: [PATCH 10/13] Bump all Pythons 3.10 to 3.11 --- .github/workflows/tests.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b113e84a..a0cfd71a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,7 +42,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5.2.0 with: - python-version: "3.10" + python-version: "3.11" - name: Set up MPI uses: mpi4py/setup-mpi@v1 - name: Install dependencies @@ -83,7 +83,7 @@ jobs: needs: [ precommit, pylint, devops ] strategy: matrix: - python-version: ["3.10", "3.13.12"] + python-version: ["3.11", "3.13.12"] runs-on: ubuntu-latest env: NUMBA_DISABLE_JIT: 1 @@ -115,10 +115,10 @@ jobs: strategy: matrix: platform: [ubuntu-latest, macos-15-intel, macos-14, windows-latest] - python-version: ["3.10", "3.13.12"] + python-version: ["3.11", "3.13.12"] exclude: - platform: macos-14 - python-version: "3.10" + python-version: "3.11" runs-on: ${{ matrix.platform }} timeout-minutes: ${{ startsWith(matrix.platform, 'windows-') && 115 || 90 }} steps: @@ -156,7 +156,7 @@ jobs: strategy: matrix: platform: [ubuntu-latest, macos-15-intel, macos-14, windows-latest] - python-version: ["3.10", "3.13.12"] + python-version: ["3.11", "3.13.12"] fail-fast: false runs-on: ${{ matrix.platform }} steps: From c6842a9627cacd235697c565f5d9ba0d9bc8a584 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Tue, 20 Oct 2026 12:20:23 +0200 Subject: [PATCH 11/13] bumpy Python to 3.11 for README code execution workflow --- .github/workflows/readme_python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/readme_python.yml b/.github/workflows/readme_python.yml index aca45180..fbdf816a 100644 --- a/.github/workflows/readme_python.yml +++ b/.github/workflows/readme_python.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v1 with: - python-version: "3.10" + python-version: "3.11" - run: pip install -e . - run: pip install pytest-codeblocks pytest matplotlib - run: python -c "import pytest_codeblocks; code=pytest_codeblocks.extract_from_file('docs/markdown/pympdata_landing.md'); f=open('readme.py', 'w'); f.writelines(block.code for block in code if block.syntax=='Python'); f.close()" From a18a936aa11eae677954d44288922346ecc2ad67 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Tue, 20 Oct 2026 22:11:30 +0200 Subject: [PATCH 12/13] Removed version constraints for numba and numpy for Python 3.10. --- setup.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/setup.py b/setup.py index 8d4084a7..00c8b7c3 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,6 @@ def get_long_description(): "numba" + ( { - 10: "<0.57.0", 11: "==0.58.1", 12: "==0.59.1", 13: "==0.61.2", @@ -39,7 +38,6 @@ def get_long_description(): "numpy" + ( { - 10: "<1.24", 11: "==1.24.4", 12: "==1.26.4", 13: "==2.2.5", From 9726731d229f5594e8ba01fd7d701d3282e73d8b Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Wed, 21 Oct 2026 09:00:10 +0200 Subject: [PATCH 13/13] setup.py: Numpy version change for CI --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 00c8b7c3..5c391242 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ def get_long_description(): "numpy" + ( { - 11: "==1.24.4", + 11: "==1.26.4", 12: "==1.26.4", 13: "==2.2.5", }[sys.version_info.minor]