Skip to content

Commit 3aed8d5

Browse files
Saransh-cppjhale
andauthored
Use non-standard Python package manager uv in oneAPI CI (#3550)
* ci(oneapi.yml): test build with non-pip (uv) frontend * uv through conda * Remove pip with the hope people use uv. * rm --check-build-dependencies --------- Co-authored-by: Jack S. Hale <[email protected]>
1 parent 56394e9 commit 3aed8d5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/oneapi.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
conda list
5757
5858
- name: Install Basix
59-
run: pip install --no-build-isolation git+https://github.com/FEniCS/basix.git@${{ needs.fenicsx-refs.outputs.basix_ref }}
59+
run: uv pip install --no-build-isolation git+https://github.com/FEniCS/basix.git@${{ needs.fenicsx-refs.outputs.basix_ref }}
6060

6161
- name: Clone FFCx
6262
uses: actions/checkout@v4
@@ -82,8 +82,8 @@ jobs:
8282
8383
- name: Install UFL and FFCx modules
8484
run: |
85-
pip install --no-build-isolation git+https://github.com/FEniCS/ufl.git@${{ needs.fenicsx-refs.outputs.ufl_ref }}
86-
pip install --no-build-isolation ffcx/
85+
uv pip install --no-build-isolation git+https://github.com/FEniCS/ufl.git@${{ needs.fenicsx-refs.outputs.ufl_ref }}
86+
uv pip install --no-build-isolation ffcx/
8787
8888
- name: Build and run DOLFINx C++ unit tests (serial and MPI)
8989
run: |
@@ -102,7 +102,7 @@ jobs:
102102
ctest -R demo -R mpi_2
103103
104104
- name: Build DOLFINx Python interface
105-
run: pip -v install --check-build-dependencies --no-build-isolation --config-settings=cmake.build-type="Developer" python/
105+
run: uv pip -v install --no-build-isolation --config-settings=cmake.build-type="Developer" python/
106106
- name: Run DOLFINx demos (Python, serial)
107107
run: python -m pytest -v -n=2 -m serial --durations=10 python/demo/test.py
108108
- name: Run DOLFINx demos (Python, MPI (np=2))

python/conda-oneapi-test-env.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ dependencies:
2929
- cmake
3030
- ninja
3131
- pkg-config
32-
- pip
3332
- git
33+
- uv

0 commit comments

Comments
 (0)