Skip to content

Commit e0cd6bb

Browse files
authored
Merge branch 'develop' into conda-py12
2 parents 555ca00 + acbe15d commit e0cd6bb

File tree

590 files changed

+9574
-529395
lines changed

Some content is hidden

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

590 files changed

+9574
-529395
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,26 @@
1-
<!-- ^^^^^
2-
Please provide a concise, informative and self-explanatory title.
3-
Don't put issue numbers in there, do this in the PR body below.
4-
For example, instead of "Fixes #1234" use "Introduce new method to calculate 1+1"
5-
-->
6-
<!-- Describe your changes here in detail -->
1+
<!-- ^ Please provide a concise and informative title. -->
2+
<!-- ^ Don't put issue numbers in the title, do this in the PR description below. -->
3+
<!-- ^ For example, instead of "Fixes #12345" use "Introduce new method to calculate 1 + 2". -->
4+
<!-- v Describe your changes below in detail. -->
5+
<!-- v Why is this change required? What problem does it solve? -->
6+
<!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes #12345". -->
7+
78

8-
<!-- Why is this change required? What problem does it solve? -->
9-
<!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". -->
10-
<!-- If your change requires a documentation PR, please link it appropriately. -->
119

1210
### :memo: Checklist
1311

1412
<!-- Put an `x` in all the boxes that apply. -->
15-
<!-- If your change requires a documentation PR, please link it appropriately -->
16-
<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
17-
<!-- Feel free to remove irrelevant items. -->
1813

19-
- [ ] The title is concise, informative, and self-explanatory.
14+
- [ ] The title is concise and informative.
2015
- [ ] The description explains in detail what this PR is about.
2116
- [ ] I have linked a relevant issue or discussion.
2217
- [ ] I have created tests covering the changes.
2318
- [ ] I have updated the documentation accordingly.
2419

2520
### :hourglass: Dependencies
2621

27-
<!-- List all open PRs that this PR logically depends on
28-
- #12345: short description why this is a dependency
29-
- #34567: ...
30-
-->
22+
<!-- List all open PRs that this PR logically depends on. For example, -->
23+
<!-- - #12345: short description why this is a dependency -->
24+
<!-- - #34567: ... -->
25+
3126

32-
<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

.github/workflows/ci-conda.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,20 @@ jobs:
2222

2323
strategy:
2424
matrix:
25-
os: [ubuntu, macos]
25+
# On pushes to tags or branches, test the whole matrix.
26+
os: >-
27+
${{ github.event_name == 'pull_request'
28+
&& fromJson('["ubuntu"]')
29+
|| fromJson('["ubuntu", "macos"]') }}
2630
python: ['3.10', '3.11', '3.12']
2731
# Optional environment is disabled for now as its not yet working
2832
# environment: [environment, environment-optional]
2933
conda-env: [environment]
34+
# On pull requests, only test one job on macos
35+
include: >-
36+
${{ github.event_name == 'pull_request'
37+
&& fromJson('[{"os": "macos", "python": "3.10", "conda-env": "environment"}]')
38+
|| fromJson('[]') }}
3039
3140
steps:
3241
- uses: actions/checkout@v4

.github/workflows/ci-linux-incremental.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ name: CI Linux incremental
1717

1818
on:
1919
pull_request:
20-
types:
21-
# Defaults
22-
- opened
23-
- synchronize
24-
- reopened
25-
# When a CI label is added
26-
- labeled
2720
paths:
2821
- 'build/pkgs/**'
2922
- 'pkgs/**'
@@ -49,7 +42,7 @@ jobs:
4942
- uses: actions/checkout@v4
5043
- name: Get all packages that have changed
5144
id: changed-packages
52-
uses: tj-actions/changed-files@v41
45+
uses: tj-actions/changed-files@v42
5346
with:
5447
files_yaml: |
5548
configures:
@@ -81,14 +74,6 @@ jobs:
8174
8275
test:
8376
needs: [changed_files]
84-
if: |
85-
github.event_name != 'pull_request' ||
86-
((github.event.action != 'labeled' &&
87-
(contains(github.event.pull_request.labels.*.name, 'c: packages: standard') ||
88-
contains(github.event.pull_request.labels.*.name, 'c: packages: optional'))) ||
89-
(github.event.action == 'labeled' &&
90-
(github.event.label.name == 'c: packages: optional' ||
91-
github.event.label.name == 'c: packages: standard')))
9277
uses: ./.github/workflows/docker.yml
9378
with:
9479
# Build incrementally from published Docker image
@@ -139,7 +124,7 @@ jobs:
139124
# with only a small number of test failures as of 10.2.rc0
140125
tox_system_factors: >-
141126
["gentoo-python3.11",
142-
"archlinux"]
127+
"archlinux-latest"]
143128
tox_packages_factors: >-
144129
["standard-sitepackages"]
145130
docker_push_repository: ghcr.io/${{ github.repository }}/

.github/workflows/docker.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,16 @@ jobs:
152152
EXTRA_SAGE_PACKAGES: ${{ inputs.extra_sage_packages }}
153153
steps:
154154
- name: Maximize build disk space
155-
uses: easimon/maximize-build-space@v8
155+
uses: easimon/maximize-build-space@v10
156156
with:
157157
# need space in /var for Docker images
158-
root-reserve-mb: 40000
158+
root-reserve-mb: 30000
159159
remove-dotnet: true
160160
remove-android: true
161161
remove-haskell: true
162162
remove-codeql: true
163163
remove-docker-images: true
164+
continue-on-error: true
164165
if: inputs.free_disk_space
165166
- name: Check out SageMath
166167
uses: actions/checkout@v4

.github/workflows/docker_hub.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,16 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Maximize build disk space
19-
uses: easimon/maximize-build-space@v8
19+
uses: easimon/maximize-build-space@v10
2020
with:
2121
# need space in /var for Docker images
22-
root-reserve-mb: 40000
22+
root-reserve-mb: 30000
2323
remove-dotnet: true
2424
remove-android: true
2525
remove-haskell: true
2626
remove-codeql: true
2727
remove-docker-images: true
28+
continue-on-error: true
2829

2930
- name: Checkout
3031
uses: actions/checkout@v4

.gitpod-setup-trac-remote.sh

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,8 @@
33
# Exit on error
44
set -e
55

6-
# Setup trac as remote
7-
## In order to push to trac, generate a new key with `ssh-keygen -f tempkey` and save the private key to gitpod `gp env PRIVATE_SSH_KEY="$(<tempkey)"` (or by following https://www.gitpod.io/docs/environment-variables#using-the-account-settings)
8-
## then follow https://doc.sagemath.org/html/en/developer/trac.html#linking-your-public-key-to-your-trac-account to register the public key with trac.
9-
## Afterwards, create a new gitpod workspace.
10-
git remote remove trac 2> /dev/null || true # might still exists from a previous run/prebuild
11-
if [[ -n "${PRIVATE_SSH_KEY}" ]]; then
12-
# Setup ssh key for authentication with trac
13-
mkdir -p ~/.ssh
14-
echo $PRIVATE_SSH_KEY | sed 's/\(-----\(BEGIN\|END\) OPENSSH PRIVATE KEY-----\)/\n\1\n/g' > ~/.ssh/id_rsa
15-
sed -i '/^$/d' ~/.ssh/id_rsa
16-
chmod 600 ~/.ssh/id_rsa
17-
echo "PubkeyAcceptedKeyTypes +ssh-rsa" > ~/.ssh/config
18-
ssh-keyscan -H trac.sagemath.org >> ~/.ssh/known_hosts
6+
git remote remove trac 2> /dev/null || true # might still exists from a previous run/prebuild
197

20-
# Setup trac repo
21-
git remote add trac [email protected]:sage.git -t master -t develop -t $(git branch --show-current)
22-
git remote set-url --push trac [email protected]:sage.git
23-
git fetch trac
24-
git branch -u trac/$(git branch --show-current)
25-
else
26-
# Fallback to sagemath mirror
27-
git remote add trac https://github.com/sagemath/sagetrac-mirror.git -t master -t develop
28-
git remote set-url --push trac pushing-needs-ssh-key
29-
fi
8+
# Setup trac as remote
9+
git remote add trac https://github.com/sagemath/sagetrac-mirror.git -t master -t develop
10+
git remote set-url --push trac no-pushing--this-is-a-read-only-archive

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.3.beta7
7+
version: 10.3.rc0
88
doi: 10.5281/zenodo.593563
9-
date-released: 2024-02-02
9+
date-released: 2024-02-25
1010
repository-code: "https://github.com/sagemath/sage"
1111
url: "https://www.sagemath.org/"

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ environment.
1515

1616
All code is peer-reviewed, all functions must be documented and
1717
unit-tested on a variety of platforms and systems. Python is used as a
18-
base language, Git is used as the source code revision system, and
19-
Trac is used to track all support/development issues. All of these
20-
tools are very capable and used in many other small and large-scale
21-
projects. From a software engineering standpoint, SageMath is a
22-
wonderful project to be engaged in.
18+
base language, and development takes place on GitHub, with Git as the
19+
source code revision system. All of these tools are very capable and
20+
used in many other small and large-scale projects. From a software
21+
engineering standpoint, SageMath is a wonderful project to be engaged
22+
in.
2323

2424
The mailing lists are extremely supportive and responsive. There are
2525
several hundred people that have contributed code directly to SageMath

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ micro_release:
201201

202202
# Leaves everything that is needed to make the next "make" fast but removes
203203
# all the cheap build artifacts that can be quickly regenerated.
204-
# Trac #30960: We no longer uninstall sagelib.
204+
# Issue #30960: We no longer uninstall sagelib.
205205
fast-rebuild-clean: misc-clean
206206
rm -rf upstream/
207207
rm -rf build/pkgs/sagelib/src/build/temp.*

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
SageMath version 10.3.beta7, Release Date: 2024-02-02
1+
SageMath version 10.3.rc0, Release Date: 2024-02-25

0 commit comments

Comments
 (0)