Skip to content

Commit 1a9b002

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into remove-doctest-backslash-hack
2 parents 2d7d0c0 + 5188024 commit 1a9b002

File tree

248 files changed

+4270
-4108
lines changed

Some content is hidden

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

248 files changed

+4270
-4108
lines changed

.github/workflows/build.yml

+2-100
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ concurrency:
2929
#
3030
# The three workflows:
3131
#
32-
# - build.yml (with jobs test-new, test-mod, test-long),
32+
# - build.yml (with jobs test-new, test-long),
3333
# - doc-build.yml,
3434
# - doc-build-pdf.yml
3535
#
@@ -50,7 +50,7 @@ concurrency:
5050
# This baseline is transparently improved by our use of the GH Actions cache,
5151
# see https://docs.docker.com/build/ci/github-actions/cache/#cache-backend-api.
5252
#
53-
# Jobs test-mod and test-long are only started after test-new completed;
53+
# Jobs test-long is only started after test-new completed;
5454
# but the workflows doc-build.yml and doc-build-pdf.yml are started independently.
5555
#
5656
# - When nothing is cached and the 3 workflows are launched in parallel,
@@ -254,104 +254,6 @@ jobs:
254254
./sage -t --long --format github -p4 ${{ steps.changed-files.outputs.doctests_all_changed_files }}
255255
shell: sh .ci/docker-exec-script.sh BUILD /sage {0}
256256

257-
test-mod:
258-
runs-on: ubuntu-latest
259-
needs: [test-new]
260-
services:
261-
# https://docs.docker.com/build/ci/github-actions/local-registry/
262-
registry:
263-
image: registry:2
264-
ports:
265-
- 5000:5000
266-
strategy:
267-
fail-fast: false
268-
matrix:
269-
targets:
270-
- sagemath_categories-check
271-
steps:
272-
- name: Maximize build disk space
273-
uses: easimon/maximize-build-space@v10
274-
with:
275-
# need space in /var for Docker images
276-
root-reserve-mb: 30000
277-
remove-dotnet: true
278-
remove-android: true
279-
remove-haskell: true
280-
remove-codeql: true
281-
remove-docker-images: true
282-
283-
- name: Checkout
284-
id: checkout
285-
uses: actions/checkout@v4
286-
287-
- name: Install test prerequisites
288-
# From docker.yml
289-
run: |
290-
sudo DEBIAN_FRONTEND=noninteractive apt-get update
291-
sudo DEBIAN_FRONTEND=noninteractive apt-get install tox
292-
sudo apt-get clean
293-
df -h
294-
295-
- name: Merge CI fixes from sagemath/sage
296-
# From docker.yml
297-
# This step needs to happen after the commit sha is put in DOCKER_TAG
298-
# so that multi-stage builds can work correctly.
299-
run: |
300-
.ci/merge-fixes.sh
301-
env:
302-
GH_TOKEN: ${{ github.token }}
303-
304-
# Building
305-
306-
- name: Generate Dockerfile
307-
# From docker.yml
308-
run: |
309-
tox -e ${{ env.TOX_ENV }}
310-
cp .tox/${{ env.TOX_ENV }}/Dockerfile .
311-
env:
312-
# Only generate the Dockerfile, do not run 'docker build' here
313-
DOCKER_TARGETS: ""
314-
315-
- name: Set up Docker Buildx
316-
uses: docker/setup-buildx-action@v3
317-
with:
318-
driver-opts: network=host
319-
320-
- name: Build Docker image
321-
id: image
322-
uses: docker/build-push-action@v6
323-
with:
324-
push: true
325-
load: false
326-
context: .
327-
tags: ${{ env.BUILD_IMAGE }}
328-
target: with-targets
329-
cache-from: type=gha
330-
cache-to: type=gha,mode=max
331-
build-args: |
332-
NUMPROC=6
333-
USE_MAKEFLAGS=-k V=0 SAGE_NUM_THREADS=4 --output-sync=recurse
334-
TARGETS_PRE=build/make/Makefile
335-
TARGETS=${{ needs.test-new.outputs.build_targets }}
336-
337-
- name: Start container
338-
id: container
339-
if: (success() || failure())
340-
run: |
341-
docker run --name BUILD -dit \
342-
--mount type=bind,src=$(pwd),dst=$(pwd) \
343-
--workdir $(pwd) \
344-
${{ env.BUILD_IMAGE }} /bin/sh
345-
346-
# Testing
347-
348-
- name: Test modularized distributions
349-
if: (success() || failure()) && steps.container.outcome == 'success'
350-
run: |
351-
export MAKE="make -j2 --output-sync=recurse" SAGE_NUM_THREADS=4
352-
make V=0 tox-ensure && make ${{ matrix.targets }}
353-
shell: sh .ci/docker-exec-script.sh BUILD /sage {0}
354-
355257
test-long:
356258
runs-on: ubuntu-latest
357259
needs: [test-new]

.github/workflows/ci-conda.yml

+2-13
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,12 @@ jobs:
2626
# On pushes to tags or branches, test the whole matrix.
2727
os: >-
2828
${{ github.event_name == 'pull_request'
29-
&& fromJson('["ubuntu-latest"]')
29+
&& fromJson('["ubuntu-latest", "macos-latest"]')
3030
|| fromJson('["ubuntu-latest", "macos-latest", "macos-13"]') }}
31-
python: >-
32-
${{ github.event_name == 'pull_request'
33-
&& fromJson('["3.9"]')
34-
|| fromJson('["3.9", "3.10", "3.11"]') }}
31+
python: ['3.11', '3.12']
3532
# Optional environment is disabled for now as its not yet working
3633
# environment: [environment, environment-optional]
3734
conda-env: [environment]
38-
# On pull requests, only test two jobs:
39-
# Ubuntu with Python 3.9, macOS (arm64) with Python 3.11.
40-
# Build & Test currently uses Python 3.10 (on ubuntu-jammy).
41-
# Together, they cover the supported minor Python versions.
42-
include: >-
43-
${{ github.event_name == 'pull_request'
44-
&& fromJson('[{"os": "macos-latest", "python": "3.11", "conda-env": "environment"}]')
45-
|| fromJson('[]') }}
4635

4736
steps:
4837
- uses: actions/checkout@v4

.github/workflows/ci-meson.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
os: [ubuntu]
26-
python: ['3.9', '3.10', '3.11']
26+
python: ['3.11', '3.12']
2727

2828
steps:
2929
- uses: actions/checkout@v4

.github/workflows/dist.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ jobs:
135135
\"tag_name\": \"${{ github.ref_name }}\",
136136
\"previous_tag_name\": \"$latest_release_tag\"
137137
}" | jq -r '.body')
138+
# escape special characters for json
139+
release_notes=$(jq -R -s '.' <<< "$release_notes")
138140
curl -L \
139141
-X POST \
140142
-H "Accept: application/vnd.github+json" \
@@ -144,7 +146,7 @@ jobs:
144146
-d "{
145147
\"tag_name\": \"${{ github.ref_name }}\",
146148
\"prerelease\": ${{ contains(github.ref, 'beta') || contains(github.ref, 'rc') }},
147-
\"body\": \"$release_notes\"
149+
\"body\": $release_notes
148150
}"
149151
- name: Create release assets
150152
uses: softprops/action-gh-release@v2

.gitignore

+4-6
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,11 @@
2626
# no longer generated, but may still be in user worktrees
2727
/src/lib/pkgconfig
2828

29-
# Conda environment files
30-
# The files without Python version, with -dev or in src are no longer generated
31-
# but may still be in users' directories.
29+
# Conda environment files (auto-generated)
30+
/environment-3.[0-9].yml
31+
/environment-3.[0-9][0-9].yml
32+
# The following files are no longer generated but may still be in users' directories
3233
/environment.yml
33-
/environment-3.9.yml
34-
/environment-3.10.yml
35-
/environment-3.11.yml
3634
/environment-dev-3.9.yml
3735
/environment-dev-3.10.yml
3836
/environment-dev-3.11.yml

.vscode/settings.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,11 @@
108108
"zmin"
109109
],
110110
"editor.formatOnType": true,
111-
"esbonio.sphinx.confDir": ""
111+
"esbonio.sphinx.confDir": "",
112+
// Don't update the settings.json file with values inferred from Meson (we provide them manually)
113+
"mesonbuild.modifySettings": false,
114+
// Use the Meson build system for C/C++ files
115+
"C_Cpp.default.configurationProvider": "mesonbuild.mesonbuild",
116+
// Use the compile_commands.json file generated by Meson for IntelliSense
117+
"C_Cpp.default.compileCommands": "${workspaceFolder}/builddir/compile_commands.json"
112118
}

CITATION.cff

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

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ distclean: build-clean
173173
bootstrap-clean:
174174
rm -rf config/install-sh config/compile config/config.guess config/config.sub config/missing configure build/make/Makefile-auto.in
175175
rm -f src/doc/en/installation/*.txt
176-
find src/doc/en/reference/spkg -name index.rst -prune -o -maxdepth 1 -name "*.rst" -exec rm -f {} \+
176+
find src/doc/en/reference/spkg -maxdepth 1 -name index.rst -prune -o -name "*.rst" -exec rm -f {} \+
177177
for a in environment environment-optional src/environment src/environment-optional; do rm -f $$a.yml $$a-3.[89].yml $$a-3.1[0-9].yml; done
178178
rm -f src/requirements.txt
179179
rm -f src/setup.cfg

VERSION.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
SageMath version 10.6.beta3, Release Date: 2025-01-04
1+
SageMath version 10.6.beta4, Release Date: 2025-01-18

bootstrap

+2-2
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ save () {
224224
config/install-sh config/compile config/config.guess config/config.sub config/missing \
225225
build/make/Makefile-auto.in \
226226
src/doc/en/installation/*.txt \
227-
$(find src/doc/en/reference/spkg -name index.rst -prune -o -maxdepth 1 -name "*.rst" -print) \
228-
environment-3.[89]-*.yml environment-3.1[0-9]-*.yml \
227+
$(find src/doc/en/reference/spkg -maxdepth 1 -name index.rst -prune -o -name "*.rst" -print) \
228+
environment-3.1[0-9]-*.yml \
229229
src/pyproject.toml \
230230
src/requirements.txt \
231231
src/setup.cfg \

build/pkgs/configure/checksums.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
tarball=configure-VERSION.tar.gz
2-
sha1=852d0d200a6a73aa5ddb9e00874cbe4a61c211e9
3-
sha256=c4b089d90850dfdf15b905f66e4f6a0d961b96eb0663d8603beaff1a9efb2cbe
2+
sha1=f9c1bea6113a6a09430ee1f1aca16c75ed427d48
3+
sha256=c1e0826fb54dd60e78f19e6fcad0b0ef90b33e1771fbbc2165a54c9297a89557
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a2ba1f943f88775218c385efe55509c4548d1b44
1+
5eb37241946a9ef9130ce36eff7e4f135d980eaf
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
git+https://github.com/mkauers/ore_algebra@01c357f590685ff362c008229681ee08269457da#egg=ore_algebra
1+
ore_algebra @ git+https://github.com/mkauers/ore_algebra
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sage-conf ~= 10.6b3
2+
sage-conf ~= 10.6b4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sage-docbuild ~= 10.6b3
2+
sage-docbuild ~= 10.6b4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sage-setup ~= 10.6b3
2+
sage-setup ~= 10.6b4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sage-sws2rst ~= 10.6b3
2+
sage-sws2rst ~= 10.6b4
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sagemath-standard ~= 10.6b3
2+
sagemath-standard ~= 10.6b4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sagemath-bliss ~= 10.6b3
2+
sagemath-bliss ~= 10.6b4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sagemath-categories ~= 10.6b3
2+
sagemath-categories ~= 10.6b4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sagemath-coxeter3 ~= 10.6b3
2+
sagemath-coxeter3 ~= 10.6b4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sagemath-environment ~= 10.6b3
2+
sagemath-environment ~= 10.6b4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sagemath-mcqd ~= 10.6b3
2+
sagemath-mcqd ~= 10.6b4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sagemath-meataxe ~= 10.6b3
2+
sagemath-meataxe ~= 10.6b4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sagemath-objects ~= 10.6b3
2+
sagemath-objects ~= 10.6b4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sagemath-repl ~= 10.6b3
2+
sagemath-repl ~= 10.6b4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sagemath-sirocco ~= 10.6b3
2+
sagemath-sirocco ~= 10.6b4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sagemath-tdlib ~= 10.6b3
2+
sagemath-tdlib ~= 10.6b4

0 commit comments

Comments
 (0)