Sage 9.5 released

133 views
Skip to first unread message

Volker Braun

unread,
Jan 30, 2022, 10:48:26 AM1/30/22
to sage-release
The "master" git branch has been updated to Sage-9.5. 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

439907fd9a (tag: 9.5, trac/master, trac/develop) Updated SageMath version to 9.5
2e5d421a71 Trac #33243: Parallel docbuild broken with GNU make 4
3320e6eb58 Trac #33240: Demote linter errors about importing from "all" to warnings for now
4fc017fc6f Trac #33183: Better fix installation of cryptominisat and pycryptosat
34ab622b1e Trac #33151: sage-conf_pypi does not build wheelhouse
fb599d00f3 Trac #30933: GH Actions: Repair upload of docker images to docker.pkg.github.com
7f8ee0f513 Trac #33219: defining back ffmpeg as an external feature (which are not doctested by default)
97d550d15c (tag: 9.5.rc4) Updated SageMath version to 9.5.rc4

Thierry Dumont

unread,
Jan 30, 2022, 12:59:39 PM1/30/22
to sage-r...@googlegroups.com
On Ubuntu 21-10:
-upgrading from 9.4
-upgrading from 9.5rc4
compilation ok in both cases.

Matthias Köppe

unread,
Jan 30, 2022, 2:21:50 PM1/30/22
to sage-release
On Sunday, January 30, 2022 at 7:48:26 AM UTC-8 Volker Braun wrote:
The "master" git branch has been updated to Sage-9.5. 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

439907fd9a (tag: 9.5, trac/master, trac/develop) Updated SageMath version to 9.5

Thanks, Volker, for the new release!

I have prepared the 9.5 changelog at https://github.com/sagemath/website/pull/232/files
 


 

François Bissey

unread,
Jan 30, 2022, 5:22:55 PM1/30/22
to sage-r...@googlegroups.com
Can we have a sage-9.5 tarball on GitHub soon? It is the only place I can find the “src/doc” folder needed to build the documentation in sage-on-gentoo currently.
> --
> 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/5d97e4a9-f0ab-46cf-9616-2d039ae4cf8an%40googlegroups.com.

Thierry

unread,
Jan 30, 2022, 5:48:47 PM1/30/22
to sage-r...@googlegroups.com
Hi,

On Mon, Jan 31, 2022 at 11:22:49AM +1300, François Bissey wrote:
> Can we have a sage-9.5 tarball on GitHub soon? It is the only place I can find the “src/doc” folder needed to build the documentation in sage-on-gentoo currently.

You can find it on the mirrors
https://www.sagemath.org/download-source.html e.g.
http://www-ftp.lip6.fr/pub/math/sagemath/src/sage-9.5.tar.gz

Ciao,
Thierry



>
> > On 31/01/2022, at 08:21, Matthias Köppe <matthia...@gmail.com> wrote:
> >
> > On Sunday, January 30, 2022 at 7:48:26 AM UTC-8 Volker Braun wrote:
> > The "master" git branch has been updated to Sage-9.5. 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
> >
> > 439907fd9a (tag: 9.5, trac/master, trac/develop) Updated SageMath version to 9.5
> >
> > Thanks, Volker, for the new release!
> >
> > I have prepared the 9.5 changelog at https://github.com/sagemath/website/pull/232/files
> >
> >
> >
> >
> >
> > --
> > 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/5d97e4a9-f0ab-46cf-9616-2d039ae4cf8an%40googlegroups.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/007F5911-918D-43C2-923A-8C00BD2BC62A%40gmail.com.

François Bissey

unread,
Jan 30, 2022, 5:51:33 PM1/30/22
to sage-r...@googlegroups.com
That page is still listing 9.4 and not all mirrors have 9.5 yet. aarnet which would be my closest mirror is not yet updated at the time of writing.
I guess I’ll wait a few hours.

Emmanuel Charpentier

unread,
Jan 30, 2022, 6:25:49 PM1/30/22
to sage-release

FWIW, rebuilding (make distclean & configure <...> && make) 9.5 and running ptestlong on Debian testing running on core i7 + 16 GB RAM gets me two permanent failures already reported on previous versions :

sage -t --long --warn-long 261.6 --random-seed=336852289013645786488965399190997684269 src/sage/algebras/quantum_groups/quantum_group_gap.py  # 1 doctest failed
sage -t --long --warn-long 261.6 --random-seed=336852289013645786488965399190997684269 src/sage/functions/min_max.py  # 2 doctests failed

In other words, rebuilding Sage solved my recently reported giac problem ; running system’s giac 1.7.0 solves the integration problem recently reported wit Sages giac 1.6.0 version.

On the other hand, my problem with eigenvalues of algebraic matrices remains unsolved.

HTH,

François Bissey

unread,
Jan 30, 2022, 9:14:15 PM1/30/22
to 'Justin C. Walker' via sage-release
I just remember while downloading one of these tarballs why I prefer the GitHub one. It is much smaller since it doesn’t have the “upstream” folder which is otherwise irrelevant to my packaging. Downloading one of these for my purpose is a waste of bandwidth for me and the users.

Kenji Iohara

unread,
Jan 30, 2022, 9:58:26 PM1/30/22
to sage-r...@googlegroups.com, François Bissey
On my Mac OS 12.1 with intel core i5 , it compiled from the first built. 
But  ``make ptest’’ failed; here is the log file. 
ptest.log

Sébastien Labbé

unread,
Jan 31, 2022, 7:53:23 AM1/31/22
to sage-release
On Sunday, January 30, 2022 at 4:48:26 PM UTC+1 Volker Braun wrote:
The "master" git branch has been updated to Sage-9.5. 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


Thank you Volker and all the authors and reviewers for the release of 9.5!

Sébastien

Eric Gourgoulhon

unread,
Jan 31, 2022, 8:27:32 AM1/31/22
to sage-release
Thank you Volker for the release!

On Ubuntu 20.04 running on Xeon E5-2623 + 16 GB RAM:
- parallel build (-j16) from a fresh git clone, with system python (3.8.10): OK
- make ptestlong: passed, except for 2 doctests in src/sage/game_theory/parser.py
This failure is the lrslib issue dealt with in https://trac.sagemath.org/ticket/33101

Eric.

John Cremona

unread,
Jan 31, 2022, 8:47:36 AM1/31/22
to sage-r...@googlegroups.com
I just successfully built 9.5 from a fresh tarball. After completing
the build I installed (as I usually do) an optional package with the
command-line "./sage -i database_cremona_ellcurve" and now it is
rebuilding gmp. What is going on here? Has the way of installing
optional packages changed -- in which case, surely the use of "sage
-i" should tell you what to do instead, instead of doing the 'wrong'
thing?

John
> --
> 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/962f64b0-84a8-403c-9bc0-a9637d71588en%40googlegroups.com.

Emmanuel Charpentier

unread,
Jan 31, 2022, 11:54:59 AM1/31/22
to sage-release

On a different machine (core i5, 8 GB RAM, Debian testing), upgrading 0.5.beta9 to 9.5 and running ptestlong gave me one transient failure :

sage -t --long --warn-long 74.8 --random-seed=59699483190469457521702555167348289436 src/sage/interfaces/expect.py  # 2 doctests failed

which passed when ran standalone, and three permanent failures :

harpent@p-202-021:/usr/local/sage-9$ sage -t --long --warn-long 74.8 --random-seed=59699483190469457521702555167348289436 src/sage/algebras/quantum_groups/quantum_group_gap.py  # 1 doctest failed
Running doctests with ID 2022-01-31-17-37-40-17a6a0ea.
Git branch: develop
Using --optional=build,debian,debugpy,dot2tex,fricas,gap_packages,libsemigroups,pip,sage,sage_spkg
Features to be detected: 4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_jones_numfield,database_knotinfo,dvipng,graphviz,imagemagick,jupymake,kenzo,latte_int,lrslib,mcqd,meataxe,pandoc,pdf2svg,plantri,pynormaliz,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.plot,sage.rings.number_field,sage.rings.real_double,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,sphinx,tdlib
Doctesting 1 file.
sage -t --long --warn-long 74.8 --random-seed=59699483190469457521702555167348289436 src/sage/algebras/quantum_groups/quantum_group_gap.py
**********************************************************************
File "src/sage/algebras/quantum_groups/quantum_group_gap.py", line 1752, in sage.algebras.quantum_groups.quantum_group_gap.HighestWeightModule._latex_
Failed example:
    latex(V)  # optional - gap_packages
Expected:
    V(\Lambda_{1} + 2\Lambda_{2})
Got:
    V(\Lambda_{1} + 2 \Lambda_{2})
**********************************************************************
1 item had failures:
   1 of   4 in sage.algebras.quantum_groups.quantum_group_gap.HighestWeightModule._latex_
    [529 tests, 1 failure, 11.60 s]
----------------------------------------------------------------------
sage -t --long --warn-long 74.8 --random-seed=59699483190469457521702555167348289436 src/sage/algebras/quantum_groups/quantum_group_gap.py  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 11.7 seconds
    cpu time: 10.7 seconds
    cumulative wall time: 11.6 seconds
Features detected for doctesting: 
Pytest is not installed, skip checking tests that rely on it.

which seems purely cosmetic (and already seen),

charpent@p-202-021:/usr/local/sage-9$ sage -t --long --warn-long 74.8 --random-seed=59699483190469457521702555167348289436 src/sage/libs/giac/giac.pyx  # 4 doctests failed
Running doctests with ID 2022-01-31-17-38-50-a8e7831a.
Git branch: develop
Using --optional=build,debian,debugpy,dot2tex,fricas,gap_packages,libsemigroups,pip,sage,sage_spkg
Features to be detected: 4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_jones_numfield,database_knotinfo,dvipng,graphviz,imagemagick,jupymake,kenzo,latte_int,lrslib,mcqd,meataxe,pandoc,pdf2svg,plantri,pynormaliz,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.plot,sage.rings.number_field,sage.rings.real_double,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,sphinx,tdlib
Doctesting 1 file.
sage -t --long --warn-long 74.8 --random-seed=59699483190469457521702555167348289436 src/sage/libs/giac/giac.pyx
**********************************************************************
File "src/sage/libs/giac/giac.pyx", line 1464, in sage.libs.giac.giac.encstring23.GiacSetting.Pygen.__iter__._integer_
Failed example:
    ZZ(c^1000)
Expected:
    -233775163595
Got:
    -543162366
**********************************************************************
File "src/sage/libs/giac/giac.pyx", line 1466, in sage.libs.giac.giac.encstring23.GiacSetting.Pygen.__iter__._integer_
Failed example:
    Mod(2,next_prime(2^40))^1000 - ZZ(c^1000)
Expected:
    0
Got:
    867635435330
**********************************************************************
File "src/sage/libs/giac/giac.pyx", line 1468, in sage.libs.giac.giac.encstring23.GiacSetting.Pygen.__iter__._integer_
Failed example:
    2^320-(c^320).sage()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/doctest/forker.py", line 694, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/doctest/forker.py", line 1088, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.libs.giac.giac.encstring23.GiacSetting.Pygen.__iter__._integer_[7]>", line 1, in <module>
        Integer(2)**Integer(320)-(c**Integer(320)).sage()
      File "sage/libs/giac/giac.pyx", line 1600, in sage.libs.giac.giac.Pygen.sage (build/cythonized/sage/libs/giac/giac.cpp:148122)
        sig_on()
    cysignals.signals.SignalError: Segmentation fault
**********************************************************************
File "src/sage/libs/giac/giac.pyx", line 1561, in sage.libs.giac.giac.encstring23.GiacSetting.Pygen.__iter__.sage
Failed example:
    (a.sage())^6
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/doctest/forker.py", line 694, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/sage-9/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage/doctest/forker.py", line 1088, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.libs.giac.giac.encstring23.GiacSetting.Pygen.__iter__.sage[6]>", line 1, in <module>
        (a.sage())**Integer(6)
      File "sage/libs/giac/giac.pyx", line 1600, in sage.libs.giac.giac.Pygen.sage (build/cythonized/sage/libs/giac/giac.cpp:148122)
        sig_on()
    cysignals.signals.SignalError: Segmentation fault
**********************************************************************
2 items had failures:
   3 of   9 in sage.libs.giac.giac.encstring23.GiacSetting.Pygen.__iter__._integer_
   1 of  19 in sage.libs.giac.giac.encstring23.GiacSetting.Pygen.__iter__.sage
    [295 tests, 4 failures, 4.70 s]
----------------------------------------------------------------------
sage -t --long --warn-long 74.8 --random-seed=59699483190469457521702555167348289436 src/sage/libs/giac/giac.pyx  # 4 doctests failed
----------------------------------------------------------------------
Total time for all tests: 4.8 seconds
    cpu time: 4.9 seconds
    cumulative wall time: 4.7 seconds
Features detected for doctesting: 
Pytest is not installed, skip checking tests that rely on it.

which is more serious (and was observed on the first machine before full rebuild), and

charpent@p-202-021:/usr/local/sage-9$ sage -t --long --warn-long 74.8 --random-seed=59699483190469457521702555167348289436 src/sage/functions/min_max.py  # 2 doctests failed
Running doctests with ID 2022-01-31-17-39-16-b2786612.
Git branch: develop
Using --optional=build,debian,debugpy,dot2tex,fricas,gap_packages,libsemigroups,pip,sage,sage_spkg
Features to be detected: 4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_jones_numfield,database_knotinfo,dvipng,graphviz,imagemagick,jupymake,kenzo,latte_int,lrslib,mcqd,meataxe,pandoc,pdf2svg,plantri,pynormaliz,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.plot,sage.rings.number_field,sage.rings.real_double,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,sphinx,tdlib
Doctesting 1 file.
sage -t --long --warn-long 74.8 --random-seed=59699483190469457521702555167348289436 src/sage/functions/min_max.py
**********************************************************************
File "src/sage/functions/min_max.py", line 236, in sage.functions.min_max.MaxSymbolic._evalf_
Failed example:
    r
Expected:
    sqrt(2) - cos(1)
Got:
    0.873911256505000
**********************************************************************
File "src/sage/functions/min_max.py", line 238, in sage.functions.min_max.MaxSymbolic._evalf_
Failed example:
    r.n()
Expected:
    0.873911256504955
Got:
    0.873911256505000
**********************************************************************
1 item had failures:
   2 of  11 in sage.functions.min_max.MaxSymbolic._evalf_
    [69 tests, 2 failures, 0.98 s]
----------------------------------------------------------------------
sage -t --long --warn-long 74.8 --random-seed=59699483190469457521702555167348289436 src/sage/functions/min_max.py  # 2 doctests failed
----------------------------------------------------------------------
Total time for all tests: 1.0 seconds
    cpu time: 1.2 seconds
    cumulative wall time: 1.0 seconds
Features detected for doctesting: 
Pytest is not installed, skip checking tests that rely on it.

Sage uses system’s giac, which is 1.7.0.

These results (and those observed on the other machine) seem to point to some unrecorded dependencies of the giac interface. They also point to some deficiency in giac’s handling of large integers and in signal management in Cythonized code…

HTH,

Samuel Lelièvre

unread,
Feb 1, 2022, 4:13:38 AM2/1/22
to sage-release
2022-01-30 15:48 UTC, Volker Braun:
>
> 439907fd9a (tag: 9.5) Updated SageMath version to 9.5

Thanks Volker for this new release!

On Debian 10 buster, `make -s V=0 ptestlong` fails on two files:
```
... src/sage/features/interfaces.py # Timed out
... src/sage/game_theory/parser.py # 2 doctests failed
```

Ticket #33101 takes care of `src/sage/game_theory/parser.py`.
Ticket #33248 takes care of `src/sage/features/interfaces.py`.

After applying these two tickets on top of Sage 9.5, "All tests passed!".

Ticket #33101 has been closed, which likely means it will be part
of Sage 9.6.beta0. Please consider including #33248 too. That way
my "pascaline" patchbot can be restarted. --Samuel

Samuel Lelièvre

unread,
Feb 4, 2022, 4:39:44 PM2/4/22
to sage-release
2022-01-30 15:48 UTC, Volker Braun:
>
> 439907fd9a (tag: 9.5) Updated SageMath version to 9.5

Andrey Novoseltsev reports issues updating SageCell
to use Sage 9.5:

https://groups.google.com/g/sage-cell/c/ttEhExVQQbk

Samuel Lelièvre

unread,
Feb 4, 2022, 4:41:45 PM2/4/22
to sage-release
2022-01-30 15:48 UTC, Volker Braun:
>
> 439907fd9a (tag: 9.5) Updated SageMath version to 9.5

In Cygwin in Windows 10, the build fails for me
on `sagemath_doc_html`, as has been the case
on that machine since Sage 9.5.beta7.
Reply all
Reply to author
Forward
0 new messages