Skip to content

Commit

Permalink
Merge branch 'develop' into cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
gmou3 authored Dec 11, 2024
2 parents d5d4af9 + f48da11 commit 2f1eafb
Show file tree
Hide file tree
Showing 422 changed files with 5,730 additions and 1,942 deletions.
4 changes: 2 additions & 2 deletions .ci/write-dockerfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,11 @@ cat <<EOF
FROM with-system-packages AS bootstrapped
#:bootstrapping:
RUN rm -rf /new /sage/.git
$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/
$ADD Makefile VERSION.txt COPYING.txt condarc.yml README.md bootstrap bootstrap-conda configure.ac sage .homebrew-build-env tox.ini .gitignore /new/
$ADD config/config.rpath /new/config/config.rpath
$ADD src/doc/bootstrap /new/src/doc/bootstrap
$ADD src/bin /new/src/bin
$ADD src/Pipfile.m4 src/pyproject.toml src/requirements.txt.m4 src/setup.cfg.m4 src/VERSION.txt /new/src/
$ADD src/pyproject.toml src/requirements.txt.m4 src/setup.cfg.m4 src/VERSION.txt /new/src/
$ADD m4 /new/m4
$ADD pkgs /new/pkgs
$ADD build /new/build
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/changelog_trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Trigger Changelog Generation

on:
release:
types: [published]

jobs:
trigger-website-repo-workflow:
runs-on: ubuntu-latest
steps:
- name: Trigger Generate Changelog Workflow in website repo
if: "!github.event.release.prerelease"
env:
GITHUB_PAT: ${{ secrets.WEBSITE_ACCESS_TOKEN }}
RELEASE_TAG: ${{ github.event.release.tag_name }}
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_PAT" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/sagemath/website/actions/workflows/generate_changelog.yml/dispatches \
-d '{"ref":"master","inputs":{"release_tag":"'"$RELEASE_TAG"'"}}'
1 change: 1 addition & 0 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
tox_packages_factors: >-
["standard"]
docker_push_repository: ghcr.io/${{ github.repository }}/
logs_artifact: false

# All platforms. This duplicates the default platform, but why not,
# it makes it more robust regarding random timeouts.
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ jobs:
git config --global user.email "ci-sage@example.com"
git config --global user.name "Build documentation workflow"
unzip doc.zip
rm doc.zip
PR_NUMBER=""
if [[ "$GITHUB_REF" =~ refs/pull/([0-9]+)/merge ]]; then
PR_NUMBER="${BASH_REMATCH[1]}"
Expand Down Expand Up @@ -202,6 +203,10 @@ jobs:
if: steps.docbuild.outcome == 'success'
run: |
set -ex
# Remove any existing html directory before copying a new one
if [ -d "doc/html" ]; then
rm -rf doc/html
fi
# Simpler "docker cp --follow-link ... doc" does not work
mkdir -p doc
mkdir -p temp
Expand All @@ -217,7 +222,7 @@ jobs:
fi
# If so, then create CHANGES.html
if [[ -n "$PR_NUMBER" ]]; then
(cd doc && git commit -a -m 'new')
(cd doc && git add -A && git commit --quiet -m 'new')
# Wipe out chronic diffs of new doc against old doc before creating CHANGES.html
(cd doc && \
find . -name "*.html" | xargs sed -i -e '/This is documentation/ s/ built with GitHub PR .* for development/ for development/' \
Expand All @@ -229,7 +234,7 @@ jobs:
# Since HEAD is at commit 'wipe-out', HEAD~1 is commit 'new' (new doc), HEAD~2 is commit 'old' (old doc)
(cd doc && git diff $(git rev-parse HEAD~2) -- "*.html") > diff.txt
# Restore the new doc dropping changes by "wipe out"
(cd doc && git checkout -q -f HEAD~1)
(cd doc && git checkout --quiet -f HEAD~1)
.ci/create-changes-html.sh diff.txt doc
# Sometimes rm -rf .git errors out because of some diehard hidden files
# So we simply move it out of the doc directory
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ on:
description: 'Elapsed time (seconds) at which to kill the build'
default: 20000
type: number
logs_artifact:
default: true
type: boolean
#
# Publishing to GitHub Packages
#
Expand Down Expand Up @@ -260,11 +263,12 @@ jobs:
cp -r .tox/$TOX_ENV/* "artifacts/$LOGS_ARTIFACT_NAME"
rm -rf "artifacts/$LOGS_ARTIFACT_NAME"/{bin,lib,pyvenv.cfg}
if: always()
- uses: actions/upload-artifact@v4
- name: Upload logs artifact
uses: actions/upload-artifact@v4
with:
path: artifacts
name: ${{ env.LOGS_ARTIFACT_NAME }}
if: always()
if: always() && inputs.logs_artifact
- name: Print out logs for immediate inspection
# and markup the output with GitHub Actions logging commands
run: |
Expand Down
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@

/src/setup.cfg
/src/requirements.txt
/src/Pipfile
/src/Pipfile.lock
/Pipfile
/Pipfile.lock

# Various editors
*~
Expand Down
2 changes: 1 addition & 1 deletion .upstream.d/20-github.com-sagemath-sage-releases
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Upstream packages as uploaded as GitHub release assets.
# This file is automatically updated by the sage-update-version script.
https://github.com/sagemath/sage/releases/download/10.6/
https://github.com/sagemath/sage/releases/download/10.5/
https://github.com/sagemath/sage/releases/download/10.4/
https://github.com/sagemath/sage/releases/download/10.3/
84 changes: 82 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,90 @@
],
"python.testing.unittestEnabled": false,
"cSpell.words": [
"furo",
"adic",
"arccos",
"arccosh",
"arcsin",
"arcsinh",
"arctan",
"arctanh",
"Bejger",
"bigcup",
"cachefunc",
"charpoly",
"classmethod",
"clopen",
"codim",
"codomain",
"coframe",
"coframes",
"Conda",
"cputime",
"cysignals",
"Cython",
"d'Alembertian",
"dalembertian",
"disp",
"doctest",
"doctests",
"emptyset",
"figsize",
"Florentin",
"fontsize",
"forall",
"furo",
"Gourgoulhon",
"grayskull",
"groebner",
"homeomorphic",
"homset",
"homsets",
"hypersurfaces",
"infty",
"Jaffredo",
"Katsura",
"Koeppe",
"longmapsto",
"longrightarrow",
"mapsto",
"mathbb",
"mathrm",
"Michal",
"micjung",
"Minkowski",
"Möbius",
"mpfr",
"nabla",
"Nullspace",
"padics",
"pari",
"prandom",
"Pynac",
"rightarrow",
"sagemath",
"Cython"
"scalarfield",
"SEEALSO",
"setminus",
"smithform",
"subchart",
"subcharts",
"subframe",
"subframes",
"subobjects",
"subring",
"superchart",
"supercharts",
"supersets",
"sympy",
"tensorfield",
"trigsimp",
"varphi",
"vbundle",
"vecmat",
"vectorfield",
"walltime",
"zmax",
"zmin"
],
"editor.formatOnType": true,
"esbonio.sphinx.confDir": ""
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ title: SageMath
abstract: SageMath is a free open-source mathematics software system.
authors:
- name: "The SageMath Developers"
version: 10.5.rc1
version: 10.6.beta0
doi: 10.5281/zenodo.8042260
date-released: 2024-11-23
date-released: 2024-12-08
repository-code: "https://github.com/sagemath/sage"
url: "https://www.sagemath.org/"
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ bootstrap-clean:
rm -f src/doc/en/installation/*.txt
find src/doc/en/reference/spkg -name index.rst -prune -o -maxdepth 1 -name "*.rst" -exec rm -f {} \+
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
rm -f src/Pipfile
rm -f src/requirements.txt
rm -f src/setup.cfg
rm -f build/pkgs/cypari/version_requirements.txt
Expand Down
40 changes: 0 additions & 40 deletions Pipfile.m4

This file was deleted.

2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SageMath version 10.5.rc1, Release Date: 2024-11-23
SageMath version 10.6.beta0, Release Date: 2024-12-08
1 change: 0 additions & 1 deletion bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ save () {
src/doc/en/installation/*.txt \
$(find src/doc/en/reference/spkg -name index.rst -prune -o -maxdepth 1 -name "*.rst" -print) \
environment-3.[89].yml environment-3.1[0-9].yml \
src/Pipfile \
src/pyproject.toml \
src/requirements.txt \
src/setup.cfg \
Expand Down
4 changes: 2 additions & 2 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tarball=configure-VERSION.tar.gz
sha1=4b08e1c0e6b812bfbade59ef7c751619d8e44f81
sha256=9ae6ed35a2391f1af02ed2c7b855670d3db0bb421a69064a2c907b4f3a584eb4
sha1=ca942ace2e5104f3ae9e57946c8228b0bdb580c5
sha256=99c0a76943170a85d2eb868d72dd673c6b0df529d99b808458bdb3b285dec8fe
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
95eb9b8c8642831f849b5fec82a0b545a95e9ca6
d129e08e85a0c6530fa140dfc04c86ac0b74e05e
67 changes: 0 additions & 67 deletions build/pkgs/ecm/patches/assembler.patch

This file was deleted.

4 changes: 2 additions & 2 deletions build/pkgs/libbraiding/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=libbraiding-VERSION-actually-VERSION.tar.gz
sha1=b7e13778784fe1e36e7c0cbd7a4c234a090cd1b2
sha256=73087d1145ace719eafeda1db1c28b5fe1c981b7e784dc59f2b1d6fc4ff75f80
sha1=8c22d5d396e2c4d2dd032172589042933b651108
sha256=d1738c3ad64a90ca0ad968d2e3c9069b0de08abcf37fb44a151a229d88203950
upstream_url=https://github.com/miguelmarco/libbraiding/releases/download/VERSION/libbraiding-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/libbraiding/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2
1.3.1
Loading

0 comments on commit 2f1eafb

Please sign in to comment.