Skip to content

Commit 633d803

Browse files
Merge branch 'develop' into develop
2 parents 2f7edc0 + 1ca4a47 commit 633d803

File tree

136 files changed

+1494
-1187
lines changed

Some content is hidden

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

136 files changed

+1494
-1187
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,11 @@ description: Report a bug
33
title: "<title>"
44
labels: "t: bug"
55
body:
6-
- type: checkboxes
7-
attributes:
8-
label: Is there an existing issue for this?
9-
description: Please search to see if an issue already exists for the bug you encountered.
10-
options:
11-
- label: I have searched the existing issues for a bug report that matches the one I want to file, without success.
12-
required: true
13-
- type: checkboxes
14-
attributes:
15-
label: Did you read the documentation and troubleshoot guide?
16-
description: Please read [README.md](https://github.com/sagemath/sage/blob/develop/README.md) and [the Troubleshooting section in the Installation Guide](https://doc.sagemath.org/html/en/installation/troubles.html).
17-
options:
18-
- label: I have read the documentation and troubleshoot guide
19-
required: true
20-
- type: textarea
6+
- type: markdown
217
attributes:
22-
label: Environment
23-
description: |
24-
examples:
25-
- **OS**: Ubuntu 20.04
26-
- Sage Version: 9.2
278
value: |
28-
- **OS**:
29-
- **Sage Version**:
30-
render: markdown
31-
validations:
32-
required: true
9+
* Please search to see if an issue already exists for the bug you encountered.
10+
* Please read [README.md](https://github.com/sagemath/sage/blob/develop/README.md) and [the Troubleshooting section in the Installation Guide](https://doc.sagemath.org/html/en/installation/troubles.html).
3311
- type: textarea
3412
attributes:
3513
label: Steps To Reproduce
@@ -60,3 +38,24 @@ body:
6038
Links? References? Anything that will give us more context about the issue you are encountering!
6139
validations:
6240
required: false
41+
- type: textarea
42+
attributes:
43+
label: Environment
44+
description: |
45+
examples:
46+
- **OS**: Ubuntu 20.04
47+
- Sage Version: 9.2
48+
value: |
49+
- **OS**:
50+
- **Sage Version**:
51+
render: markdown
52+
validations:
53+
required: true
54+
- type: checkboxes
55+
attributes:
56+
label: Checklist
57+
options:
58+
- label: I have searched the existing issues for a bug report that matches the one I want to file, without success.
59+
required: true
60+
- label: I have read the documentation and troubleshoot guide
61+
required: true

.github/ISSUE_TEMPLATE/failure_building_from_source.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,11 @@ title: "<title>"
44
labels: ['c: build', 't: bug']
55
assignees: []
66
body:
7-
- type: checkboxes
7+
- type: markdown
88
attributes:
9-
label: Is there an existing issue for this?
10-
description: Please search to see if an issue already exists for the bug you encountered.
11-
options:
12-
- label: I have searched the existing issues for a bug report that matches the one I want to file, without success.
13-
required: true
14-
- type: checkboxes
15-
attributes:
16-
label: Did you read the documentation and troubleshoot guide?
17-
description: Please read [README.md](https://github.com/sagemath/sage/blob/develop/README.md) and [the Troubleshooting sectionin the Installation Guide](https://doc.sagemath.org/html/en/installation/troubles.html).
18-
options:
19-
- label: I have read the documentation and troubleshoot guide
20-
required: true
9+
value: |
10+
* Please search to see if an issue already exists for the bug you encountered.
11+
* Please read [README.md](https://github.com/sagemath/sage/blob/develop/README.md) and [the Troubleshooting section in the Installation Guide](https://doc.sagemath.org/html/en/installation/troubles.html).
2112
- type: textarea
2213
attributes:
2314
label: Environment
@@ -65,3 +56,11 @@ body:
6556
Links? References? Anything that will give us more context about the issue you are encountering!
6657
validations:
6758
required: false
59+
- type: checkboxes
60+
attributes:
61+
label: Checklist
62+
options:
63+
- label: I have searched the existing issues for a bug report that matches the one I want to file, without success.
64+
required: true
65+
- label: I have read the documentation and troubleshoot guide
66+
required: true

.github/ISSUE_TEMPLATE/feature_report.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@ description: Suggest an idea
33
title: "<title>"
44
labels: "t: enhancement"
55
body:
6-
- type: checkboxes
6+
- type: markdown
77
attributes:
8-
label: Is there an existing issue for this?
9-
description: Please search to see if an issue already exists for the bug you encountered.
10-
options:
11-
- label: I have searched the existing issues for a bug report that matches the one I want to file, without success.
12-
required: true
8+
value: |
9+
* Please search to see if an issue already exists for the bug you encountered.
1310
- type: textarea
1411
attributes:
1512
label: Problem Description
@@ -34,3 +31,9 @@ body:
3431
description: Add any other context about the problem here.
3532
validations:
3633
required: false
34+
- type: checkboxes
35+
attributes:
36+
label: Is there an existing issue for this?
37+
options:
38+
- label: I have searched the existing issues for a bug report that matches the one I want to file, without success.
39+
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1-
<!-- Please provide a concise, informative and self-explanatory title. -->
2-
<!-- Don't put issue numbers in the title. Put it in the Description below. -->
3-
<!-- For example, instead of "Fixes #12345", use "Add a new method to multiply two integers" -->
4-
5-
### :books: Description
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 -->
67

7-
<!-- Describe your changes here in detail. -->
88
<!-- Why is this change required? What problem does it solve? -->
99
<!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". -->
1010
<!-- If your change requires a documentation PR, please link it appropriately. -->
1111

1212
### :memo: Checklist
1313

14-
<!-- Put an `x` in all the boxes that apply. It should be `[x]` not `[x ]`. -->
14+
<!-- 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. -->
1518

1619
- [ ] The title is concise, informative, and self-explanatory.
1720
- [ ] The description explains in detail what this PR is about.

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,13 @@ jobs:
6060
# (This keeps mtimes of unchanged files unchanged and mtimes of changed files newer than unchanged files.)
6161
# Finally we reset the index to "old". (This keeps all mtimes unchanged.)
6262
# The changed files now show up as uncommitted changes.
63+
# The final "git add -N" makes sure that files that were added in "new" do not show
64+
# as untracked files, which would be removed by "git clean -fx".
6365
git worktree add --detach worktree-image
6466
rm -rf /sage/.git && mv worktree-image/.git /sage/
6567
rm -rf worktree-image && ln -s /sage worktree-image
6668
if [ ! -f worktree-image/.gitignore ]; then cp .gitignore worktree-image/; fi
67-
(cd worktree-image && git add -A && git commit --allow-empty -m "old" -a && git tag -f old && git reset --hard new && git reset old)
69+
(cd worktree-image && git add -A && git commit --quiet --allow-empty -m "old" -a && git tag -f old && git reset --hard new && git reset --quiet old && git add -N . && git status)
6870
6971
- name: Incremental build, test changed files (sage -t --new)
7072
id: incremental

.github/workflows/doc-build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@ jobs:
4444
# (This keeps mtimes of unchanged files unchanged and mtimes of changed files newer than unchanged files.)
4545
# Finally we reset the index to "old". (This keeps all mtimes unchanged.)
4646
# The changed files now show up as uncommitted changes.
47+
# The final "git add -N" makes sure that files that were added in "new" do not show
48+
# as untracked files, which would be removed by "git clean -fx".
4749
git worktree add --detach worktree-image
4850
rm -rf /sage/.git && mv worktree-image/.git /sage/
4951
rm -rf worktree-image && ln -s /sage worktree-image
5052
if [ ! -f worktree-image/.gitignore ]; then cp .gitignore worktree-image/; fi
51-
(cd worktree-image && git add -A && git commit --allow-empty -m "old" -a && git tag -f old && git reset --hard new && git reset old)
53+
(cd worktree-image && git add -A && git commit --quiet --allow-empty -m "old" -a && git tag -f old && git reset --hard new && git reset --quiet old && git add -N . && git status)
5254
# Keep track of changes to built HTML
5355
new_version=$(cat src/VERSION.txt); (cd /sage/local/share/doc/sage/html/en && find . -name "*.html" | xargs sed -i '/class="sidebar-brand-text"/s/Sage [0-9a-z.]* /Sage '$new_version' /'; git init && (echo "*.svg binary"; echo "*.pdf binary") >> .gitattributes && (echo ".buildinfo"; echo '*.inv'; echo '.git*'; echo '*.svg'; echo '*.pdf'; echo '*.png'; echo 'searchindex.js') > .gitignore; git add -A && git commit --quiet -m "old")
5456

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
/confdefs.h
2323

2424
/m4/sage_spkg_configures.m4
25+
/m4/sage_spkg_versions*.m4
2526

2627
# no longer generated, but may still be in user worktrees
2728
/src/lib/pkgconfig

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.1.beta5
7+
version: 10.1.beta6
88
doi: 10.5281/zenodo.593563
9-
date-released: 2023-07-01
9+
date-released: 2023-07-09
1010
repository-code: "https://github.com/sagemath/sage"
1111
url: "https://www.sagemath.org/"

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
SageMath version 10.1.beta5, Release Date: 2023-07-01
1+
SageMath version 10.1.beta6, Release Date: 2023-07-09

bootstrap

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,16 @@ CONFVERSION=$(cat $PKG/package-version.txt)
3535

3636

3737
bootstrap () {
38-
if [ "${BOOTSTRAP_QUIET}" = "no" ]; then
39-
echo "bootstrap:$LINENO: installing 'm4/sage_spkg_configures.m4'"
40-
fi
41-
rm -f m4/sage_spkg_configures.m4
38+
for a in m4/sage_spkg_configures.m4 m4/sage_spkg_versions.m4 m4/sage_spkg_versions_toml.m4; do
39+
if [ "${BOOTSTRAP_QUIET}" = "no" ]; then
40+
echo "bootstrap:$LINENO: installing '"$a"'"
41+
fi
42+
rm -f $a
43+
echo "# Generated by SAGE_ROOT/bootstrap; do not edit" > $a
44+
done
45+
for a in m4/sage_spkg_versions.m4 m4/sage_spkg_versions_toml.m4; do
46+
echo 'changequote(`>>>'"'"', `<<<'"')dnl" >> $a
47+
done
4248
spkg_configures=""
4349
# initialize SAGE_ENABLE... options for standard packages
4450
for pkgname in $(sage-package list :standard: | sort); do
@@ -92,12 +98,17 @@ SAGE_SPKG_CONFIGURE_$(echo ${pkgname} | tr '[a-z]' '[A-Z]')"
9298
if test -f "$DIR/requirements.txt" -o -f "$DIR/install-requires.txt"; then
9399
# A Python package
94100
SPKG_TREE_VAR=SAGE_VENV
101+
echo "define(>>>SPKG_INSTALL_REQUIRES_${pkgname}<<<, >>>$(echo $(sage-get-system-packages install-requires ${pkgname}))<<<)dnl" >> m4/sage_spkg_versions.m4
102+
echo "define(>>>SPKG_INSTALL_REQUIRES_${pkgname}<<<, >>>$(echo $(sage-get-system-packages install-requires-toml ${pkgname}))<<<)dnl" >> m4/sage_spkg_versions_toml.m4
95103
fi
96104
fi
97105
spkg_configures="$spkg_configures
98106
SAGE_SPKG_FINALIZE([$pkgname], [$pkgtype], [$SPKG_SOURCE], [$SPKG_TREE_VAR])"
99107
done
100108
echo "$spkg_configures" >> m4/sage_spkg_configures.m4
109+
for a in m4/sage_spkg_versions.m4 m4/sage_spkg_versions_toml.m4; do
110+
echo 'changequote(>>>`<<<, >>>'"'"'<<<)dnl' >> $a
111+
done
101112

102113
for pkgname in $(sage-package list --has-file bootstrap); do
103114
(cd build/pkgs/$pkgname && ./bootstrap) || exit 1

0 commit comments

Comments
 (0)