Skip to content

Commit 73aa6e7

Browse files
Add Python 3.13 to CI (#956)
* Test Python 3.13 * Run CIs on latest Python 3.13 * Off by one
1 parent 44a3c29 commit 73aa6e7

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.github/workflows/ffcx-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Set up Python
3333
uses: actions/setup-python@v5
3434
with:
35-
python-version: '3.12'
35+
python-version: '3.13'
3636
- name: Install dependencies
3737
run: sudo apt-get install -y libopenblas-dev liblapack-dev graphviz libgraphviz-dev ninja-build
3838
- name: Install UFL (default branch)

.github/workflows/intel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ jobs:
3939
- uses: conda-incubator/setup-miniconda@v3
4040
with:
4141
activate-environment: oneapi
42-
python-version: 3.12
42+
python-version: 3.13
4343
channels: https://software.repos.intel.com/python/conda,conda-forge
4444
auto-activate-base: false
4545

4646
- name: Install
4747
run: >
48-
conda install python=3.12 dpcpp_linux-64 cmake git libblas=*=*mkl
48+
conda install python=3.13 dpcpp_linux-64 cmake git libblas=*=*mkl
4949
matplotlib nanobind ninja numba numpy pip pytest pytest-xdist
5050
scikit-build-core scipy sympy
5151

.github/workflows/mac.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Python
2828
uses: actions/setup-python@v5
2929
with:
30-
python-version: "3.12"
30+
python-version: "3.13"
3131
- name: Install dependencies (non-Python)
3232
run: brew install ninja
3333
- name: Install Basix

.github/workflows/pythonapp.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Python
2929
uses: actions/setup-python@v5
3030
with:
31-
python-version: "3.12"
31+
python-version: "3.13"
3232
- uses: actions/checkout@v5
3333
- name: Ruff check
3434
run: |
@@ -47,7 +47,7 @@ jobs:
4747
strategy:
4848
matrix:
4949
os: [ubuntu-22.04]
50-
python-version: ["3.10", "3.11", "3.12"]
50+
python-version: ["3.10", "3.11", "3.12", "3.13"]
5151
steps:
5252
- uses: actions/checkout@v5
5353
- name: Set up Python
@@ -146,7 +146,7 @@ jobs:
146146
- name: Set up Python
147147
uses: actions/setup-python@v5
148148
with:
149-
python-version: "3.12"
149+
python-version: "3.13"
150150
- name: Install dependencies
151151
run: sudo apt-get install -y libopenblas-dev liblapack-dev ninja-build
152152
- name: Install Python dependencies
@@ -162,7 +162,7 @@ jobs:
162162
- name: Set up Python
163163
uses: actions/setup-python@v5
164164
with:
165-
python-version: "3.12"
165+
python-version: "3.13"
166166
- name: Install dependencies
167167
run: sudo apt-get install -y libopenblas-dev liblapack-dev
168168
- name: Install Basix C++ library
@@ -199,7 +199,7 @@ jobs:
199199
- name: Set up Python
200200
uses: actions/setup-python@v5
201201
with:
202-
python-version: "3.12"
202+
python-version: "3.13"
203203
- name: Run tests
204204
run: |
205205
pip install pytest

.github/workflows/windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Set up Python
3535
uses: actions/setup-python@v5
3636
with:
37-
python-version: "3.11"
37+
python-version: "3.13"
3838

3939
- name: Set up CMake
4040
uses: lukka/get-cmake@latest
@@ -76,7 +76,7 @@ jobs:
7676
- name: Set up Python
7777
uses: actions/setup-python@v5
7878
with:
79-
python-version: "3.12"
79+
python-version: "3.13"
8080

8181
- name: Set up CMake
8282
uses: lukka/get-cmake@latest

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sonar.organization=fenics
1212
sonar.sourceEncoding=UTF-8
1313

1414
# Set python version
15-
sonar.python.version=3.10, 3.11, 3.12
15+
sonar.python.version=3.10, 3.11, 3.12, 3.13
1616

1717
# Exclude mdspan
1818
sonar.exclusions=cpp/basix/mdspan.hpp

0 commit comments

Comments
 (0)