Skip to content

Commit 69803e0

Browse files
authored
Merge branch 'develop' into graphs/fix_issue_35889
2 parents 799aa8d + 543f8d6 commit 69803e0

File tree

340 files changed

+7757
-5308
lines changed

Some content is hidden

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

340 files changed

+7757
-5308
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/ci-conda.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
matrix:
3535
os: [ubuntu-latest, macos-latest]
3636
python: ['3.9', '3.10', '3.11']
37-
conda-env: [environment, environment-optional]
37+
# Optional environment is disabled for now as its not yet working
38+
# environment: [environment, environment-optional]
39+
conda-env: [environment]
3840

3941
steps:
4042
- uses: actions/checkout@v3
@@ -100,19 +102,20 @@ jobs:
100102
SAGE_NUM_THREADS: 2
101103

102104
- name: Verify dependencies
103-
if: always()
105+
if: success() || failure()
104106
shell: bash -l {0}
105107
run: pip check
106108

107109
- name: Test
110+
if: success() || failure()
108111
shell: bash -l {0}
109112
run: ./sage -t --all -p0
110113

111114
- name: Print logs
115+
if: always()
112116
run: |
113117
for file in $(find . -type f -name "*.log"); do
114118
echo "::group::$file"
115119
cat "$file"
116120
echo "::endgroup::"
117121
done
118-
if: always()

.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

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"python.linting.enabled": true,
2828
// The following pycodestyle arguments are the same as the pycodestyle-minimal
2929
// tox environnment, see the file SAGE_ROOT/src/tox.ini
30-
"python.linting.pycodestyleArgs": ["--select= E111,E21,E222,E227,E251,E271,E303,E306,E401,E502,E701,E702,E703,E71,E72,W291,W293,W391,W605"],
30+
"python.linting.pycodestyleArgs": ["--select= E111,E21,E222,E227,E25,E271,E303,E306,E401,E502,E701,E702,E703,E71,E72,W291,W293,W391,W605"],
3131
"cSpell.words": [
3232
"furo",
3333
"Conda",

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

0 commit comments

Comments
 (0)