@@ -93,12 +93,14 @@ jobs:
9393 python-version : " 3.12"
9494
9595 - name : Install Python build dependencies
96+ working-directory : python
9697 run : |
97- pip -v install --upgrade -r python/build-requirements.txt
98+ pip install scikit-build-core setuptools
99+ python -m scikit_build_core.build requires | python -c "import sys, json; print(' '.join(json.load(sys.stdin)))" | xargs pip install
98100
99101 - name : Install FEniCS Python components
100102 run : |
101- pip install --no-build-isolation git+https://github.com/${{ env.ufl_repository }}.git@${{ env.ufl_ref }}
103+ pip install git+https://github.com/${{ env.ufl_repository }}.git@${{ env.ufl_ref }}
102104 pip install --no-build-isolation git+https://github.com/${{ env.basix_repository }}.git@${{ env.basix_ref }}
103105 pip install --no-build-isolation git+https://github.com/${{ env.ffcx_repository }}.git@${{ env.ffcx_ref }}
104106
@@ -187,11 +189,14 @@ jobs:
187189 run : cat .github/workflows/fenicsx-refs.env >> $GITHUB_ENV
188190
189191 - name : Install Python build dependencies
190- run : pip install -r python/build-requirements.txt
192+ working-directory : python
193+ run : |
194+ pip install scikit-build-core
195+ python -m scikit_build_core.build requires | python -c "import sys, json; print(' '.join(json.load(sys.stdin)))" | xargs pip install
191196
192197 - name : Install FEniCS Python components
193198 run : |
194- pip install --no-build-isolation git+https://github.com/${{ env.ufl_repository }}.git@${{ env.ufl_ref }}
199+ pip install git+https://github.com/${{ env.ufl_repository }}.git@${{ env.ufl_ref }}
195200 pip install --no-build-isolation git+https://github.com/${{ env.basix_repository }}.git@${{ env.basix_ref }}
196201 pip install --no-build-isolation git+https://github.com/${{ env.ffcx_repository }}.git@${{ env.ffcx_ref }}
197202
@@ -292,10 +297,15 @@ jobs:
292297 - name : Load environment variables
293298 run : cat .github/workflows/fenicsx-refs.env >> $GITHUB_ENV
294299
300+ - name : Install Python build dependencies
301+ working-directory : python
302+ run : |
303+ pip install scikit-build-core setuptools
304+ python -m scikit_build_core.build requires | python -c "import sys, json; print(' '.join(json.load(sys.stdin)))" | xargs pip install
305+
295306 - name : Install FEniCS Python components
296307 run : |
297- pip install -r python/build-requirements.txt
298- pip install --no-build-isolation git+https://github.com/${{ env.ufl_repository }}.git@${{ env.ufl_ref }}
308+ pip install git+https://github.com/${{ env.ufl_repository }}.git@${{ env.ufl_ref }}
299309 pip install --no-build-isolation git+https://github.com/${{ env.basix_repository }}.git@${{ env.basix_ref }}
300310 pip install --no-build-isolation git+https://github.com/${{ env.ffcx_repository }}.git@${{ env.ffcx_ref }}
301311
0 commit comments