Skip to content

Commit 440486b

Browse files
author
Matthias Köppe
authored
Merge branch 'develop' into sage_conf_pyproject_toml
2 parents cfff399 + 8ea5214 commit 440486b

File tree

1,379 files changed

+18897
-12483
lines changed

Some content is hidden

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

1,379 files changed

+18897
-12483
lines changed

.ci/create-changes-html.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ echo '<script>hljs.highlightAll();</script>' >> CHANGES.html
1919
cat >> CHANGES.html << EOF
2020
<script>
2121
document.addEventListener('DOMContentLoaded', () => {
22+
const baseDocURL = 'https://sagemath.netlify.app'
2223
const diffSite = 'https://pianomister.github.io/diffsite'
23-
const baseDocURL = 'https://sagemath-tobias.netlify.app'
2424
const diffParagraphs = document.querySelectorAll('p.diff');
2525
diffParagraphs.forEach(paragraph => {
2626
const rootURL = window.location.origin;

.devcontainer/devcontainer.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@
2222
"vscode": {
2323
"extensions": [
2424
"guyskk.language-cython",
25-
"ms-python.isort",
2625
"ms-toolsai.jupyter",
2726
"ms-python.vscode-pylance",
28-
"ms-python.pylint",
2927
"ms-python.python",
3028
"lextudio.restructuredtext",
31-
"trond-snekvik.simple-rst"
29+
"trond-snekvik.simple-rst",
30+
"charliermarsh.ruff"
3231
]
3332
}
3433
}

.vscode/extensions.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// List of extensions which should be recommended for developers when a workspace is opened for the first time.
33
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
44
"recommendations": [
5-
"ms-python.python"
5+
"ms-python.python",
6+
"charliermarsh.ruff"
67
],
78
}

.vscode/settings.json

-5
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@
2424
"--doctest-modules"
2525
],
2626
"python.testing.unittestEnabled": false,
27-
"python.linting.pycodestyleEnabled": true,
28-
"python.linting.enabled": true,
29-
// The following pycodestyle arguments are the same as the pycodestyle-minimal
30-
// tox environnment, see the file SAGE_ROOT/src/tox.ini
31-
"python.linting.pycodestyleArgs": ["--select= E111,E21,E222,E225,E227,E228,E25,E271,E303,E305,E306,E401,E502,E701,E702,E703,E71,E72,W291,W293,W391,W605"],
3227
"cSpell.words": [
3328
"furo",
3429
"Conda",

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.4.beta0
7+
version: 10.4.beta2
88
doi: 10.5281/zenodo.593563
9-
date-released: 2024-03-25
9+
date-released: 2024-04-08
1010
repository-code: "https://github.com/sagemath/sage"
1111
url: "https://www.sagemath.org/"

CODE_OF_CONDUCT.md

+176-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
# Code of Conduct #
22

3-
Approved by the Sage community by a vote which ended on November 24, 2014
3+
This Code was approved by the Sage community by a vote which ended on
4+
March 31, 2024.
5+
6+
## Introduction ##
47

58
The Sage community is comprised of an international mixture of mathematicians,
69
computer scientists, engineers, researchers, teachers, amateurs, and others
710
with varied backgrounds. This diversity is one of our strengths, but it can
811
also lead to communication problems and unhappiness. People who love working on
9-
Sage can more effectively collaborate with others if they follow this code.
12+
Sage can more effectively collaborate with others if they follow this Code.
13+
14+
This document is complemented by a second, [the Code of Conduct
15+
Committee Manual](/CODE_OF_CONDUCT_COMMITTEE.md), which describes the
16+
roles and procedures for the Sage Code of Conduct Committee.
17+
18+
## Guidelines ##
1019

1120
1. Be friendly and patient.
1221

@@ -35,6 +44,168 @@ Sage can more effectively collaborate with others if they follow this code.
3544
forget that it is human to err. Blame alone gets us nowhere, it is better to
3645
help resolve issues so we can all learn from our mistakes.
3746

38-
If you believe someone is violating the code of conduct, we ask that you report
39-
it to https://groups.google.com/g/sage-abuse. The group administrators will
40-
consider the issue and explore resolutions.
47+
5. We will not accept harassment or other exclusionary behavior, such as:
48+
49+
1. Violent or intimidating threats or language directed against another person.
50+
2. Sexist, racist, or otherwise discriminatory jokes and language.
51+
3. Posting sexually explicit or violent material.
52+
4. Posting (or threatening to post) other people’s personally identifying information (“doxing”).
53+
5. Personal insults, especially those using racist or sexist terms.
54+
6. Unwelcome sexual attention or comments.
55+
7. Excessive profanity. Please avoid swear words; people differ greatly in their sensitivity to swearing.
56+
8. Repeated harassment of others. In general, if someone asks you to stop, then stop.
57+
9. Advocating for, or encouraging, any of the above behavior.
58+
59+
This Code of Conduct applies to all spaces managed by the Sage
60+
project, including all public and private mailing lists, issue
61+
trackers, wikis, and any other communication channel used by our
62+
community. It also applies to Sage Days and any other in-person or
63+
virtual events.
64+
65+
This Code of Conduct should be honored by everyone who participates in
66+
the Sage community formally or informally, or claims any affiliation
67+
with the project, in any project-related activities, and, especially,
68+
when representing the project, in any role.
69+
70+
This Code is neither exhaustive nor complete. It serves to distill our
71+
common understanding of a collaborative, shared environment and
72+
goals. Please try to follow this Code in spirit as much as in letter,
73+
to create a friendly and productive environment that enriches the
74+
surrounding community.
75+
76+
## Diversity statement ##
77+
78+
Sage welcomes and encourages participation in our community by people
79+
of all backgrounds and identities. We are committed to promoting and
80+
sustaining a culture that values mutual respect, tolerance, and
81+
learning, and we work together as a community to help each other live
82+
out these values.
83+
84+
No matter how you identify yourself or how others perceive you: we
85+
welcome you. Though no list can hope to be comprehensive, we
86+
explicitly honor diversity in: age, culture, ethnicity, genotype,
87+
gender identity or expression, language, national origin, neurotype,
88+
phenotype, political beliefs, profession, race, religion, sexual
89+
orientation, socioeconomic status, subculture, and technical ability,
90+
to the extent that these do not conflict with this Code of Conduct.
91+
92+
Though we welcome people fluent in all languages, Sage development is
93+
conducted in English.
94+
95+
Standards for behavior in the Sage community are detailed in the Code
96+
of Conduct above. Participants in our community should uphold these
97+
standards in all their interactions and help others to do so as well.
98+
99+
## Reporting guidelines ##
100+
101+
We know that it is painfully common for internet communication to
102+
start at or devolve into obvious and flagrant abuse. We also recognize
103+
that sometimes people may have a bad day, or be unaware of some of the
104+
guidelines in this Code of Conduct. Please keep this in mind when
105+
deciding on how to respond to a breach of this Code.
106+
107+
For clearly intentional breaches, report those to the Sage Code of
108+
Conduct Committee (see below). For possibly unintentional breaches,
109+
you may reply to the person and point out this Code of Conduct (either
110+
in public or in private, whatever is most appropriate). If you would
111+
prefer not to do that, please feel free to report to the Sage Code of
112+
Conduct Committee directly, or ask the committee for advice, in
113+
confidence.
114+
115+
You can report issues to the Sage Code of Conduct Committee at
116+
[email protected]. Currently, the committee consists of:
117+
118+
- Nils Bruin
119+
- J-P Labbé
120+
- John Palmieri
121+
- Viviane Pons
122+
- David Roe
123+
- Julian Rüth
124+
125+
If your report involves any members of the committee, or if they feel
126+
they have a conflict of interest in handling it, then they will recuse
127+
themselves from considering your report. Alternatively, if, for any
128+
reason, you feel uncomfortable making a report to the whole committee,
129+
then you can also contact individual committee members.
130+
131+
## Incident reporting resolution & Code of Conduct enforcement ##
132+
133+
This section summarizes the most important points; more details can be
134+
found in the Code of Conduct enforcement guide.
135+
136+
The Sage Code of Conduct Committee will investigate and respond to all
137+
complaints. The committee will protect the identity of the reporter,
138+
and treat the content of complaints as confidential (unless the
139+
reporter agrees otherwise).
140+
141+
In case of severe and obvious breaches, e.g., personal threat or
142+
violent, sexist or racist language, the committee will immediately
143+
disconnect the originator from Sage communication channels; please see
144+
the manual for details.
145+
146+
In cases not involving clear severe and obvious breaches of this Code
147+
of Conduct, the process for acting on any received Code of Conduct
148+
violation report will be:
149+
150+
- acknowledgement that the report has been received
151+
- discussion within the committee
152+
- discussion with and/or feedback provided to the reportee
153+
- mediation (if feedback didn’t help, and only if both reporter and
154+
reportee agree to this)
155+
- enforcement via transparent decision by the Sage Code of Conduct Committee
156+
157+
The committee will respond to any report as soon as possible, and our
158+
goal will be to respond within 72 hours.
159+
160+
Potential consequences for violating the Sage Code of Conduct include:
161+
162+
- Nothing (for example if the matter has been resolved publicly while
163+
the committee was considering responses)
164+
- Private feedback or reprimand to the individual(s) involved
165+
- Warning the person to cease their behavior and that any further
166+
reports will result in sanctions
167+
- A public announcement that an incident occurred
168+
- Mediation (only if both reporter and reportee agree)
169+
- An imposed vacation (e.g. asking someone to "take a week off" from a mailing list)
170+
- A permanent or temporary ban from some or all Sage spaces (mailing
171+
lists, GitHub repos, in-person events, etc.)
172+
- Assistance to the reporter with a report to other bodies, for
173+
example, institutional offices or appropriate law enforcement
174+
agencies
175+
- Publishing an account of the harassment and calling for the
176+
resignation of the alleged harasser from their responsibilities
177+
(usually pursued by people without formal authority: may be called
178+
for if the person is the event leader, or refuses to stand aside
179+
from the conflict of interest, or similar)
180+
- Any other response that the Sage Code of Conduct Committee deems necessary and
181+
appropriate to the situation
182+
183+
## Policies and procedures of common project platforms ##
184+
185+
[GitHub Community Guidelines](https://docs.github.com/en/site-policy/github-terms/github-community-guidelines) apply:
186+
- [Report abuse to GitHub](https://github.com/contact/report-abuse),
187+
[Block a user from your personal account](https://docs.github.com/en/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-personal-account)
188+
- [Manage disruptive comments](https://docs.github.com/en/communities/moderating-comments-and-conversations/managing-disruptive-comments),
189+
- [Lock conversations](https://docs.github.com/en/communities/moderating-comments-and-conversations/locking-conversations)
190+
(requires Maintainer role or [Organization Moderator role](https://docs.github.com/en/organizations/managing-peoples-access-to-your-organization-with-roles/managing-moderators-in-your-organization))
191+
192+
Google groups:
193+
- [Content policy](https://support.google.com/groups/answer/4561696)
194+
- [Reporting procedures](https://support.google.com/groups/answer/81275)
195+
196+
## Amending the Code of Conduct ##
197+
198+
This document may be amended by a vote of the Sage
199+
community in the sage-devel Google group, with the exception of facts
200+
like the membership of the Sage Code of Conduct Committee, changes to
201+
URLs, or changes to email addresses: changes like that can be done via
202+
a normal pull request. Any pull requests involving this document
203+
should list the committee members as reviewers.
204+
205+
## Credits ##
206+
207+
Portions of this are adapted from the
208+
[SciPy code of
209+
conduct](https://docs.scipy.org/doc/scipy/dev/conduct/code_of_conduct.html)
210+
and the [NumFOCUS code of
211+
conduct](https://numfocus.org/code-of-conduct).

0 commit comments

Comments
 (0)