Skip to content

Commit 95313b4

Browse files
committed
Simplify uv install of build dependencies
1 parent fe9fc14 commit 95313b4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.devcontainer/onCreate-meson.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ eval $(build/bin/sage-print-system-package-command $SYSTEM --yes --ignore-missin
1919
uv venv
2020
uv pip install \
2121
meson-python \
22+
"cypari2 >=2.2.1" \
2223
"cysignals >=1.11.2, != 1.12.0" \
2324
"cython >=3.0, != 3.0.3, != 3.1.0" \
2425
"gmpy2 ~=2.1.b999" \
2526
memory_allocator \
2627
"numpy >=1.25" \
2728
jinja2 \
2829
setuptools
29-
uv pip install "cypari2 >=2.2.1" --no-build-isolation
3030
uv sync --frozen --inexact --no-build-isolation --config-settings=builddir=build/build-$SYSTEM

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ jobs:
7474
# Install build dependencies manually as workaround for https://github.com/astral-sh/uv/issues/1516
7575
uv pip install \
7676
meson-python \
77+
"cypari2 >=2.2.1" \
7778
"cysignals >=1.11.2, != 1.12.0" \
7879
"cython >=3.0, != 3.0.3, != 3.1.0" \
7980
"gmpy2 ~=2.1.b999" \
8081
memory_allocator \
8182
"numpy >=1.25" \
82-
setuptools \
83-
jinja2
84-
uv pip install --no-build-isolation "cypari2 >=2.2.1"
85-
uv sync --frozen --no-build-isolation -v
83+
jinja2 \
84+
setuptools
85+
uv sync --frozen --inexact --no-build-isolation -v
8686
8787
- name: Test
8888
run: |

0 commit comments

Comments
 (0)