Skip to content

Commit eea03f2

Browse files
authored
Merge branch 'develop' into fix/pr-template
2 parents 726a53d + 46a6105 commit eea03f2

File tree

182 files changed

+2752
-843
lines changed

Some content is hidden

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

182 files changed

+2752
-843
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Documentation for all configuration options:
2+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
3+
4+
version: 2
5+
updates:
6+
# Maintain dependencies for GitHub Actions
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
/config.status
2020
/configure
2121
/conftest*
22+
/confdefs.h
2223

2324
/m4/sage_spkg_configures.m4
2425

.zenodo.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"description": "Mirror of the Sage https://sagemath.org/ source tree",
33
"license": "other-open",
4-
"title": "sagemath/sage: 10.0.beta1",
5-
"version": "10.0.beta1",
4+
"title": "sagemath/sage: 10.0.beta3",
5+
"version": "10.0.beta3",
66
"upload_type": "software",
7-
"publication_date": "2023-02-19",
7+
"publication_date": "2023-03-02",
88
"creators": [
99
{
1010
"affiliation": "SageMath.org",
@@ -15,7 +15,7 @@
1515
"related_identifiers": [
1616
{
1717
"scheme": "url",
18-
"identifier": "https://github.com/sagemath/sage/tree/10.0.beta1",
18+
"identifier": "https://github.com/sagemath/sage/tree/10.0.beta3",
1919
"relation": "isSupplementTo"
2020
},
2121
{

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
SageMath version 10.0.beta1, Release Date: 2023-02-19
1+
SageMath version 10.0.beta3, Release Date: 2023-03-02

build/pkgs/configure/checksums.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
tarball=configure-VERSION.tar.gz
2-
sha1=0897c667d1327d2a51ea3d3bd1d9e1a3f5ca2606
3-
md5=a1f271e5ffcf558d054028839296a072
4-
cksum=437557471
2+
sha1=b9a6c30f4f1c828ca611527d104643d8c0b89ed9
3+
md5=37a7a99a528efa8a4eea1beff33985db
4+
cksum=1112286999
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
08185d786047228caff879eba88a1f8148a49020
1+
a822a2132aa0e85069ec8b6efa48ad6db08cc044

build/pkgs/giac/checksums.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ tarball=giac-VERSION.tar.bz2
22
sha1=78c15badd19b49b7d111ac204b611a4378ce3d15
33
md5=8fbd43a5c60848b6813b7fc8698a0199
44
cksum=1923149665
5-
upstream_url=https://trac.sagemath.org/raw-attachment/ticket/31563/giac-VERSION.tar.bz2

build/pkgs/iml/checksums.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ tarball=iml-VERSION.tar.bz2
22
sha1=8aba468a62e6fb0584be9b014350b734663c0670
33
md5=a8083e70c0c4378f69eb772c1eeed6f0
44
cksum=2793221462
5-
upstream_url=https://trac.sagemath.org/raw-attachment/ticket/33195/iml-1.0.4p2.tar.bz2

build/pkgs/mathjax/checksums.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ tarball=mathjax-VERSION.tar.gz
22
sha1=3f7abecf8cacd7f5d7f9ae6c3baca7739101c17d
33
md5=ba1a65ab58aaad6c84f39735c619bc34
44
cksum=1142131398
5-
upstream_url=https://trac.sagemath.org/raw-attachment/ticket/25833/mathjax-3.2.0.tar.gz

build/pkgs/msolve/checksums.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ tarball=msolve-VERSION.tar.gz
22
sha1=5b227de8b222bfe8d143e1d7ea77ad71cd209dc8
33
md5=2f34bd9ccb089688ae169201281108dc
44
cksum=941373315
5-
upstream_url=https://trac.sagemath.org/raw-attachment/ticket/31664/msolve-VERSION.tar.gz
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sage-conf ~= 10.0b1
2+
sage-conf ~= 10.0b3
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sage-docbuild ~= 10.0b1
2+
sage-docbuild ~= 10.0b3
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sage-setup ~= 10.0b1
2+
sage-setup ~= 10.0b3
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sage-sws2rst ~= 10.0b1
2+
sage-sws2rst ~= 10.0b3
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sagelib ~= 10.0b1
2+
sagelib ~= 10.0b3
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sagemath-categories ~= 10.0b1
2+
sagemath-categories ~= 10.0b3
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sagemath-environment ~= 10.0b1
2+
sagemath-environment ~= 10.0b3
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sagemath-objects ~= 10.0b1
2+
sagemath-objects ~= 10.0b3
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# This file is updated on every release by the sage-update-version script
2-
sagemath-repl ~= 10.0b1
2+
sagemath-repl ~= 10.0b3

pkgs/sage-conf/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.0.beta1
1+
10.0.beta3

pkgs/sage-conf_pypi/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.0.beta1
1+
10.0.beta3

pkgs/sage-docbuild/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.0.beta1
1+
10.0.beta3

pkgs/sage-setup/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.0.beta1
1+
10.0.beta3

pkgs/sage-sws2rst/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.0.beta1
1+
10.0.beta3

pkgs/sagemath-categories/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.0.beta1
1+
10.0.beta3

pkgs/sagemath-environment/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.0.beta1
1+
10.0.beta3

pkgs/sagemath-objects/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.0.beta1
1+
10.0.beta3

pkgs/sagemath-repl/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.0.beta1
1+
10.0.beta3

src/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.0.beta1
1+
10.0.beta3

src/bin/sage-version.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
# which stops "setup.py develop" from rewriting it as a Python file.
55
:
66
# This file is auto-generated by the sage-update-version script, do not edit!
7-
SAGE_VERSION='10.0.beta1'
8-
SAGE_RELEASE_DATE='2023-02-19'
9-
SAGE_VERSION_BANNER='SageMath version 10.0.beta1, Release Date: 2023-02-19'
7+
SAGE_VERSION='10.0.beta3'
8+
SAGE_RELEASE_DATE='2023-03-02'
9+
SAGE_VERSION_BANNER='SageMath version 10.0.beta3, Release Date: 2023-03-02'

src/doc/en/reference/references/index.rst

Lines changed: 65 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ REFERENCES:
624624
and variants*.
625625
:arxiv:`1810.00789`
626626
627-
.. [BDKR2013] \D. Best, D.Z. Dokovic, H. Kharaghani and H. Ramp.
627+
.. [BDKR2013] \D. Best, D.Ž. Đoković, H. Kharaghani and H. Ramp.
628628
*Turyn-Type Sequences: Classification, Enumeration, and Construction*,
629629
Journal of Combinatorial Designs 21(1) (2013): 24-35.
630630
:doi:`10.1002/jcd.21318`
@@ -803,6 +803,10 @@ REFERENCES:
803803
Stein. strassen_window_multiply_c. strassen.pyx, Sage
804804
3.0, 2008. http://www.sagemath.org
805805
806+
.. [BrHu2019] Petter Brändén, June Huh. *Lorentzian polynomials*.
807+
Ann. Math. (2) 192, No. 3, 821-891 (2020).
808+
:arxiv:`1902.03719`, :doi:`10.4007/annals.2020.192.3.4`.
809+
806810
.. [BHNR2004] \S. Brlek, S. Hamel, M. Nivat, C. Reutenauer, On the
807811
Palindromic Complexity of Infinite Words,
808812
in J. Berstel, J. Karhumaki, D. Perrin, Eds,
@@ -1216,6 +1220,11 @@ REFERENCES:
12161220
Proc. London Math. Soc. (3) **77** (1998), 551–581.
12171221
:mathscinet:`MR1643413`
12181222
1223+
.. [BS1969] \D. Blatt, G. Szekeres.
1224+
*A Skew Hadamard Matrix of Order 52*,
1225+
Canadian Journal of Mathematics 21 (1969): 1319-1322.
1226+
:doi:`10.4153/CJM-1969-144-2`
1227+
12191228
.. [BS1996] Eric Bach, Jeffrey Shallit. *Algorithmic Number Theory,
12201229
Vol. 1: Efficient Algorithms*. MIT Press, 1996. ISBN
12211230
978-0262024051.
@@ -1794,6 +1803,11 @@ REFERENCES:
17941803
*Tracking p-adic precision*,
17951804
LMS J. Comput. Math. **17** (2014), 274-294.
17961805
1806+
.. [Connell1999] Ian Connell.
1807+
*Elliptic Curve Handbook*.
1808+
Online lecture notes, available at
1809+
https://git.hackade.org/ben/tinycrypt/raw/branch/master/docs/Elliptic%20Curve%20Handbook.pdf
1810+
17971811
.. [CS1986] \J. Conway and N. Sloane. *Lexicographic codes:
17981812
error-correcting codes from game theory*, IEEE
17991813
Trans. Infor. Theory **32** (1986) 337-348.
@@ -2041,15 +2055,40 @@ REFERENCES:
20412055
and some constructions of de Luca and Rauzy*,
20422056
Theoret. Comput. Sci. 255 (2001) 539--553.
20432057
2044-
.. [Djo1992] \D. Đoković.
2058+
.. [Djo1992a] \D. Đoković.
20452059
*Construction of some new Hadamard matrices*,
20462060
Bulletin of the Australian Mathematical Society 45(2) (1992): 327-332.
20472061
:doi:`10.1017/S0004972700030185`
20482062
2063+
.. [Djo1992b] \D. Đoković.
2064+
*Skew Hadamard matrices of order 4 x 37 and 4 x 43*,
2065+
Journal of Combinatorial Theory, Series A 61(2) (1992): 319-321.
2066+
:doi:`10.1016/0097-3165(92)90029-T`
2067+
2068+
.. [Djo1992c] \D. Đoković.
2069+
*Ten New Orders for Hadamard Matrices of Skew Type*,
2070+
Publikacije Elektrotehničkog fakulteta. Serija Matematika 2 (1992): 47-59.
2071+
20492072
.. [Djo1994] \D. Đoković.
20502073
*Five New Orders for Hadamard Matrices of Skew Type*,
20512074
Australasian Journal of Combinatorics 10 (1994): 259-264.
20522075
2076+
.. [Djo2008a] \D. Đoković.
2077+
*Skew-Hadamard matrices of orders 188 and 388 exist*,
2078+
International Mathematical Forum 3 no.22 (2008): 1063-1068.
2079+
:arxiv:`0704.0640`
2080+
2081+
.. [Djo2008b] \D. Đoković.
2082+
*Skew-Hadamard matrices of orders 436, 580 and 988 exist*,
2083+
Journal of Combinatorial Designs 16 (2008): 493-498.
2084+
:arxiv:`0706.1973`
2085+
2086+
.. [Djo2023a] \D. Đoković.
2087+
*Skew-Hadamard matrices of order 276*.
2088+
:arxiv:`10.48550/ARXIV.2301.02751`
2089+
2090+
.. [Djo2023b] \D. Đoković, Email Communication. 26 January 2023.
2091+
20532092
.. [DK2013] John R. Doyle and David Krumm, *Computing algebraic
20542093
numbers of bounded height*, :arxiv:`1111.4963v4` (2013).
20552094
@@ -2397,6 +2436,11 @@ REFERENCES:
23972436
code, by I.A.Faradjev (with contributions by A.E.Brouwer,
23982437
D.V.Pasechnik). https://github.com/dimpase/coco
23992438
2439+
.. [FKS2004] \R. J. Fletcher, C. Koukouvinos and J. Seberry.
2440+
*New skew-Hadamard matrices of order 4·59 and new D-optimal designs of order 2·59*,
2441+
Discrete Mathematics 286(3) (2004): 251-253.
2442+
:doi:`10.1016/j.disc.2004.05.009`
2443+
24002444
.. [FL2001] David Forge and Michel Las Vergnas.
24012445
*Orlik-Solomon type algebras*. European J. Combin.
24022446
**22** (5), (2001). pp. 699-704.
@@ -3207,6 +3251,11 @@ REFERENCES:
32073251
Designs, Codes and Cryptography 8 (1996) 145-157.
32083252
:doi:`10.1023/A:1018037025910`.
32093253
3254+
.. [HMMS2019] June Huh, Jacob P. Matherne, Karola Mészáros, Avery St. Dizier.
3255+
*Logarithmic concavity of Schur and related polynomials*.
3256+
Trans. Am. Math. Soc. 375, No. 6, 4411-4427 (2022).
3257+
:arxiv:`1906.09633`, :doi:`10.1090/tran/8606`.
3258+
32103259
.. [Hutz2007] \B. Hutz. Arithmetic Dynamics on Varieties of dimension greater
32113260
than one. PhD Thesis, Brown University 2007
32123261
@@ -5493,6 +5542,11 @@ REFERENCES:
54935542
:doi:`10.1007/978-1-4684-9322-1`,
54945543
ISBN 978-1-4684-9322-1.
54955544
5545+
.. [Spe1977] \E. Spence.
5546+
*Skew-Hadamard matrices of order 2(q + 1)*,
5547+
Discrete Mathematics 18(1) (1977): 79-85.
5548+
:doi:`10.1016/0012-365X(77)90009-7`
5549+
54965550
.. [Spe2013] \D. Speyer, *An infinitely generated upper cluster algebra*,
54975551
:arxiv:`1305.6867`.
54985552
@@ -5842,6 +5896,10 @@ REFERENCES:
58425896
Hall-Littlewood vertex operators and generalized Kostka polynomials.
58435897
Adv. Math. 158 (2001), no. 1, 66-85.
58445898
5899+
.. [Sze1988] \G. Szekeres.
5900+
*A note on skew type orthogonal ±1 matrices*,
5901+
Combinatorics, Colloquia Mathematica Societatis, Janos Bolyai, 52 (1988): 489-498.
5902+
58455903
.. _ref-T:
58465904

58475905
**T**
@@ -6122,6 +6180,11 @@ REFERENCES:
61226180
pages 150--168, 1932,
61236181
`available on JSTOR <http://www.jstor.org/stable/2371086>`_
61246182
6183+
.. [Whi1971] \A. Whiteman.
6184+
*An infinite family of skew Hadamard matrices*,
6185+
Pacific Journal of Mathematics 38(3) (1971): 817-822.
6186+
:doi:`10.2140/pjm.1971.38.817`
6187+
61256188
.. [White2015] Noah White.
61266189
*The monodromy of real Bethe vectors for the Gaudin model*.
61276190
J. Combin. Algebra, **2** no. 3 (2018). pp. 259-300.

src/sage/arith/long.pxd

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# sage.doctest: optional - sage.misc.cython
12
r"""
23
Fast conversion of Python objects to C long
34
"""
@@ -113,7 +114,7 @@ cdef inline bint integer_check_long(x, long* value, int* err) except -1:
113114
114115
We create a pure Python wrapper of this function::
115116
116-
sage: cython(''' # optional - sage.misc.cython
117+
sage: cython('''
117118
....: from sage.arith.long cimport *
118119
....: from sage.rings.integer cimport smallInteger
119120
....: def check_long(x):
@@ -246,7 +247,7 @@ cdef inline bint integer_check_long_py(x, long* value, int* err):
246247
247248
We create a pure Python wrapper of this function::
248249
249-
sage: cython(''' # optional - sage.misc.cython
250+
sage: cython('''
250251
....: from sage.arith.long cimport *
251252
....: def check_long_py(x):
252253
....: cdef long value
@@ -270,6 +271,17 @@ cdef inline bint integer_check_long_py(x, long* value, int* err):
270271
sage: L += [-x for x in L] + [0, long_min()]
271272
sage: for v in L:
272273
....: assert check_long_py(int(v)) == v
274+
sage: check_long_py(int(2^60))
275+
1152921504606846976 # 64-bit
276+
'Overflow (...)' # 32-bit
277+
sage: check_long_py(int(2^61))
278+
2305843009213693952 # 64-bit
279+
'Overflow (...)' # 32-bit
280+
sage: check_long_py(int(2^62))
281+
4611686018427387904 # 64-bit
282+
'Overflow (...)' # 32-bit
283+
sage: check_long_py(int(2^63))
284+
'Overflow (...)'
273285
sage: check_long_py(int(2^100))
274286
'Overflow (...)'
275287
sage: check_long_py(int(long_max() + 1))
@@ -309,7 +321,12 @@ cdef inline bint integer_check_long_py(x, long* value, int* err):
309321

310322
cdef long lead
311323
cdef long lead_2_overflow = (<long>1) << (BITS_IN_LONG - PyLong_SHIFT)
312-
cdef long lead_3_overflow = (<long>1) << (BITS_IN_LONG - 2 * PyLong_SHIFT)
324+
cdef long lead_3_overflow
325+
if BITS_IN_LONG < 2 * PyLong_SHIFT:
326+
# in this case 3 digit is always overflow
327+
lead_3_overflow = 0
328+
else:
329+
lead_3_overflow = (<long>1) << (BITS_IN_LONG - 2 * PyLong_SHIFT)
313330
if size == 0:
314331
value[0] = 0
315332
err[0] = 0
@@ -371,7 +388,7 @@ cdef inline bint is_small_python_int(obj):
371388
372389
EXAMPLES::
373390
374-
sage: cython(''' # optional - sage.misc.cython
391+
sage: cython('''
375392
....: from sage.arith.long cimport is_small_python_int
376393
....: def is_small_wrapper(x):
377394
....: return is_small_python_int(x)

src/sage/categories/bialgebras.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
# *****************************************************************************
1111

1212
from sage.categories.category_types import Category_over_base_ring
13-
from sage.categories.all import Algebras, Coalgebras
13+
from sage.categories.algebras import Algebras
14+
from sage.categories.coalgebras import Coalgebras
1415
from sage.categories.super_modules import SuperModulesCategory
1516
from sage.misc.lazy_import import LazyImport
1617

src/sage/categories/category.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class Category(UniqueRepresentation, SageObject):
153153
154154
This is achieved as follows::
155155
156-
sage: from sage.categories.all import Category
156+
sage: from sage.categories.category import Category
157157
sage: class EuclideanDomains(Category):
158158
....: # operations on the category itself
159159
....: def super_categories(self):
@@ -201,7 +201,7 @@ class inheritance from ``C.parent_class``.
201201
202202
::
203203
204-
sage: from sage.categories.all import Category
204+
sage: from sage.categories.category import Category
205205
sage: from sage.misc.lazy_attribute import lazy_attribute
206206
sage: class As (Category):
207207
....: def super_categories(self):

src/sage/categories/chain_complexes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ def super_categories(self):
4646
[Category of modules over Ring of integers modulo 9]
4747
4848
"""
49-
from sage.categories.all import Fields, Modules, VectorSpaces
49+
from sage.categories.fields import Fields
50+
from sage.categories.modules import Modules
51+
from sage.categories.vector_spaces import VectorSpaces
5052
base_ring = self.base_ring()
5153
if base_ring in Fields():
5254
return [VectorSpaces(base_ring)]

0 commit comments

Comments
 (0)