Skip to content

Commit 93dc023

Browse files
committed
Merge remote-tracking branch 'origin/main' into release
2 parents 009c0e7 + f2f855a commit 93dc023

72 files changed

Lines changed: 2504 additions & 1097 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-wheels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ jobs:
4040
runs-on: ubuntu-latest
4141
steps:
4242
- name: Checkout FFCx
43-
uses: actions/checkout@v5
43+
uses: actions/checkout@v6
4444
with:
4545
ref: ${{ github.event.inputs.ffcx_ref }}
4646
- name: Upgrade pip and setuptools
4747
run: python -m pip install setuptools pip build --upgrade
4848
- name: Build sdist and wheel
4949
run: python -m build .
50-
- uses: actions/upload-artifact@v4
50+
- uses: actions/upload-artifact@v7
5151
with:
5252
path: dist/*
5353

@@ -63,7 +63,7 @@ jobs:
6363
id-token: write
6464

6565
steps:
66-
- uses: actions/download-artifact@v5
66+
- uses: actions/download-artifact@v8
6767
with:
6868
name: artifact
6969
path: dist
@@ -85,7 +85,7 @@ jobs:
8585
id-token: write
8686

8787
steps:
88-
- uses: actions/download-artifact@v5
88+
- uses: actions/download-artifact@v8
8989
with:
9090
name: artifact
9191
path: dist

.github/workflows/dolfinx-tests.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ jobs:
3434
PETSC_ARCH: linux-gnu-complex64-32
3535
OMPI_ALLOW_RUN_AS_ROOT: 1
3636
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
37+
PRTE_MCA_rmaps_default_mapping_policy: :oversubscribe # Newer OpenMPI
38+
OMPI_MCA_rmaps_base_oversubscribe: true # Older OpenMPI
3739
steps:
38-
- uses: actions/checkout@v5
40+
- uses: actions/checkout@v6
3941
- name: Install UFL and Basix (default branches/tags)
4042
if: github.event_name != 'workflow_dispatch'
4143
run: |
@@ -51,14 +53,14 @@ jobs:
5153
pip3 install --break-system-packages .
5254
- name: Get DOLFINx source (default branch/tag)
5355
if: github.event_name != 'workflow_dispatch'
54-
uses: actions/checkout@v5
56+
uses: actions/checkout@v6
5557
with:
5658
path: ./dolfinx
5759
repository: FEniCS/dolfinx
5860
ref: main
5961
- name: Get DOLFINx source (specified branch/tag)
6062
if: github.event_name == 'workflow_dispatch'
61-
uses: actions/checkout@v5
63+
uses: actions/checkout@v6
6264
with:
6365
path: ./dolfinx
6466
repository: FEniCS/dolfinx

.github/workflows/pythonapp.yml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,12 @@ jobs:
2525
runs-on: ${{ matrix.os }}
2626
strategy:
2727
matrix:
28-
os: [ubuntu-latest]
29-
python-version: ["3.10", "3.11", "3.12", "3.13"]
30-
include:
31-
- os: windows-2022
32-
python-version: "3.11"
33-
- os: macos-latest
34-
python-version: "3.12"
28+
os: ["windows-2022", "ubuntu-latest", "macos-latest"]
29+
python-version: ["3.11", "3.12", "3.13", "3.14"]
3530

3631
steps:
3732
- name: Checkout FFCx
38-
uses: actions/checkout@v5
33+
uses: actions/checkout@v6
3934

4035
- name: Set up Python
4136
uses: actions/setup-python@v6
@@ -44,7 +39,7 @@ jobs:
4439

4540
- name: Export GitHub Actions cache environment variables (Windows)
4641
if: runner.os == 'Windows'
47-
uses: actions/github-script@v8
42+
uses: actions/github-script@v9
4843
with:
4944
script: |
5045
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
@@ -85,14 +80,14 @@ jobs:
8580
if: runner.os != 'Linux'
8681
run: pip install .[ci]
8782

88-
- name: Static check with mypy
89-
run: mypy -p ffcx
90-
9183
- name: ruff checks
9284
run: |
9385
ruff check .
9486
ruff format --check .
9587
88+
- name: Static check with mypy
89+
run: mypy -p ffcx
90+
9691
- name: Run unit tests
9792
run: >
9893
python -m pytest test/
@@ -109,7 +104,7 @@ jobs:
109104
continue-on-error: true
110105

111106
- name: Upload pytest results
112-
uses: actions/upload-artifact@v4
107+
uses: actions/upload-artifact@v7
113108
with:
114109
name: pytest-results-${{ matrix.os }}-${{ matrix.python-version }}
115110
path: junit/test-results-${{ matrix.os }}-${{ matrix.python-version }}.xml
@@ -122,15 +117,17 @@ jobs:
122117
uses: ilammy/msvc-dev-cmd@v1
123118

124119
- name: Run FFCx demos
125-
run: |
120+
run: >
126121
pytest demo/test_demos.py
122+
-W error
123+
# -n auto
127124
128125
- name: Build documentation
129126
run: |
130127
cd doc
131-
make html
128+
python -m sphinx -W -b html source/ build/html/
132129
- name: Upload documentation artifact
133-
uses: actions/upload-artifact@v4
130+
uses: actions/upload-artifact@v7
134131
with:
135132
name: doc-${{ matrix.os }}-${{ matrix.python-version }}
136133
path: doc/build/html/
@@ -139,7 +136,7 @@ jobs:
139136

140137
- name: Checkout FEniCS/docs
141138
if: ${{ github.repository == 'FEniCS/ffcx' && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') ) && runner.os == 'Linux' && matrix.python-version == 3.12 }}
142-
uses: actions/checkout@v5
139+
uses: actions/checkout@v6
143140
with:
144141
repository: "FEniCS/docs"
145142
path: "docs"

.github/workflows/spack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
apt-get install -y g++ gfortran # compilers
3636
3737
- name: Get Spack
38-
uses: actions/checkout@v5
38+
uses: actions/checkout@v6
3939
with:
4040
path: ./spack
4141
repository: spack/spack

.mailmap

Lines changed: 0 additions & 133 deletions
This file was deleted.

INSTALL

Lines changed: 0 additions & 18 deletions
This file was deleted.

cmake/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
cmake_minimum_required(VERSION 3.19)
22

3-
project(ufcx VERSION 0.10.0 DESCRIPTION "UFCx interface header for finite element kernels"
3+
# Development version: x.x.x.0
4+
# Release version: x.x.x
5+
project(ufcx VERSION 0.11.0.0 DESCRIPTION "UFCx interface header for finite element kernels"
46
LANGUAGES C
57
HOMEPAGE_URL https://github.com/fenics/ffcx)
68
include(GNUInstallDirs)

demo/ComplexPoisson.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
mesh = Mesh(coords)
2828
dx = dx(mesh)
2929

30-
element = basix.ufl.element("P", mesh.ufl_cell().cellname(), 2)
30+
element = basix.ufl.element("P", mesh.ufl_cell().cellname, 2)
3131
space = FunctionSpace(mesh, element)
3232

3333
u = TrialFunction(space)

demo/ExpressionInterpolation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
#
33
# This file is part of FFCx.
44
#
5-
# FFC is free software: you can redistribute it and/or modify
5+
# FFCx is free software: you can redistribute it and/or modify
66
# it under the terms of the GNU Lesser General Public License as published by
77
# the Free Software Foundation, either version 3 of the License, or
88
# (at your option) any later version.
99
#
10-
# FFC is distributed in the hope that it will be useful,
10+
# FFCx is distributed in the hope that it will be useful,
1111
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1212
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
# GNU Lesser General Public License for more details.

demo/HyperElasticity.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
3333
d = 3
3434

3535
# Elements
36-
u_element = basix.ufl.element("P", cell.cellname(), 2, shape=(3,))
37-
p_element = basix.ufl.element("P", cell.cellname(), 1)
38-
A_element = basix.ufl.element("P", cell.cellname(), 1, shape=(3, 3))
36+
u_element = basix.ufl.element("P", cell.cellname, 2, shape=(3,))
37+
p_element = basix.ufl.element("P", cell.cellname, 1)
38+
A_element = basix.ufl.element("P", cell.cellname, 1, shape=(3, 3))
3939

4040
# Spaces
41-
domain = Mesh(basix.ufl.element("Lagrange", cell.cellname(), 1, shape=(3,)))
41+
domain = Mesh(basix.ufl.element("Lagrange", cell.cellname, 1, shape=(3,)))
4242
u_space = FunctionSpace(domain, u_element)
4343
p_space = FunctionSpace(domain, p_element)
4444
A_space = FunctionSpace(domain, A_element)

0 commit comments

Comments
 (0)