Skip to content

Commit d8570dd

Browse files
committed
Merge branch 'develop' of https://github.com/fisheryv/sage into develop
2 parents 53e6398 + 623534b commit d8570dd

File tree

261 files changed

+3843
-2234
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+3843
-2234
lines changed

.devcontainer/onCreate-conda.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ conda config --env --add channels conda-forge
66
conda config --env --set channel_priority strict
77
conda update -y --all --override-channels -c conda-forge
88
conda install mamba=1 -n base -y
9-
mamba env create -y --file environment-3.11-linux.yml || mamba env update -y --file environment-3.11-linux.yml
9+
mamba env create -y --file environment-3.11-linux.yml || mamba env update --file environment-3.11-linux.yml
1010
conda init bash
1111

1212
# Build sage
13-
conda run -n sage-dev pip install --no-build-isolation -v -v -e .
13+
conda run -n sage-dev pip install --no-build-isolation -v -v -e . --config-settings=build-dir="build/conda-cp311"

.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-linux-incremental.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020
paths:
2121
- '.github/workflows/ci-linux-incremental.yml'
2222
- 'build/pkgs/**'
23+
- 'configure.ac'
2324
- '!build/pkgs/sage_conf/**'
2425
- '!build/pkgs/sage_docbuild/**'
2526
- '!build/pkgs/sage_setup/**'

.github/workflows/ci-meson.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ jobs:
8888

8989
- name: Setup Conda environment
9090
uses: conda-incubator/setup-miniconda@v3
91+
continue-on-error: true
92+
id: conda1
9193
with:
9294
python-version: ${{ matrix.python }}
9395
# Disabled for now due to
@@ -99,6 +101,22 @@ jobs:
99101
activate-environment: sage-dev
100102
environment-file: environment-${{ matrix.python }}-${{ startsWith(matrix.os, 'macos') && (startsWith(runner.arch, 'ARM') && 'macos' || 'macos-x86_64') || startsWith(matrix.os, 'ubuntu') && 'linux' || 'win' }}.yml
101103

104+
# Sometimes the conda setup fails due to network issues.
105+
# This is a workaround to retry the setup step if it fails.
106+
# Workaround for https://github.com/conda-incubator/setup-miniconda/issues/129
107+
- name: Setup Conda environment (2nd time)
108+
uses: conda-incubator/setup-miniconda@v3
109+
if: steps.conda1.outcome == 'failure'
110+
with:
111+
python-version: ${{ matrix.python }}
112+
miniforge-version: latest
113+
use-mamba: true
114+
channels: conda-forge
115+
channel-priority: true
116+
activate-environment: sage-dev
117+
environment-file: environment-${{ matrix.python }}-${{ startsWith(matrix.os, 'macos') && (startsWith(runner.arch, 'ARM') && 'macos' || 'macos-x86_64') || 'linux' }}.yml
118+
119+
102120
- name: Print Conda environment
103121
shell: bash -l {0}
104122
run: |

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: actions/checkout@v3
3131

3232
- name: Install uv
33-
uses: astral-sh/setup-uv@v6.0.1
33+
uses: astral-sh/setup-uv@v6.1.0
3434

3535
# We cannot use the setup python action because it doesn't support all containers
3636
# https://github.com/actions/setup-python/issues/527
@@ -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: |

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020
[
2121
"ubuntu-focal",
2222
"ubuntu-jammy",
23+
"ubuntu-noble",
2324
"debian-bullseye",
2425
"debian-bookworm",
2526
"fedora-40",

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@
7070
"mathrm",
7171
"Michal",
7272
"micjung",
73+
"Miniconda",
74+
"Miniforge",
7375
"Minkowski",
7476
"Möbius",
7577
"mpfr",
@@ -79,12 +81,15 @@
7981
"pari",
8082
"prandom",
8183
"Pynac",
84+
"pyproject",
8285
"rightarrow",
8386
"sagemath",
8487
"scalarfield",
88+
"sdist",
8589
"SEEALSO",
8690
"setminus",
8791
"smithform",
92+
"spkg",
8893
"subchart",
8994
"subcharts",
9095
"subframe",

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title: SageMath
44
abstract: SageMath is a free open-source mathematics software system.
55
authors:
66
- name: "The SageMath Developers"
7-
version: 10.7.beta4
7+
version: 10.7.beta5
88
doi: 10.5281/zenodo.8042260
9-
date-released: 2025-05-18
9+
date-released: 2025-06-01
1010
repository-code: "https://github.com/sagemath/sage"
1111
url: "https://www.sagemath.org/"

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
SageMath version 10.7.beta4, Release Date: 2025-05-18
1+
SageMath version 10.7.beta5, Release Date: 2025-06-01

build/pkgs/configure/checksums.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
tarball=configure-VERSION.tar.gz
2-
sha1=2b82d3f61ce5242564303693ec5cf868bed70e67
3-
sha256=307a4306540a791edb795baad821ebc708a589960146c4a20d3d14aa730fc1ea
2+
sha1=71e76e4d1c6e4c3c6f225a6dbcee0055bca54192
3+
sha256=ba4fb20c79af60e61ca4656cbddb6dfb5d3cee545e751dbb9e49243d345db6db

0 commit comments

Comments
 (0)