Skip to content

Commit 2dc6a02

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into refactor-is-exact
2 parents 274f78f + 1be0a58 commit 2dc6a02

File tree

279 files changed

+4181
-4085
lines changed

Some content is hidden

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

279 files changed

+4181
-4085
lines changed

.devcontainer/onCreate-conda.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ mamba env create -y --file environment-3.11-linux.yml || mamba env update -y --f
1010
conda init bash
1111

1212
# Build sage
13-
conda run -n sage-dev ./bootstrap
14-
conda run -n sage-dev pip install --no-build-isolation -v -v -e ./src
13+
conda run -n sage-dev pip install --no-build-isolation -v -v -e .

.github/workflows/ci-meson.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,23 @@ jobs:
6969
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
7070
export CC="ccache $CC"
7171
export CXX="ccache $CXX"
72-
pip install --no-build-isolation --config-settings=builddir=builddir . -v
72+
# Use --no-deps and pip check below to verify that all necessary dependencies are installed via conda
73+
pip install --no-build-isolation --no-deps --config-settings=builddir=builddir . -v
74+
75+
- name: Verify dependencies
76+
shell: bash -l {0}
77+
run: pip check
7378

7479
- name: Test
7580
shell: bash -l {0}
7681
run: |
7782
# We don't install sage_setup, so don't try to test it
7883
rm -R ./src/sage_setup/
7984
./sage -t --all -p4
85+
86+
- name: Upload log
87+
uses: actions/[email protected]
88+
if: failure()
89+
with:
90+
name: ${{ runner.os }}-meson-${{ matrix.python }}-log
91+
path: builddir/meson-logs/

.github/workflows/dist.yml

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,36 @@ jobs:
119119
with:
120120
name: dist
121121
path: dist
122-
- uses: softprops/action-gh-release@v2
122+
- name: Create release
123+
env:
124+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
125+
run: |
126+
latest_release_tag=$(curl -s https://api.github.com/repos/${{ github.repository }}/releases \
127+
| jq -r 'sort_by(.created_at) | last(.[]).tag_name')
128+
release_notes=$(curl -s \
129+
-X POST \
130+
-H "Accept: application/vnd.github+json" \
131+
-H "Authorization: Bearer $GITHUB_TOKEN" \
132+
-H "X-GitHub-Api-Version: 2022-11-28" \
133+
https://api.github.com/repos/${{ github.repository }}/releases/generate-notes \
134+
-d "{
135+
\"tag_name\": \"${{ github.ref_name }}\",
136+
\"previous_tag_name\": \"$latest_release_tag\"
137+
}" | jq -r '.body')
138+
curl -L \
139+
-X POST \
140+
-H "Accept: application/vnd.github+json" \
141+
-H "Authorization: Bearer $GITHUB_TOKEN" \
142+
-H "X-GitHub-Api-Version: 2022-11-28" \
143+
https://api.github.com/repos/${{ github.repository }}/releases \
144+
-d "{
145+
\"tag_name\": \"${{ github.ref_name }}\",
146+
\"prerelease\": ${{ contains(github.ref, 'beta') || contains(github.ref, 'rc') }},
147+
\"body\": \"$release_notes\"
148+
}"
149+
- name: Create release assets
150+
uses: softprops/action-gh-release@v2
123151
with:
124-
generate_release_notes: true
125-
prerelease: ${{ contains(github.ref, 'beta') || contains(github.ref, 'rc') }}
126152
files: |
127153
dist/*
128154
upstream/*

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
/config.log
1919
/config.status
2020
/configure
21-
/conftest*
2221
/confdefs.h
2322

2423
/m4/sage_spkg_configures.m4

.vscode/settings.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
},
1919
"python.testing.pytestEnabled": true,
2020
"python.testing.pytestArgs": [
21-
"--rootdir=src/sage",
22-
"-c=src/tox.ini",
23-
"--doctest-modules"
21+
"--doctest"
2422
],
2523
"python.testing.unittestEnabled": false,
2624
"cSpell.words": [

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.6.beta2
7+
version: 10.6.beta3
88
doi: 10.5281/zenodo.8042260
9-
date-released: 2024-12-22
9+
date-released: 2025-01-04
1010
repository-code: "https://github.com/sagemath/sage"
1111
url: "https://www.sagemath.org/"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ information, patches, and build scripts are in the accompanying
679679
part of the Sage git repository.
680680

681681
<p align="center">
682-
Copyright (C) 2005-2024 The Sage Development Team
682+
Copyright (C) 2005-2025 The Sage Development Team
683683
</p>
684684
<p align="center">
685685
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.6.beta2, Release Date: 2024-12-22
1+
SageMath version 10.6.beta3, Release Date: 2025-01-04

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=a03b8a505678cba0d652514d739bd32eb30bb925
3-
sha256=6525b44fea6b9d0238ca4790e8be5168e8d08c350787704a59ada9b6075a1f0f
2+
sha1=852d0d200a6a73aa5ddb9e00874cbe4a61c211e9
3+
sha256=c4b089d90850dfdf15b905f66e4f6a0d961b96eb0663d8603beaff1a9efb2cbe
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
291e54bf234b1753909f22a043e91a4a639693c1
1+
a2ba1f943f88775218c385efe55509c4548d1b44

0 commit comments

Comments
 (0)