Skip to content

Commit c5fbd09

Browse files
Add Python 3.13 to core test pipeline (#553)
* Add testing for Python 3.13 to pipeline * Try removing mpi4py restriction * Test * Testing projects with latest Python version only
1 parent 1b5b2dc commit c5fbd09

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/ci_pipeline.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
environment-file: ${{ env.YML }}
2727
create-args: >-
28-
python=3.12
28+
python=3.13
2929
- name: Code reformatting with black
3030
run: |
3131
black pySDC --check --diff --color
@@ -39,7 +39,7 @@ jobs:
3939
fail-fast: false
4040
matrix:
4141
env: ['base', 'fenics', 'mpi4py', 'petsc', 'pytorch']
42-
python: ['3.9', '3.10', '3.11', '3.12']
42+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
4343
defaults:
4444
run:
4545
shell: bash -l {0}
@@ -70,7 +70,7 @@ jobs:
7070
mv .coverage coverage_${{ matrix.env }}.dat
7171
- name: Uploading artifacts
7272
uses: actions/upload-artifact@v4
73-
if: matrix.python == '3.12'
73+
if: matrix.python == '3.13'
7474
with:
7575
name: test-artifacts-cpu-${{ matrix.env }}
7676
path: |
@@ -98,7 +98,6 @@ jobs:
9898
- Second_orderSDC
9999
- soft_failure
100100
- TOMS
101-
python: ['3.9', '3.10', '3.11', '3.12']
102101
defaults:
103102
run:
104103
shell: bash -l {0}
@@ -109,8 +108,6 @@ jobs:
109108
uses: mamba-org/setup-micromamba@v1
110109
with:
111110
environment-file: "pySDC/projects/${{ matrix.env }}/environment.yml"
112-
create-args: >-
113-
python=${{ matrix.python }}
114111
- name: Install additional packages as needed
115112
run: |
116113
micromamba install -y --file etc/environment-tests.yml --freeze-installed
@@ -126,7 +123,6 @@ jobs:
126123
mv .coverage coverage_${{ matrix.env }}.dat
127124
- name: Uploading artifacts
128125
uses: actions/upload-artifact@v4
129-
if: matrix.python == '3.12'
130126
with:
131127
name: test-artifacts-project-${{ matrix.env }}
132128
path: |

etc/environment-fenics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies:
99
- matplotlib>=3.0
1010
- dill>=0.2.6
1111
- fenics>=2019.1.0
12-
- mpi4py<=3.1.4
12+
- mpi4py
1313
- pip
1414
- pip:
1515
- qmat>=0.1.8

0 commit comments

Comments
 (0)