From 4c6da19b24cac45ef4e4d3a190b100cf5d7ea9a9 Mon Sep 17 00:00:00 2001 From: Thomas Baumann <39156931+brownbaerchen@users.noreply.github.com> Date: Tue, 10 Jun 2025 12:13:33 +0200 Subject: [PATCH 1/4] Add testing for Python 3.13 to pipeline --- .github/workflows/ci_pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_pipeline.yml b/.github/workflows/ci_pipeline.yml index 2f23b9cdb3..418c7526cf 100644 --- a/.github/workflows/ci_pipeline.yml +++ b/.github/workflows/ci_pipeline.yml @@ -39,7 +39,7 @@ jobs: fail-fast: false matrix: env: ['base', 'fenics', 'mpi4py', 'petsc', 'pytorch'] - python: ['3.9', '3.10', '3.11', '3.12'] + python: ['3.9', '3.10', '3.11', '3.12', '3.13'] defaults: run: shell: bash -l {0} From 933bbe2957a46c0702e1aa981223c363a745f1fe Mon Sep 17 00:00:00 2001 From: Thomas Baumann <39156931+brownbaerchen@users.noreply.github.com> Date: Tue, 10 Jun 2025 13:43:39 +0200 Subject: [PATCH 2/4] Try removing mpi4py restriction --- etc/environment-fenics.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/environment-fenics.yml b/etc/environment-fenics.yml index aa96941f79..2951c398d5 100644 --- a/etc/environment-fenics.yml +++ b/etc/environment-fenics.yml @@ -9,7 +9,7 @@ dependencies: - matplotlib>=3.0 - dill>=0.2.6 - fenics>=2019.1.0 - - mpi4py<=3.1.4 + - mpi4py - pip - pip: - qmat>=0.1.8 From d1a992e7ff858f819a391b08cecedd6b577877b4 Mon Sep 17 00:00:00 2001 From: Thomas Baumann <39156931+brownbaerchen@users.noreply.github.com> Date: Tue, 10 Jun 2025 15:41:36 +0200 Subject: [PATCH 3/4] Test --- .github/workflows/ci_pipeline.yml | 4 ---- pySDC/projects/Resilience/environment.yml | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci_pipeline.yml b/.github/workflows/ci_pipeline.yml index 418c7526cf..3245d886ab 100644 --- a/.github/workflows/ci_pipeline.yml +++ b/.github/workflows/ci_pipeline.yml @@ -98,7 +98,6 @@ jobs: - Second_orderSDC - soft_failure - TOMS - python: ['3.9', '3.10', '3.11', '3.12'] defaults: run: shell: bash -l {0} @@ -109,8 +108,6 @@ jobs: uses: mamba-org/setup-micromamba@v1 with: environment-file: "pySDC/projects/${{ matrix.env }}/environment.yml" - create-args: >- - python=${{ matrix.python }} - name: Install additional packages as needed run: | micromamba install -y --file etc/environment-tests.yml --freeze-installed @@ -126,7 +123,6 @@ jobs: mv .coverage coverage_${{ matrix.env }}.dat - name: Uploading artifacts uses: actions/upload-artifact@v4 - if: matrix.python == '3.12' with: name: test-artifacts-project-${{ matrix.env }} path: | diff --git a/pySDC/projects/Resilience/environment.yml b/pySDC/projects/Resilience/environment.yml index 9242d94e8a..474ff7ca48 100644 --- a/pySDC/projects/Resilience/environment.yml +++ b/pySDC/projects/Resilience/environment.yml @@ -4,6 +4,7 @@ name: pySDC channels: - conda-forge dependencies: + - python=3.13 - mpi4py>=3.0.0 - mpi4py-fft>=2.0.2 - mpich From 9b7f10401662f1543899c38a18404cac97508db1 Mon Sep 17 00:00:00 2001 From: Thomas Baumann <39156931+brownbaerchen@users.noreply.github.com> Date: Wed, 11 Jun 2025 11:11:41 +0200 Subject: [PATCH 4/4] Testing projects with latest Python version only --- .github/workflows/ci_pipeline.yml | 4 ++-- pySDC/projects/Resilience/environment.yml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_pipeline.yml b/.github/workflows/ci_pipeline.yml index 3245d886ab..63ebfd9b4c 100644 --- a/.github/workflows/ci_pipeline.yml +++ b/.github/workflows/ci_pipeline.yml @@ -25,7 +25,7 @@ jobs: with: environment-file: ${{ env.YML }} create-args: >- - python=3.12 + python=3.13 - name: Code reformatting with black run: | black pySDC --check --diff --color @@ -70,7 +70,7 @@ jobs: mv .coverage coverage_${{ matrix.env }}.dat - name: Uploading artifacts uses: actions/upload-artifact@v4 - if: matrix.python == '3.12' + if: matrix.python == '3.13' with: name: test-artifacts-cpu-${{ matrix.env }} path: | diff --git a/pySDC/projects/Resilience/environment.yml b/pySDC/projects/Resilience/environment.yml index 474ff7ca48..9242d94e8a 100644 --- a/pySDC/projects/Resilience/environment.yml +++ b/pySDC/projects/Resilience/environment.yml @@ -4,7 +4,6 @@ name: pySDC channels: - conda-forge dependencies: - - python=3.13 - mpi4py>=3.0.0 - mpi4py-fft>=2.0.2 - mpich