Skip to content

Commit 1f32079

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into sage-db
2 parents fd22aa9 + f48da11 commit 1f32079

File tree

422 files changed

+5730
-1942
lines changed

Some content is hidden

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

422 files changed

+5730
-1942
lines changed

.ci/write-dockerfile.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,11 @@ cat <<EOF
275275
FROM with-system-packages AS bootstrapped
276276
#:bootstrapping:
277277
RUN rm -rf /new /sage/.git
278-
$ADD Makefile VERSION.txt COPYING.txt condarc.yml README.md bootstrap bootstrap-conda configure.ac sage .homebrew-build-env tox.ini Pipfile.m4 .gitignore /new/
278+
$ADD Makefile VERSION.txt COPYING.txt condarc.yml README.md bootstrap bootstrap-conda configure.ac sage .homebrew-build-env tox.ini .gitignore /new/
279279
$ADD config/config.rpath /new/config/config.rpath
280280
$ADD src/doc/bootstrap /new/src/doc/bootstrap
281281
$ADD src/bin /new/src/bin
282-
$ADD src/Pipfile.m4 src/pyproject.toml src/requirements.txt.m4 src/setup.cfg.m4 src/VERSION.txt /new/src/
282+
$ADD src/pyproject.toml src/requirements.txt.m4 src/setup.cfg.m4 src/VERSION.txt /new/src/
283283
$ADD m4 /new/m4
284284
$ADD pkgs /new/pkgs
285285
$ADD build /new/build
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Trigger Changelog Generation
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
trigger-website-repo-workflow:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Trigger Generate Changelog Workflow in website repo
12+
if: "!github.event.release.prerelease"
13+
env:
14+
GITHUB_PAT: ${{ secrets.WEBSITE_ACCESS_TOKEN }}
15+
RELEASE_TAG: ${{ github.event.release.tag_name }}
16+
run: |
17+
curl -L \
18+
-X POST \
19+
-H "Accept: application/vnd.github+json" \
20+
-H "Authorization: Bearer $GITHUB_PAT" \
21+
-H "X-GitHub-Api-Version: 2022-11-28" \
22+
https://api.github.com/repos/sagemath/website/actions/workflows/generate_changelog.yml/dispatches \
23+
-d '{"ref":"master","inputs":{"release_tag":"'"$RELEASE_TAG"'"}}'

.github/workflows/ci-linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
tox_packages_factors: >-
5151
["standard"]
5252
docker_push_repository: ghcr.io/${{ github.repository }}/
53+
logs_artifact: false
5354

5455
# All platforms. This duplicates the default platform, but why not,
5556
# it makes it more robust regarding random timeouts.

.github/workflows/doc-build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ jobs:
154154
git config --global user.email "[email protected]"
155155
git config --global user.name "Build documentation workflow"
156156
unzip doc.zip
157+
rm doc.zip
157158
PR_NUMBER=""
158159
if [[ "$GITHUB_REF" =~ refs/pull/([0-9]+)/merge ]]; then
159160
PR_NUMBER="${BASH_REMATCH[1]}"
@@ -202,6 +203,10 @@ jobs:
202203
if: steps.docbuild.outcome == 'success'
203204
run: |
204205
set -ex
206+
# Remove any existing html directory before copying a new one
207+
if [ -d "doc/html" ]; then
208+
rm -rf doc/html
209+
fi
205210
# Simpler "docker cp --follow-link ... doc" does not work
206211
mkdir -p doc
207212
mkdir -p temp
@@ -217,7 +222,7 @@ jobs:
217222
fi
218223
# If so, then create CHANGES.html
219224
if [[ -n "$PR_NUMBER" ]]; then
220-
(cd doc && git commit -a -m 'new')
225+
(cd doc && git add -A && git commit --quiet -m 'new')
221226
# Wipe out chronic diffs of new doc against old doc before creating CHANGES.html
222227
(cd doc && \
223228
find . -name "*.html" | xargs sed -i -e '/This is documentation/ s/ built with GitHub PR .* for development/ for development/' \
@@ -229,7 +234,7 @@ jobs:
229234
# Since HEAD is at commit 'wipe-out', HEAD~1 is commit 'new' (new doc), HEAD~2 is commit 'old' (old doc)
230235
(cd doc && git diff $(git rev-parse HEAD~2) -- "*.html") > diff.txt
231236
# Restore the new doc dropping changes by "wipe out"
232-
(cd doc && git checkout -q -f HEAD~1)
237+
(cd doc && git checkout --quiet -f HEAD~1)
233238
.ci/create-changes-html.sh diff.txt doc
234239
# Sometimes rm -rf .git errors out because of some diehard hidden files
235240
# So we simply move it out of the doc directory

.github/workflows/docker.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ on:
8585
description: 'Elapsed time (seconds) at which to kill the build'
8686
default: 20000
8787
type: number
88+
logs_artifact:
89+
default: true
90+
type: boolean
8891
#
8992
# Publishing to GitHub Packages
9093
#
@@ -260,11 +263,12 @@ jobs:
260263
cp -r .tox/$TOX_ENV/* "artifacts/$LOGS_ARTIFACT_NAME"
261264
rm -rf "artifacts/$LOGS_ARTIFACT_NAME"/{bin,lib,pyvenv.cfg}
262265
if: always()
263-
- uses: actions/upload-artifact@v4
266+
- name: Upload logs artifact
267+
uses: actions/upload-artifact@v4
264268
with:
265269
path: artifacts
266270
name: ${{ env.LOGS_ARTIFACT_NAME }}
267-
if: always()
271+
if: always() && inputs.logs_artifact
268272
- name: Print out logs for immediate inspection
269273
# and markup the output with GitHub Actions logging commands
270274
run: |

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@
5656

5757
/src/setup.cfg
5858
/src/requirements.txt
59-
/src/Pipfile
60-
/src/Pipfile.lock
61-
/Pipfile
62-
/Pipfile.lock
6359

6460
# Various editors
6561
*~
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Upstream packages as uploaded as GitHub release assets.
22
# This file is automatically updated by the sage-update-version script.
3+
https://github.com/sagemath/sage/releases/download/10.6/
34
https://github.com/sagemath/sage/releases/download/10.5/
45
https://github.com/sagemath/sage/releases/download/10.4/
5-
https://github.com/sagemath/sage/releases/download/10.3/

.vscode/settings.json

Lines changed: 82 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,90 @@
2424
],
2525
"python.testing.unittestEnabled": false,
2626
"cSpell.words": [
27-
"furo",
27+
"adic",
28+
"arccos",
29+
"arccosh",
30+
"arcsin",
31+
"arcsinh",
32+
"arctan",
33+
"arctanh",
34+
"Bejger",
35+
"bigcup",
36+
"cachefunc",
37+
"charpoly",
38+
"classmethod",
39+
"clopen",
40+
"codim",
41+
"codomain",
42+
"coframe",
43+
"coframes",
2844
"Conda",
45+
"cputime",
46+
"cysignals",
47+
"Cython",
48+
"d'Alembertian",
49+
"dalembertian",
50+
"disp",
51+
"doctest",
52+
"doctests",
53+
"emptyset",
54+
"figsize",
55+
"Florentin",
56+
"fontsize",
57+
"forall",
58+
"furo",
59+
"Gourgoulhon",
60+
"grayskull",
61+
"groebner",
62+
"homeomorphic",
63+
"homset",
64+
"homsets",
65+
"hypersurfaces",
66+
"infty",
67+
"Jaffredo",
68+
"Katsura",
69+
"Koeppe",
70+
"longmapsto",
71+
"longrightarrow",
72+
"mapsto",
73+
"mathbb",
74+
"mathrm",
75+
"Michal",
76+
"micjung",
77+
"Minkowski",
78+
"Möbius",
79+
"mpfr",
80+
"nabla",
81+
"Nullspace",
82+
"padics",
83+
"pari",
84+
"prandom",
85+
"Pynac",
86+
"rightarrow",
2987
"sagemath",
30-
"Cython"
88+
"scalarfield",
89+
"SEEALSO",
90+
"setminus",
91+
"smithform",
92+
"subchart",
93+
"subcharts",
94+
"subframe",
95+
"subframes",
96+
"subobjects",
97+
"subring",
98+
"superchart",
99+
"supercharts",
100+
"supersets",
101+
"sympy",
102+
"tensorfield",
103+
"trigsimp",
104+
"varphi",
105+
"vbundle",
106+
"vecmat",
107+
"vectorfield",
108+
"walltime",
109+
"zmax",
110+
"zmin"
31111
],
32112
"editor.formatOnType": true,
33113
"esbonio.sphinx.confDir": ""

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.5.rc1
7+
version: 10.6.beta0
88
doi: 10.5281/zenodo.8042260
9-
date-released: 2024-11-23
9+
date-released: 2024-12-08
1010
repository-code: "https://github.com/sagemath/sage"
1111
url: "https://www.sagemath.org/"

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ bootstrap-clean:
175175
rm -f src/doc/en/installation/*.txt
176176
find src/doc/en/reference/spkg -name index.rst -prune -o -maxdepth 1 -name "*.rst" -exec rm -f {} \+
177177
for a in environment environment-optional src/environment src/environment-dev src/environment-optional; do rm -f $$a.yml $$a-3.[89].yml $$a-3.1[0-9].yml; done
178-
rm -f src/Pipfile
179178
rm -f src/requirements.txt
180179
rm -f src/setup.cfg
181180
rm -f build/pkgs/cypari/version_requirements.txt

0 commit comments

Comments
 (0)