Skip to content

Commit 1462fff

Browse files
committed
Simplify install instructions
1 parent 5ff7aa1 commit 1462fff

File tree

3 files changed

+19
-16
lines changed

3 files changed

+19
-16
lines changed

.devcontainer/onCreate-meson.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ uv venv
2020
uv pip install \
2121
meson-python \
2222
"cypari2 >=2.2.1" \
23-
"cysignals >=1.11.2, != 1.12.0" \
23+
"cython >=3.0, != 3.0.3, != 3.1.0" \
2424
"cython >=3.0, != 3.0.3" \
2525
"gmpy2 ~=2.1.b999" \
2626
memory_allocator \
2727
"numpy >=1.25" \
28-
jinja2
29-
uv sync --frozen --inexact --no-build-isolation-package=sagemath
28+
jinja2 \
29+
setuptool
30+
uv sync --frozen --inexact --no-build-isolation

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,16 @@ jobs:
6262
run: |
6363
# Install build dependencies manually as workaround for https://github.com/astral-sh/uv/issues/1516
6464
uv pip install \
65-
meson-python \
66-
"cypari2 >=2.2.1" \
67-
"cysignals >=1.11.2, != 1.12.0" \
68-
"cython >=3.0, != 3.0.3" \
69-
"gmpy2 ~=2.1.b999" \
70-
memory_allocator \
71-
"numpy >=1.25" \
72-
jinja2
73-
74-
uv sync --frozen --inexact --no-build-isolation-package=sagemath
65+
meson-python \
66+
"cypari2 >=2.2.1" \
67+
"cython >=3.0, != 3.0.3, != 3.1.0" \
68+
"cython >=3.0, != 3.0.3" \
69+
"gmpy2 ~=2.1.b999" \
70+
memory_allocator \
71+
"numpy >=1.25" \
72+
jinja2 \
73+
setuptool
74+
uv sync --frozen --inexact --no-build-isolation
7575
7676
- name: Test
7777
run: |

src/doc/en/installation/meson.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,16 +162,18 @@ To compile and install Sage in editable install, then just use:
162162

163163
.. code-block:: shell-session
164164
165+
$ uv venv
165166
$ uv pip install \
166167
meson-python \
167168
"cypari2 >=2.2.1" \
168-
"cysignals >=1.11.2, != 1.12.0" \
169+
"cython >=3.0, != 3.0.3, != 3.1.0" \
169170
"cython >=3.0, != 3.0.3" \
170171
"gmpy2 ~=2.1.b999" \
171172
memory_allocator \
172173
"numpy >=1.25" \
173-
jinja2
174-
$ uv sync --frozen --inexact
174+
jinja2 \
175+
setuptool
176+
$ uv sync --frozen --inexact --no-build-isolation
175177
176178
You can then start Sage from the command line with ``./sage``
177179
or run the tests with ``./sage -t``.

0 commit comments

Comments
 (0)