Sage 10.3.rc2 released

127 views
Skip to first unread message

Volker Braun

unread,
Mar 4, 2024, 6:40:12 PMMar 4
to sage-release
As always, you can get the latest beta version from the "develop" git branch. Alternatively, the self-contained source tarball is at http://www.sagemath.org/download-latest.html


cb8e15b4769 (tag: 10.3.rc2, github/develop) Updated SageMath version to 10.3.rc2
872ca39ec42 gh-37504: `cmake`, `ninja_build`: Reject installations in inaccessible user schemes
fc0d3399a69 gh-37495: build/pkgs/flint: Reject FLINT >= 3.1.0
4ac7152b170 (tag: 10.3.rc1) Updated SageMath version to 10.3.rc1

Kwankyu Lee

unread,
Mar 4, 2024, 10:54:50 PMMar 4
to sage-release
I set


to blocker. Please merge #37390 to the next rc.

Kazuyoshi Furutaka

unread,
Mar 5, 2024, 4:10:30 AMMar 5
to sage-r...@googlegroups.com
On a PC running Fedora-39 (x86_64): failed in building "sagemath_doc_html-none",
needed to do `./sage -i graphs` and then make again to finish building.

Procedure:
1. copy the git source.
2. `make configure && ./configure && dnf install <suggested packages> && make reconfigure`.
3. make -> stopped in building "sagemath_doc_html-none".
4. `./sage -i graphs && make` to finish the build.

Kazuyoshi


2024年3月5日(火) 8:40 Volker Braun <vbrau...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/cc8e19ba-ee2a-49c9-b4c5-d3ed3b54e222n%40googlegroups.com.


--
Kazuyoshi Furutaka
config.log
make.log.gz

Matthias Köppe

unread,
Mar 5, 2024, 1:08:44 PMMar 5
to sage-release
Thanks for the report!
https://github.com/sagemath/sage/pull/37543 adds the missing dependency declaration.

Jaap Spies

unread,
Mar 6, 2024, 7:02:02 AMMar 6
to sage-r...@googlegroups.com
Operating System: Fedora Linux 39
Kernel Version: 6.7.3-200.fc39.x86_64 (64-bit)
Processors: 24 × 13th Gen Intel® Core™ i7-13700KF
Memory: 31,2 GiB of RAM

make ptestlong
same error as expected:
----------------------------------------------------------------------
sage -t --long --warn-long 29.6 --random-seed=230234824358800765306206065889005137096 src/sage/libs/gap/element.pyx  # Killed due to segmentation fault

Jaap
----------------------------------------------------------------------

Enrique Artal

unread,
Mar 11, 2024, 8:11:37 AMMar 11
to sage-release
In rc2 and Fedora 39, I had the same issue. With rc3 and Fedora 39, also, but with python 3.11, it is OK. May it be related to python 3.12 from system?
 Enrique

Dima Pasechnik

unread,
Mar 11, 2024, 8:34:35 AMMar 11
to sage-r...@googlegroups.com
On Wed, Mar 6, 2024 at 12:02 PM Jaap Spies <jaap...@gmail.com> wrote:
Operating System: Fedora Linux 39
Kernel Version: 6.7.3-200.fc39.x86_64 (64-bit)
Processors: 24 × 13th Gen Intel® Core™ i7-13700KF
Memory: 31,2 GiB of RAM

make ptestlong
same error as expected:
----------------------------------------------------------------------
sage -t --long --warn-long 29.6 --random-seed=230234824358800765306206065889005137096 src/sage/libs/gap/element.pyx  # Killed due to segmentation fault

getting back to this error:
So running something like
 
./sage -tp 24 --long  --random-seed=230234824358800765306206065889005137096 src/sage/libs/gap/element.pyx

still leads to the segfault, right?

If so, could you add "print(rnd)" after "rnd = [...]" in the test in question
and re-run the above command?

(The idea is to print the actual value of rnd that causes the segfault)

--- a/src/sage/libs/gap/element.pyx
+++ b/src/sage/libs/gap/element.pyx
@@ -2488,6 +2488,7 @@ cdef class GapElement_Function(GapElement):
 
             sage: for i in range(100):
             ....:     rnd = [ randint(-10,10) for i in range(randint(0,7)) ]
+            ....:     print(rnd)
             ....:     # compute the sum in GAP
             ....:     _ = libgap.Sum(rnd)
             ....:     try:

It's most probably related to the fact that you're apparently using Python 3.12, installed on your OS,
to build and run sage (judging from libpython3.12.so mentioned in the log you posted few days ago, for an earllier rc or beta).
I tried reproducing this by using a built from source Python 3.12 on Fedora 38, but all is good there.

Officially we still only support Python 3.11.
We have similar issues open: 

Dima

Dima Pasechnik

unread,
Mar 11, 2024, 9:20:51 AMMar 11
to sage-r...@googlegroups.com
On Mon, Mar 11, 2024 at 12:11 PM Enrique Artal <enriqu...@gmail.com> wrote:
In rc2 and Fedora 39, I had the same issue. With rc3 and Fedora 39, also, but with python 3.11, it is OK. May it be related to python 3.12 from system?

Are you on Python 3.12.2 ? Or an earlier release?
 

Jaap Spies

unread,
Mar 11, 2024, 1:34:33 PMMar 11
to sage-r...@googlegroups.com
Python 3.12.2 (main, Feb 21 2024, 00:00:00) [GCC 13.2.1 20231205 (Red Hat 13.2.1-6)] on linux


Jaap


Jaap Spies

unread,
Mar 11, 2024, 2:41:17 PMMar 11
to sage-r...@googlegroups.com
This is what happens:


sage: s(libgap(1), libgap(2)) ## line 2483 ##
sage: for i in range(100):
   rnd = [ randint(-10,10) for i in range(randint(0,7)) ]
   print(rnd)  

   # compute the sum in GAP
   _ = libgap.Sum(rnd)
   try:
       libgap.Sum(*rnd)
       print('This should have triggered a ValueError')
       print('because Sum needs a list as argument')
   except ValueError:
       pass ## line 2489 ##
[-9, 0]
[]
[]
[-5, -6, 2, -4, 8]
[-1, -3, 5, 5, -3, -1, -9]
[1, -2]
[2, -9, 3, -5, 7, -3]
[5, 4, -3, -9, 10]
[2, -5, 10, -9]
[-8, -9, -3, -6, 2, 2, -7]
[9, 5, 5, -8, 0, 0, 0]
[9, -6, -5, 7, -2, 8]
[]
[0, -4, 10, -8, 2]
[-9]
[]
[5]
[6, 9]
[8, 5, -7, 5, 1, -1]
[]
[10, -7, 9]
------------------------------------------------------------------------
/home/jaap/sagemath/sage-10.3.rc2/local/var/lib/sage/venv-python3.12/lib64/python3.12/site-packages/cysignals/signals.cpython-312-x86_64-linux-gnu.so(+0x9f1c)[0x7
f7dd89b0f1c]
/home/jaap/sagemath/sage-10.3.rc2/local/var/lib/sage/venv-python3.12/lib64/python3.12/site-packages/cysignals/signals.cpython-312-x86_64-linux-gnu.so(+0x9fb6)[0x7
f7dd89b0fb6]
/home/jaap/sagemath/sage-10.3.rc2/local/var/lib/sage/venv-python3.12/lib64/python3.12/site-packages/cysignals/signals.cpython-312-x86_64-linux-gnu.so(+0xc966)[0x7
f7dd89b3966]
/lib64/libc.so.6(+0x3e9a0)[0x7f7de6c5c9a0]
/home/jaap/sagemath/sage-10.3.rc2/src/sage/libs/gap/element.cpython-312-x86_64-linux-gnu.so(+0x3923c)[0x7f7d869d623c]
/home/jaap/sagemath/sage-10.3.rc2/src/sage/libs/gap/element.cpython-312-x86_64-linux-gnu.so(+0x39ffb)[0x7f7d869d6ffb]
/lib64/libpython3.12.so.1.0(_PyObject_Call+0x79)[0x7f7de7022149]
/lib64/libpython3.12.so.1.0(+0x1101e4)[0x7f7de6f101e4]
/lib64/libpython3.12.so.1.0(PyEval_EvalCode+0xb6)[0x7f7de708b316]
/lib64/libpython3.12.so.1.0(+0x2a647c)[0x7f7de70a647c]
/lib64/libpython3.12.so.1.0(+0x110c63)[0x7f7de6f10c63]
/lib64/libpython3.12.so.1.0(_PyObject_FastCallDictTstate+0x11f)[0x7f7de6ff9aff]
/lib64/libpython3.12.so.1.0(_PyObject_Call_Prepend+0x73)[0x7f7de701ea33]
/lib64/libpython3.12.so.1.0(+0x2cb7c5)[0x7f7de70cb7c5]
/lib64/libpython3.12.so.1.0(_PyObject_MakeTpCall+0x125)[0x7f7de6ff7435]
/lib64/libpython3.12.so.1.0(+0x10f7c3)[0x7f7de6f0f7c3]
/lib64/libpython3.12.so.1.0(_PyObject_FastCallDictTstate+0xa6)[0x7f7de6ff9a86]
/lib64/libpython3.12.so.1.0(+0x21e842)[0x7f7de701e842]
/lib64/libpython3.12.so.1.0(+0x1f75db)[0x7f7de6ff75db]
/lib64/libpython3.12.so.1.0(_PyObject_MakeTpCall+0x76)[0x7f7de6ff7386]
/lib64/libpython3.12.so.1.0(+0x10f7c3)[0x7f7de6f0f7c3]
/lib64/libpython3.12.so.1.0(PyEval_EvalCode+0xb6)[0x7f7de708b316]
/lib64/libpython3.12.so.1.0(+0x2ae05a)[0x7f7de70ae05a]
/lib64/libpython3.12.so.1.0(+0x2a8f6e)[0x7f7de70a8f6e]
/lib64/libpython3.12.so.1.0(+0x2c9a93)[0x7f7de70c9a93]
/lib64/libpython3.12.so.1.0(_PyRun_SimpleFileObject+0x1ca)[0x7f7de70c912a]
/lib64/libpython3.12.so.1.0(_PyRun_AnyFileObject+0x4f)[0x7f7de70c8c9f]
/lib64/libpython3.12.so.1.0(Py_RunMain+0x352)[0x7f7de70b9922]
/lib64/libpython3.12.so.1.0(Py_BytesMain+0x3c)[0x7f7de70750dc]
/lib64/libc.so.6(+0x2814a)[0x7f7de6c4614a]
/lib64/libc.so.6(__libc_start_main+0x8b)[0x7f7de6c4620b]
python3(_start+0x25)[0x556e9f719095]
------------------------------------------------------------------------


Jaap

On Mon, Mar 11, 2024 at 1:34 PM Dima Pasechnik <dim...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages