4040 run : cat .github/workflows/fenicsx-refs.env >> $GITHUB_ENV
4141
4242 - name : Install linting tools
43- run : pip install clang-format gersemi ruff
43+ run : pip install --group python/pyproject.toml:lint
4444 - name : ruff .py files in C++ code
4545 run : |
4646 cd cpp/
9696 - name : Install Python build dependencies
9797 working-directory : python
9898 run : |
99- pip install scikit-build-core setuptools
100- python -m scikit_build_core.build requires | python -c "import sys, json; print(' '.join(json.load(sys.stdin)))" | xargs pip install
99+ pip install --group pyproject.toml:build setuptools
101100
102101 - name : Install UFL
103102 run : |
@@ -151,19 +150,18 @@ jobs:
151150
152151 - name : Build Python interface
153152 run : >
154- pip install 'python/[test ]'
153+ pip install --group python/pyproject.toml:test 'python/[demo ]'
155154 --check-build-dependencies
156155 --no-build-isolation
157156 --config-settings=cmake.build-type="Developer"
158157
159158 - name : Check Python configuration
160159 run : python -c "from mpi4py import MPI; import dolfinx; assert not dolfinx.has_petsc; assert not dolfinx.has_petsc4py; assert dolfinx.has_superlu_dist"
161160
162- - name : Install gmsh and pyvista ( and dependencies)
161+ - name : Install system dependencies for gmsh and pyvista
163162 run : |
164163 sudo apt-get install libglu1-mesa libgl1 libxrender1 libxcursor1 libxft2 libxinerama1
165164 sudo apt-get install libegl1
166- pip install gmsh pyvista
167165
168166
169167 - name : Run demos (Python, serial)
@@ -208,8 +206,7 @@ jobs:
208206 - name : Install Python build dependencies
209207 working-directory : python
210208 run : |
211- pip install scikit-build-core
212- python -m scikit_build_core.build requires | python -c "import sys, json; print(' '.join(json.load(sys.stdin)))" | xargs pip install
209+ pip install --group pyproject.toml:build
213210
214211 - name : Install UFL
215212 run : |
@@ -265,7 +262,7 @@ jobs:
265262
266263 - name : Build Python interface
267264 run : >
268- pip install ' python/[ test] '
265+ pip install --group python/pyproject.toml: test 'python/ '
269266 --check-build-dependencies
270267 --no-build-isolation
271268 --config-settings=cmake.build-type="Developer"
@@ -319,8 +316,7 @@ jobs:
319316 - name : Install Python build dependencies
320317 working-directory : python
321318 run : |
322- pip install scikit-build-core setuptools
323- python -m scikit_build_core.build requires | python -c "import sys, json; print(' '.join(json.load(sys.stdin)))" | xargs pip install
319+ pip install --group pyproject.toml:build setuptools
324320
325321 - name : Install FEniCS Python components
326322 run : |
@@ -336,7 +332,7 @@ jobs:
336332
337333 - name : Build Python interface
338334 run : >
339- pip install ' python/[ docs] '
335+ pip install --group python/pyproject.toml: docs 'python/ '
340336 --check-build-dependencies
341337 --no-build-isolation
342338
0 commit comments