Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into python-313-locals-2
Browse files Browse the repository at this point in the history
  • Loading branch information
user202729 committed Jan 5, 2025
2 parents 8eb844c + 1be0a58 commit f3208ef
Show file tree
Hide file tree
Showing 279 changed files with 4,181 additions and 4,085 deletions.
3 changes: 1 addition & 2 deletions .devcontainer/onCreate-conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ mamba env create -y --file environment-3.11-linux.yml || mamba env update -y --f
conda init bash

# Build sage
conda run -n sage-dev ./bootstrap
conda run -n sage-dev pip install --no-build-isolation -v -v -e ./src
conda run -n sage-dev pip install --no-build-isolation -v -v -e .
14 changes: 13 additions & 1 deletion .github/workflows/ci-meson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,23 @@ jobs:
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
export CC="ccache $CC"
export CXX="ccache $CXX"
pip install --no-build-isolation --config-settings=builddir=builddir . -v
# Use --no-deps and pip check below to verify that all necessary dependencies are installed via conda
pip install --no-build-isolation --no-deps --config-settings=builddir=builddir . -v
- name: Verify dependencies
shell: bash -l {0}
run: pip check

- name: Test
shell: bash -l {0}
run: |
# We don't install sage_setup, so don't try to test it
rm -R ./src/sage_setup/
./sage -t --all -p4
- name: Upload log
uses: actions/[email protected]
if: failure()
with:
name: ${{ runner.os }}-meson-${{ matrix.python }}-log
path: builddir/meson-logs/
32 changes: 29 additions & 3 deletions .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,36 @@ jobs:
with:
name: dist
path: dist
- uses: softprops/action-gh-release@v2
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
latest_release_tag=$(curl -s https://api.github.com/repos/${{ github.repository }}/releases \
| jq -r 'sort_by(.created_at) | last(.[]).tag_name')
release_notes=$(curl -s \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ github.repository }}/releases/generate-notes \
-d "{
\"tag_name\": \"${{ github.ref_name }}\",
\"previous_tag_name\": \"$latest_release_tag\"
}" | jq -r '.body')
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ github.repository }}/releases \
-d "{
\"tag_name\": \"${{ github.ref_name }}\",
\"prerelease\": ${{ contains(github.ref, 'beta') || contains(github.ref, 'rc') }},
\"body\": \"$release_notes\"
}"
- name: Create release assets
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
prerelease: ${{ contains(github.ref, 'beta') || contains(github.ref, 'rc') }}
files: |
dist/*
upstream/*
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
/config.log
/config.status
/configure
/conftest*
/confdefs.h

/m4/sage_spkg_configures.m4
Expand Down
4 changes: 1 addition & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
},
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [
"--rootdir=src/sage",
"-c=src/tox.ini",
"--doctest-modules"
"--doctest"
],
"python.testing.unittestEnabled": false,
"cSpell.words": [
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.6.beta2
version: 10.6.beta3
doi: 10.5281/zenodo.8042260
date-released: 2024-12-22
date-released: 2025-01-04
repository-code: "https://github.com/sagemath/sage"
url: "https://www.sagemath.org/"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ information, patches, and build scripts are in the accompanying
part of the Sage git repository.

<p align="center">
Copyright (C) 2005-2024 The Sage Development Team
Copyright (C) 2005-2025 The Sage Development Team
</p>
<p align="center">
https://www.sagemath.org
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SageMath version 10.6.beta2, Release Date: 2024-12-22
SageMath version 10.6.beta3, Release Date: 2025-01-04
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=a03b8a505678cba0d652514d739bd32eb30bb925
sha256=6525b44fea6b9d0238ca4790e8be5168e8d08c350787704a59ada9b6075a1f0f
sha1=852d0d200a6a73aa5ddb9e00874cbe4a61c211e9
sha256=c4b089d90850dfdf15b905f66e4f6a0d961b96eb0663d8603beaff1a9efb2cbe
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
291e54bf234b1753909f22a043e91a4a639693c1
a2ba1f943f88775218c385efe55509c4548d1b44
54 changes: 0 additions & 54 deletions build/pkgs/libtheora/SPKG.rst

This file was deleted.

3 changes: 0 additions & 3 deletions build/pkgs/libtheora/checksums.ini

This file was deleted.

4 changes: 0 additions & 4 deletions build/pkgs/libtheora/dependencies

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/libtheora/distros/conda.txt

This file was deleted.

2 changes: 0 additions & 2 deletions build/pkgs/libtheora/distros/fedora.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/libtheora/distros/homebrew.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/libtheora/distros/macports.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/libtheora/distros/opensuse.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/libtheora/distros/repology.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/libtheora/distros/void.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/libtheora/package-version.txt

This file was deleted.

24 changes: 0 additions & 24 deletions build/pkgs/libtheora/spkg-install.in

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/libtheora/type

This file was deleted.

2 changes: 1 addition & 1 deletion build/pkgs/sage_conf/version_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file is updated on every release by the sage-update-version script
sage-conf ~= 10.6b2
sage-conf ~= 10.6b3
2 changes: 1 addition & 1 deletion build/pkgs/sage_docbuild/version_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file is updated on every release by the sage-update-version script
sage-docbuild ~= 10.6b2
sage-docbuild ~= 10.6b3
2 changes: 1 addition & 1 deletion build/pkgs/sage_setup/version_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file is updated on every release by the sage-update-version script
sage-setup ~= 10.6b2
sage-setup ~= 10.6b3
2 changes: 1 addition & 1 deletion build/pkgs/sage_sws2rst/version_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file is updated on every release by the sage-update-version script
sage-sws2rst ~= 10.6b2
sage-sws2rst ~= 10.6b3
2 changes: 1 addition & 1 deletion build/pkgs/sagelib/version_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file is updated on every release by the sage-update-version script
sagemath-standard ~= 10.6b2
sagemath-standard ~= 10.6b3
2 changes: 1 addition & 1 deletion build/pkgs/sagemath_bliss/version_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file is updated on every release by the sage-update-version script
sagemath-bliss ~= 10.6b2
sagemath-bliss ~= 10.6b3
2 changes: 1 addition & 1 deletion build/pkgs/sagemath_categories/version_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file is updated on every release by the sage-update-version script
sagemath-categories ~= 10.6b2
sagemath-categories ~= 10.6b3
2 changes: 1 addition & 1 deletion build/pkgs/sagemath_coxeter3/version_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file is updated on every release by the sage-update-version script
sagemath-coxeter3 ~= 10.6b2
sagemath-coxeter3 ~= 10.6b3
2 changes: 1 addition & 1 deletion build/pkgs/sagemath_doc_html/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sagelib sphinx sphinx_copybutton sphinx_inline_tabs pplpy_doc | $(SAGERUNTIME) maxima networkx scipy sympy matplotlib pillow mathjax mpmath ipykernel jupyter_client conway_polynomials tachyon ipywidgets sage_docbuild elliptic_curves furo fpylll graphs
sagelib sphinx sphinx_copybutton sphinx_inline_tabs pplpy_doc | $(SAGERUNTIME) maxima networkx scipy sympy matplotlib pillow mathjax mpmath ipykernel jupyter_client conway_polynomials tachyon ipywidgets sage_docbuild elliptic_curves furo fpylll graphs typing_extensions

# Building the documentation has many dependencies, because all
# documented modules are imported and because we use matplotlib to
Expand Down
2 changes: 1 addition & 1 deletion build/pkgs/sagemath_environment/version_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file is updated on every release by the sage-update-version script
sagemath-environment ~= 10.6b2
sagemath-environment ~= 10.6b3
2 changes: 1 addition & 1 deletion build/pkgs/sagemath_mcqd/version_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file is updated on every release by the sage-update-version script
sagemath-mcqd ~= 10.6b2
sagemath-mcqd ~= 10.6b3
2 changes: 1 addition & 1 deletion build/pkgs/sagemath_meataxe/version_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file is updated on every release by the sage-update-version script
sagemath-meataxe ~= 10.6b2
sagemath-meataxe ~= 10.6b3
2 changes: 1 addition & 1 deletion build/pkgs/sagemath_objects/version_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file is updated on every release by the sage-update-version script
sagemath-objects ~= 10.6b2
sagemath-objects ~= 10.6b3
2 changes: 1 addition & 1 deletion build/pkgs/sagemath_repl/version_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file is updated on every release by the sage-update-version script
sagemath-repl ~= 10.6b2
sagemath-repl ~= 10.6b3
2 changes: 1 addition & 1 deletion build/pkgs/sagemath_sirocco/version_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file is updated on every release by the sage-update-version script
sagemath-sirocco ~= 10.6b2
sagemath-sirocco ~= 10.6b3
2 changes: 1 addition & 1 deletion build/pkgs/sagemath_tdlib/version_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This file is updated on every release by the sage-update-version script
sagemath-tdlib ~= 10.6b2
sagemath-tdlib ~= 10.6b3
Loading

0 comments on commit f3208ef

Please sign in to comment.