Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
a859ac2
src/sage/misc/latex.py: fix view()
orlitzky Oct 24, 2023
5251c2f
sage-env: identify the version of command-line tools (OS X)
jhpalmieri Oct 30, 2023
9fd89da
.github/workflows: Replace always() by (success() || failure()), exce…
mkoeppe Oct 31, 2023
097e704
Merge branch 'develop' into identify-clt-version
jhpalmieri Nov 1, 2023
2341fb4
Set LDFLAGS depending on version of OS X command-line tools
jhpalmieri Nov 2, 2023
0d47115
tox.ini (centos-7): Download mirror_list using http, not https
mkoeppe Oct 25, 2023
5f29842
.github/workflows/docker.yml: Remove gentoo-python3.12 for now
mkoeppe Oct 25, 2023
fc7427d
tox.ini (centos-7): Download mirror_list using http, not https (fixup)
mkoeppe Oct 25, 2023
d862f7c
build/pkgs/_python3.*/distros/conda.txt: New
mkoeppe Nov 2, 2023
1d2231b
CI Linux: Switch conda-forge to conda-forge-python3.11
mkoeppe Nov 2, 2023
0eaed3c
.github/workflows/macos.yml: Use xcode_13.2.1 with macOS 11 so that h…
mkoeppe Nov 4, 2023
166eb13
.github/workflows/ci-macos.yml (dist): Fix use of 'git describe'
mkoeppe Nov 4, 2023
543cd2d
Check whether command-line tools includes the executable ld-classic,
jhpalmieri Nov 4, 2023
eff3be5
Check sagemath/sage also on publish-live-doc job
kwankyu Nov 5, 2023
9ce90a0
Soothe linter
kwankyu Nov 5, 2023
6c0e583
Merge branch 'ci_docbuild_pdf_no_html' into ci_reduce_always
mkoeppe Nov 5, 2023
fb22d1c
src/sage/misc/sageinspect.py: Fix pycodestyle complaint
mkoeppe Nov 5, 2023
7dabb0a
build/pkgs/prompt_toolkit/distros/conda.txt: Use version range as in …
mkoeppe Nov 5, 2023
8e26e8e
.github/workflows/ci-linux.yml: Fine-tune max-parallel for constructi…
mkoeppe Nov 5, 2023
c15418d
Continue on error of building live doc
kwankyu Nov 6, 2023
f56cd83
build/pkgs/pyzmq: Update to 25.1.1
mkoeppe Nov 6, 2023
c1faab9
Remove code distorting worktree
kwankyu Nov 6, 2023
e18ac9f
build/pkgs/zeromq: Update to 4.3.5
mkoeppe Nov 6, 2023
ebd4db3
build/pkgs/zeromq/patches/438d5d88392baffa6c2c5e0737d9de19d6686f0d.pa…
mkoeppe Nov 6, 2023
c4d3fd7
Adding continue-on-error may disrupt doc-publish
kwankyu Nov 6, 2023
2a5293c
build/pkgs/pyzmq: Patch out broken rpath and version detection
mkoeppe Nov 6, 2023
3366456
Remove .git for sure
kwankyu Nov 6, 2023
9c8f3b6
.github/workflows/docker.yml: Set DOCKER_TAG from pre-merge commit sh…
mkoeppe Nov 6, 2023
08cdb22
build/pkgs/openblas: Stop openblas from using explicit 'make -j'
mkoeppe Nov 6, 2023
91a4e06
build/pkgs/openblas/spkg-install.in: Put MAKE_NB_JOBS in OPENBLAS_CON…
mkoeppe Nov 7, 2023
33ea789
pkgs/sage-conf_pypi/setup.py: Replace DistutilsSetupError
mkoeppe Oct 24, 2023
7a05c36
pkgs/sage-conf_pypi: Add missing .upstream.d to sage_root
mkoeppe Oct 24, 2023
28df32f
pkgs/sage-conf_pypi/tox.ini: Pass HOMEBREW env var
mkoeppe Oct 24, 2023
5ce616b
pkgs/sage-conf_pypi/setup.py: Fix invocation of .homebrew-build-env
mkoeppe Oct 25, 2023
2632428
pkgs/sage-conf_pypi/setup.py: Accept environment variable SAGE_CONF_T…
mkoeppe Oct 25, 2023
cf8f826
pkgs/sage-conf_pypi/tox.ini: Add environment 'python-user'
mkoeppe Oct 25, 2023
3c31ee6
pkgs/sage-conf_pypi/tox.ini: Test more
mkoeppe Oct 25, 2023
19d1ea7
pkgs/sage-conf/setup.cfg: Add python_requires
mkoeppe Nov 7, 2023
d2f56d2
build/pkgs/openblas/spkg-install.in: Work around hang with GNU make 3…
mkoeppe Nov 7, 2023
6d1a957
build/pkgs/openblas/spkg-install.in: Build targets libs, netlib, shar…
mkoeppe Nov 7, 2023
0df3400
pkgs/sage-conf_pypi/tox.ini: Declare python versions to test, declare…
mkoeppe Nov 7, 2023
11a8d35
pkgs/sage-conf/.gitignore: Remove setup.cfg from here
mkoeppe Nov 8, 2023
6274cdc
Revert "pkgs/sage-conf/setup.cfg: Add python_requires"
mkoeppe Nov 8, 2023
b7d3401
Nov 9, 2023
31a1ae5
Nov 9, 2023
8898473
Nov 9, 2023
07ea7e1
Nov 9, 2023
9d2750c
Nov 9, 2023
a88fe91
Nov 9, 2023
781dbff
Nov 9, 2023
7cad4fc
Nov 9, 2023
dfde868
Nov 9, 2023
81bf4e5
gh-36668: CI Linux: Fix "optional", "experimental" jobs
Nov 9, 2023
e349b00
Updated SageMath version to 10.2.rc1
Nov 10, 2023
429555a
Updated SageMath version to 10.2.rc1
Nov 10, 2023
5a755e9
Fix ssl timeout in testing internet feature
tornaria Nov 10, 2023
70036fb
shift the upper bound for implemented matrices to 1200
dimpase Nov 6, 2023
780c302
add a reference to arxiv preprint Cati & Pasechnik
dimpase Nov 6, 2023
93e9873
refer to [CP2023]
dimpase Nov 6, 2023
fad25bb
tox.ini (conda-python{3.9,3.10,3.11,3.12}): Reorder so that the _pyth…
mkoeppe Nov 11, 2023
df0ca5b
build/pkgs/_python{3.9,3.10,3.11,3.12}/distros/conda.txt: Use = inste…
mkoeppe Nov 11, 2023
ddc6a46
src/sage/combinat/root_system/coxeter_group.py: Fix typo in lazy_import
mkoeppe Nov 11, 2023
4a70c1e
Exclude external software from --hide=all and --hide=optional
tornaria Nov 10, 2023
bb7cf9b
Nov 12, 2023
405e166
Nov 12, 2023
a0872be
Nov 12, 2023
883e05f
gh-36698: src/sage/combinat/root_system/coxeter_group.py: Fix typo in…
Nov 12, 2023
84fb6da
Fix pdf doc build
kwankyu Nov 12, 2023
907276a
Revert live doc - no pdfs
kwankyu Nov 12, 2023
8912679
Revive pdf docs index page
kwankyu Nov 12, 2023
dc2f4fe
Make pdf links tidy
kwankyu Nov 12, 2023
4430e4c
Updated SageMath version to 10.2.rc2
Nov 12, 2023
df67f19
build/pkgs/nauty: Handle SAGE_FAT_BINARY
mkoeppe Nov 11, 2023
025a16c
build/pkgs/database_{cubic_hecke,knotinfo}/dependencies_check: Add Py…
mkoeppe Nov 12, 2023
97e9c6c
.github/workflows/ci-linux.yml ({optional,experimental}-0-o): Exclude…
mkoeppe Nov 12, 2023
c0aa13e
build/pkgs/mathics/dependencies_check: Add Python packages declared a…
mkoeppe Nov 12, 2023
9a82e56
build/make/install [GITHUB_ACTIONS]: Fold away environment variables
mkoeppe Nov 12, 2023
afb9964
Merge branch 'develop' into fix-doc-build
kwankyu Nov 12, 2023
9e10fe6
.github/workflows/ci-macos.yml: Build following stages even when some…
mkoeppe Nov 12, 2023
4680d85
.github/workflows/macos.yml: Replace homebrew-macos-11-xcode_13.2.1-s…
mkoeppe Nov 13, 2023
a933ae2
.github/workflows/macos.yml (conda-forge-macos-maximal): Remove, to a…
mkoeppe Nov 13, 2023
6ab6d84
build/pkgs/_prereq/distros/opensuse.txt: Add gawk
mkoeppe Nov 13, 2023
7df3b63
.github/workflows/docker.yml: Interrupt the build before it gets canc…
mkoeppe Nov 11, 2023
9953321
Nov 13, 2023
606c816
Nov 13, 2023
613775f
Nov 13, 2023
4d2dd49
Nov 13, 2023
82a3102
Nov 13, 2023
dccb412
Nov 13, 2023
7f6a2a7
Nov 13, 2023
705a0ee
gh-36711: CI macOS: Build following stages even when some job failed;…
Nov 13, 2023
fa5c939
Updated SageMath version to 10.2.rc3
Nov 14, 2023
6ad11d5
build/pkgs/openblas: Update to 0.3.25
mkoeppe Nov 15, 2023
1f572f8
.github/workflows/macos.yml: Fix syntax
mkoeppe Nov 15, 2023
69e7053
Nov 16, 2023
3767a26
Nov 16, 2023
95ed1d0
Nov 16, 2023
dcd23be
gh-36723: .github/workflows/macos.yml: Fix syntax
Nov 16, 2023
f10820f
Updated SageMath version to 10.2.rc4
Nov 17, 2023
d328913
Readd init files
tobiasdiez Nov 24, 2023
817c49c
Fix tests
tobiasdiez Nov 24, 2023
b5ffbe6
Fix linter
tobiasdiez Nov 24, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ jobs:
SAGE_NUM_THREADS: 2

- name: Build modularized distributions
if: always() && steps.worktree.outcome == 'success'
if: (success() || failure()) && steps.worktree.outcome == 'success'
run: make V=0 tox && make SAGE_CHECK=no pypi-wheels
working-directory: ./worktree-image
env:
MAKE: make -j2 --output-sync=recurse
SAGE_NUM_THREADS: 2

- name: Static code check with pyright
if: always() && steps.worktree.outcome == 'success'
if: (success() || failure()) && steps.worktree.outcome == 'success'
uses: jakebailey/pyright-action@v1
with:
version: 1.1.332
Expand All @@ -116,7 +116,7 @@ jobs:
NODE_OPTIONS: --max-old-space-size=8192

- name: Static code check with pyright (annotated)
if: always() && steps.worktree.outcome == 'success'
if: (success() || failure()) && steps.worktree.outcome == 'success'
uses: jakebailey/pyright-action@v1
with:
version: 1.1.332
Expand All @@ -130,7 +130,7 @@ jobs:

- name: Clean (fallback to non-incremental)
id: clean
if: always() && steps.worktree.outcome == 'success' && steps.incremental.outcome != 'success'
if: (success() || failure()) && steps.worktree.outcome == 'success' && steps.incremental.outcome != 'success'
run: |
set -ex
./bootstrap && make doc-clean doc-uninstall sagelib-clean && git clean -fx src/sage && ./config.status
Expand All @@ -143,7 +143,7 @@ jobs:
# This step is needed because building the modularized distributions installs some optional packages,
# so the editable install of sagelib needs to build the corresponding optional extension modules.
id: build
if: always() && (steps.incremental.outcome == 'success' || steps.clean.outcome == 'success')
if: (success() || failure()) && (steps.incremental.outcome == 'success' || steps.clean.outcome == 'success')
run: |
make build
working-directory: ./worktree-image
Expand All @@ -154,7 +154,7 @@ jobs:
# Testing

- name: Test changed files (sage -t --new)
if: always() && steps.build.outcome == 'success'
if: (success() || failure()) && steps.build.outcome == 'success'
run: |
# We run tests with "sage -t --new"; this only tests the uncommitted changes.
./sage -t --new -p2
Expand All @@ -164,7 +164,7 @@ jobs:
SAGE_NUM_THREADS: 2

- name: Test modularized distributions
if: always() && steps.build.outcome == 'success'
if: (success() || failure()) && steps.build.outcome == 'success'
run: make V=0 tox && make pypi-wheels-check
working-directory: ./worktree-image
env:
Expand All @@ -182,14 +182,14 @@ jobs:
COLUMNS: 120

- name: Test all files (sage -t --all --long)
if: always() && steps.build.outcome == 'success'
if: (success() || failure()) && steps.build.outcome == 'success'
run: |
../sage -python -m pip install coverage
../sage -python -m coverage run ./bin/sage-runtests --all --long -p2 --random-seed=286735480429121101562228604801325644303
working-directory: ./worktree-image/src

- name: Prepare coverage results
if: always() && steps.build.outcome == 'success'
if: (success() || failure()) && steps.build.outcome == 'success'
run: |
./venv/bin/python3 -m coverage combine src/.coverage/
./venv/bin/python3 -m coverage xml
Expand All @@ -198,7 +198,7 @@ jobs:
working-directory: ./worktree-image

- name: Upload coverage to codecov
if: always() && steps.build.outcome == 'success'
if: (success() || failure()) && steps.build.outcome == 'success'
uses: codecov/codecov-action@v3
with:
directory: ./worktree-image/coverage-report
18 changes: 11 additions & 7 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ jobs:
tox_packages_factors: >-
["standard"]
docker_push_repository: ghcr.io/${{ github.repository }}/
# Reduce from 30 to 25 because it runs in parallel with 'standard-sitepackages' below
max_parallel: 25
# Reduce from 30 to 20 because it runs in parallel with 'standard-sitepackages'
# and 'minimal-pre' below
max_parallel: 20

standard-sitepackages:
if: ${{ success() || failure() }}
Expand Down Expand Up @@ -135,7 +136,7 @@ jobs:
"opensuse-tumbleweed",
"debian-bullseye-i386"]
docker_push_repository: ghcr.io/${{ github.repository }}/
max_parallel: 10
max_parallel: 8

minimal-pre:
if: ${{ success() || failure() }}
Expand All @@ -148,9 +149,9 @@ jobs:
tox_packages_factors: >-
["minimal"]
docker_push_repository: ghcr.io/${{ github.repository }}/
# Reduced from 30 because it may run in parallel with 'standard-sitepackages' above.
# Reduced from 30 because it may run in parallel with 'standard' and 'standard-sitepackages' above.
# Calibrated for clogging the job pipeline until the "default" job has finished.
max_parallel: 20
max_parallel: 24

minimal:
if: ${{ success() || failure() }}
Expand All @@ -169,6 +170,7 @@ jobs:
tox_packages_factors: >-
["minimal"]
docker_push_repository: ghcr.io/${{ github.repository }}/
max_parallel: 24

maximal-pre:
if: ${{ success() || failure() }}
Expand Down Expand Up @@ -196,7 +198,8 @@ jobs:
tox_packages_factors: >-
["maximal"]
docker_targets: "with-targets-optional"
targets_optional: '$(echo $(export PATH=build/bin:$PATH && sage-package list :optional: --has-file "spkg-install.in|spkg-install|requirements.txt" --no-file "huge|has_nonfree_dependencies" | grep -v sagemath_doc | grep ^[0-o]))'
# [0-9a-o] excludes _, in particular package _develop
targets_optional: '$(echo $(export PATH=build/bin:$PATH && sage-package list :optional: --has-file "spkg-install.in|spkg-install|requirements.txt" --no-file "huge|has_nonfree_dependencies" | grep -v sagemath_doc | grep ^[0-9a-o]))'


optional-p-z:
Expand All @@ -211,6 +214,7 @@ jobs:
tox_packages_factors: >-
["maximal"]
docker_targets: "with-targets-optional"
# [0-9a-o] excludes _, in particular package _develop
targets_optional: '$(echo $(export PATH=build/bin:$PATH && sage-package list :optional: --has-file "spkg-install.in|spkg-install|requirements.txt" --no-file "huge|has_nonfree_dependencies" | grep -v sagemath_doc | grep ^[p-z]))'

experimental-0-o:
Expand All @@ -225,7 +229,7 @@ jobs:
tox_packages_factors: >-
["maximal"]
docker_targets: "with-targets-optional"
targets_optional: '$(echo $(export PATH=build/bin:$PATH && sage-package list :experimental: --has-file "spkg-install.in|spkg-install|requirements.txt" --no-file "huge|has_nonfree_dependencies" | grep -v sagemath_doc | grep ^[0-o]))'
targets_optional: '$(echo $(export PATH=build/bin:$PATH && sage-package list :experimental: --has-file "spkg-install.in|spkg-install|requirements.txt" --no-file "huge|has_nonfree_dependencies" | grep -v sagemath_doc | grep ^[0-9a-o]))'

experimental-p-z:
if: ${{ success() || failure() }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,30 +40,35 @@ jobs:
with:
stage: "2"
needs: [stage-1]
if: ${{ success() || failure() }}

stage-2-optional-0-o:
uses: ./.github/workflows/macos.yml
with:
stage: "2-optional-0-o"
needs: [stage-2]
if: ${{ success() || failure() }}

stage-2-optional-p-z:
uses: ./.github/workflows/macos.yml
with:
stage: "2-optional-p-z"
needs: [stage-2-optional-0-o]
if: ${{ success() || failure() }}

stage-2-experimental-0-o:
uses: ./.github/workflows/macos.yml
with:
stage: "2-optional-0-o"
needs: [stage-2-optional-p-z]
if: ${{ success() || failure() }}

stage-2-experimental-p-z:
uses: ./.github/workflows/macos.yml
with:
stage: "2-experimental-p-z"
needs: [stage-2-experimental-0-o]
if: ${{ success() || failure() }}

dist:

Expand All @@ -85,7 +90,7 @@ jobs:
run: |
git config --global user.email "nobody@example.com"
git config --global user.name "Sage GitHub CI"
SAGE_ROOT=. SAGE_SRC=./src src/bin/sage-update-version $(git describe) || echo "(ignoring error)"
SAGE_ROOT=. SAGE_SRC=./src src/bin/sage-update-version $(git describe --tags) || echo "(ignoring error)"
- name: make dist
run: |
./configure --enable-download-from-upstream-url && make dist
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/doc-build-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:

- name: Build (fallback to non-incremental)
id: build
if: always() && steps.worktree.outcome == 'success' && steps.incremental.outcome != 'success'
if: (success() || failure()) && steps.worktree.outcome == 'success' && steps.incremental.outcome != 'success'
run: |
set -ex
make sagelib-clean && git clean -fx src/sage && ./config.status && make build
Expand All @@ -103,7 +103,7 @@ jobs:

- name: Build docs (PDF)
id: docbuild
if: always() && (steps.incremental.outcome == 'success' || steps.build.outcome == 'success')
if: (success() || failure()) && (steps.incremental.outcome == 'success' || steps.build.outcome == 'success')
run: |
make doc-clean doc-uninstall; make sagemath_doc_html-build-deps sagemath_doc_pdf-no-deps
working-directory: ./worktree-image
Expand All @@ -113,7 +113,7 @@ jobs:

- name: Copy docs
id: copy
if: always() && steps.docbuild.outcome == 'success'
if: (success() || failure()) && steps.docbuild.outcome == 'success'
run: |
# For some reason the deploy step below cannot find /sage/...
# So copy everything from there to local folder
Expand All @@ -123,7 +123,7 @@ jobs:
zip -r docs-pdf.zip docs

- name: Upload docs
if: always() && steps.copy.outcome == 'success'
if: (success() || failure()) && steps.copy.outcome == 'success'
uses: actions/upload-artifact@v3
with:
name: docs-pdf
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:

- name: Build (fallback to non-incremental)
id: build
if: always() && steps.worktree.outcome == 'success' && steps.incremental.outcome != 'success'
if: (success() || failure()) && steps.worktree.outcome == 'success' && steps.incremental.outcome != 'success'
run: |
set -ex
make sagelib-clean && git clean -fx src/sage && ./config.status && make sagemath_doc_html-build-deps
Expand All @@ -110,7 +110,7 @@ jobs:

- name: Build docs
id: docbuild
if: always() && (steps.incremental.outcome == 'success' || steps.build.outcome == 'success')
if: (success() || failure()) && (steps.incremental.outcome == 'success' || steps.build.outcome == 'success')
# Always non-incremental because of the concern that
# incremental docbuild may introduce broken links (inter-file references) though build succeeds
run: |
Expand All @@ -127,7 +127,7 @@ jobs:

- name: Copy docs
id: copy
if: always() && steps.docbuild.outcome == 'success'
if: (success() || failure()) && steps.docbuild.outcome == 'success'
run: |
set -ex
mkdir -p ./docs
Expand Down Expand Up @@ -182,7 +182,6 @@ jobs:
echo '</body>' >> ./docs/CHANGES.html
echo '</html>' >>./docs/CHANGES.html
rm ./docs/diff.txt ./docs/diff.html
(cd /sage/local/share/doc/sage/html && git reset --hard HEAD)
# For some reason the deploy step below cannot find /sage/...
# So copy everything from there to local folder
# We also need to replace the symlinks because netlify is not following them
Expand All @@ -192,7 +191,7 @@ jobs:
zip -r docs.zip docs

- name: Upload docs
if: always() && steps.copy.outcome == 'success'
if: (success() || failure()) && steps.copy.outcome == 'success'
uses: actions/upload-artifact@v3
with:
name: docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:

publish-live-doc:
runs-on: ubuntu-latest
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'develop'
if: github.event.workflow_run.conclusion == 'success' && github.repository == 'sagemath/sage' && github.event.workflow_run.head_branch == 'develop'
steps:
- name: Download live doc
uses: actions/github-script@v6.4.1
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,13 @@ on:
"almalinux-9-python3.11",
"gentoo-python3.10",
"gentoo-python3.11",
"gentoo-python3.12",
"archlinux-latest",
"opensuse-15.3-gcc_11-python3.9",
"opensuse-15.4-gcc_11-python3.10",
"opensuse-15.5-gcc_11-python3.11",
"opensuse-tumbleweed-python3.10",
"opensuse-tumbleweed",
"conda-forge",
"conda-forge-python3.11",
"ubuntu-bionic-gcc_8-i386",
"debian-bullseye-i386",
]
Expand All @@ -79,6 +78,10 @@ on:
free_disk_space:
default: false
type: boolean
timeout:
description: 'Elapsed time (seconds) at which to kill the build'
default: 20000
type: number
#
# Publishing to GitHub Packages
#
Expand Down Expand Up @@ -191,6 +194,9 @@ jobs:
echo "DOCKER_PUSH_REPOSITORY=$(echo ${{ inputs.docker_push_repository }} | tr "[:upper:]" "[:lower:]")" >> $GITHUB_ENV
echo "DOCKER_CONFIG_FILE=$HOME/.docker/config.json" >> $GITHUB_ENV
fi

- name: Determine Docker tags to use
run: |
# This line needs to be run before the step "Merge CI fixes from sagemath/sage".
DOCKER_TAG="$(git describe --dirty --always)"
echo "DOCKER_TAG=$DOCKER_TAG" >> $GITHUB_ENV
Expand Down Expand Up @@ -222,6 +228,7 @@ jobs:
if: inputs.free_disk_space
- name: Configure and build Sage distribution within a Docker container
run: |
(sleep ${{ inputs.timeout }}; for id in $(docker ps -q); do docker exec $id pkill make; done) &
set -o pipefail; EXTRA_DOCKER_BUILD_ARGS="--build-arg NUMPROC=4 --build-arg USE_MAKEFLAGS=\"-k V=0 SAGE_NUM_THREADS=3\"" tox -e $TOX_ENV -- $TARGETS 2>&1 | sed "/^configure: notice:/s|^|::warning file=artifacts/$LOGS_ARTIFACT_NAME/config.log::|;/^configure: warning:/s|^|::warning file=artifacts/$LOGS_ARTIFACT_NAME/config.log::|;/^configure: error:/s|^|::error file=artifacts/$LOGS_ARTIFACT_NAME/config.log::|;"
- name: Copy logs from the Docker image or build container
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:
run: pip install tox

- name: Code style check with pycodestyle
if: always() && steps.deps.outcome == 'success'
if: (success() || failure()) && steps.deps.outcome == 'success'
run: tox -e pycodestyle-minimal

- name: Code style check with relint
if: always() && steps.deps.outcome == 'success'
if: (success() || failure()) && steps.deps.outcome == 'success'
run: tox -e relint -- src/sage/

- name: Validate docstring markup as RST
if: always() && steps.deps.outcome == 'success'
if: (success() || failure()) && steps.deps.outcome == 'success'
run: tox -e rst
19 changes: 9 additions & 10 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,15 @@ on:
osversion_xcodeversion_toxenv_tuples:
description: 'Stringified JSON object'
default: >-
[["latest", "", "homebrew-macos-usrlocal-minimal"],
["latest", "", "homebrew-macos-usrlocal-standard"],
["11", "xcode_11.7", "homebrew-macos-usrlocal-standard"],
["12", "", "homebrew-macos-usrlocal-standard"],
["13", "xcode_15.0", "homebrew-macos-usrlocal-standard"],
["latest", "", "homebrew-macos-usrlocal-maximal"],
["latest", "", "homebrew-macos-usrlocal-python3_xcode-standard"],
["latest", "", "conda-forge-macos-minimal"],
["latest", "", "conda-forge-macos-standard"],
["latest", "", "conda-forge-macos-maximal"]]
[["latest", "", "homebrew-macos-usrlocal-minimal"],
["latest", "", "homebrew-macos-usrlocal-standard"],
["11", "xcode_13.2.1", "homebrew-macos-usrlocal-minimal"],
["12", "", "homebrew-macos-usrlocal-standard"],
["13", "xcode_15.0", "homebrew-macos-usrlocal-standard"],
["latest", "", "homebrew-macos-usrlocal-maximal"],
["latest", "", "homebrew-macos-usrlocal-python3_xcode-standard"],
["latest", "", "conda-forge-macos-minimal"],
["latest", "", "conda-forge-macos-standard"]]
type: string
extra_sage_packages:
description: 'Extra Sage packages to install as system packages'
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.2.rc0
version: 10.2.rc4
doi: 10.5281/zenodo.593563
date-released: 2023-11-05
date-released: 2023-11-17
repository-code: "https://github.com/sagemath/sage"
url: "https://www.sagemath.org/"
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SageMath version 10.2.rc0, Release Date: 2023-11-05
SageMath version 10.2.rc4, Release Date: 2023-11-17
Loading