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.html439907fd9a (tag: 9.5, trac/master, trac/develop) Updated SageMath version to 9.5
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,
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
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,