Sage 10.4.beta7 released

105 views
Skip to first unread message

Volker Braun

unread,
May 25, 2024, 3:18:40 PMMay 25
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

Fixes OSX but 32-bit is still broken.

77323e28f7c (tag: 10.4.beta7, github/develop) Updated SageMath version to 10.4.beta7
7e761162d6e gh-38049: Fix broken docker/Dockerfile
c2b63fcb1c9 gh-38046: Fix wrong urls in changes.html
81c1fd99154 gh-38045: simplify handling of dead oeis sequences
001b8fb65fb gh-38042: assign names to constructed Hadamard matrices
4f8a407595f gh-38041: Installation Guide: Remove some distracting wikipedia links
8b08434758a gh-38038: cython-lint in quivers/
b17bc6fa7e5 gh-38036: cython-lint for schemes
e93e77d4f80 gh-38033: Avoid conflict with macro `minor`
9ac71104b57 gh-38031: Remove remaining `# coding: utf-8` lines in `src/sage`
1858f074cbd gh-38030: Relative to absolute imports, `del lazy_import` in `.all` files
6d02e7b730e gh-38027: Work on `FlatsMatroid`
886fb1d21cb gh-38025: `fflas_ffpack`, `linbox`: Switch to release tarballs with working libtool
fe3f4fdd6a6 gh-38023: tox.ini (local-homebrew): Fix homebrew auto-update breakage
ccc8895ab5e gh-38022: `sage.schemes`: Deprecate `is_...` functions
8a3aa875d43 gh-38021: `build/pkgs/flint/spkg-configure.m4`: Reject broken FLINT package on homebrew
10c4e781832 gh-38020: Workaround for passing givaro library to linker on OSX
62089f753d2 gh-38018: move Frobenius and derivations to category of Commutative Rings
fd6c71c8dd5 gh-38016: `Arch Linux`: Remove `libgiac` and rename `texlive-collection-luatex`
0dc8b4ea9b6 gh-38013: `DualMatroid`: Add `is_valid` and `relabel` methods
aa6f8a7834a gh-38008: `gcc`, `gfortran`: Update to 13.2.0; remove `debian-buster-gcc_spkg` from CI
74f244c8fb6 gh-38005: Fix Help menu breakdown in external jupyterlab case
bcf27091ef2 gh-37995: Remove interactive confirmation for installing experimental packages
6f7f7be6ce0 gh-37994: some care for empty lines in pyx files (pep8 codes E30)
7834014801d gh-37993: `sage.calculus.expr`: Split out from `sage.calculus.all`
f66875794a0 gh-37986: `.github/workflows/docker_hub.yml`: Do not fail when there are no credentials
c7183b8b632 gh-37984: Ruff details in algebras and categories
e02486a80bc gh-37980: Fix order computation for linear groups GL(n, R) and SL(n, R)
7473e4f653d gh-37973: Remove legacy direct installation of sagelib (`configure --disable-editable --disable-wheels`)
7fdafbd7a26 gh-37972: Fix comparison for divisors of curves (and FormalSum commutativity)
1de533d5c1a gh-37959: `configure`: Fix "command not found" error after #36776
8d871d3d5c7 gh-37952: Adding add_bigoh methods to lazy power/Laurent series and coercions to the finite precision implementations
a2c88a66666 gh-37951: declare the last arg to GAP_CallFunc3Args volatile
b2c3894386c gh-37930: Work on `CircuitsMatroid`
0da8273847a gh-37926: `Makefile`, `.ci/write-dockerfile.sh`: Update for `src/pyproject.toml` after #36982
11aff1eda9d gh-37924: Deprecate `is_FGP_Module`, `is_FilteredVectorSpace`, `is_FreeQuadraticModule`, `is_FreeModule`, `is_FreeModuleHomspace`, `is_MatrixSpace`, `is_Module`, `is_VectorSpace`, `is_VectorSpaceHomspace`
25a5f963447 gh-37922: Deprecate `is_Category`, `is_Endset`, `is_Homset`, `is_Parent`, `is_RingHomset`, `is_SimplicialComplexHomset`
4e30af09e34 gh-37895: `sage.modular.hecke`: Deprecate `is_Hecke...` functions
c3719ba911a gh-37886: Remove pointless rpaths on macOS; make sage-env polite when run on systems with no toolchain
e8b7fbb7945 gh-37873: `sage.libs.pynac`: Remove, deprecated in #32386 (2021)
5110596b18e gh-37864: `sage.numerical.interactive_simplex_method`: Remove dependency on SR
b13df98cae7 gh-37840: `sage-logger`: Replace use of `/usr/bin/time` by bash keyword `time`
3ca2d0996f5 gh-37726: sage-bootstrap: update cryptographic hashes
179603d6c50 gh-37690: using pathlib.Path to handle attached files
b1d0e63262a gh-37458: Improve FLINT autogen README
fec763c40e0 gh-37453: tox.ini: Add environments `ruff`, `ruff-minimal`; GH Actions: run `ruff-minimal`
5c0dd607aaf gh-37415: make EllipticCurvePoint_field inherit from EllipticCurvePoint
4a6edc3d308 gh-37203: `build/pkgs/flint` 3.1.3
83a7fac354e gh-36525: GH Actions: Fix build of macOS x86_64 wheels, build wheels for sagemath-{bliss,coxeter3,mcqd,tdlib} for PyPI
c4681e3e496 gh-37726: sage-bootstrap: update cryptographic hashes
ffbbea9cb23 (tag: 10.4.beta6) Updated SageMath version to 10.4.beta6

Clemens Heuberger

unread,
May 26, 2024, 3:47:28 AMMay 26
to sage-r...@googlegroups.com

I have persistent errors in Linux Mint 20.3 which I have not seen before.

sage -t --long --warn-long 156.6
--random-seed=130831537761804386030671157856285760117
src/sage/groups/misc_gps/argument_groups.py # 6 doctests failed
sage -t --long --warn-long 156.6
--random-seed=130831537761804386030671157856285760117 src/sage/interfaces/gp.py
# 1 doctest failed
sage -t --long --warn-long 156.6
--random-seed=130831537761804386030671157856285760117
src/sage/libs/pari/tests.py # 2 doctests failed
sage -t --long --warn-long 156.6
--random-seed=130831537761804386030671157856285760117
src/sage/rings/lazy_series_ring.py # 2 doctests failed
sage -t --long --warn-long 156.6
--random-seed=130831537761804386030671157856285760117
src/sage/rings/lazy_series.py # 2 doctests failed
sage -t --long --warn-long 156.6
--random-seed=130831537761804386030671157856285760117
src/sage/rings/padics/padic_generic_element.pyx # 2 doctests failed
sage -t --long --warn-long 156.6
--random-seed=130831537761804386030671157856285760117 src/sage/rings/qqbar.py #
1 doctest failed
sage -t --long --warn-long 156.6
--random-seed=130831537761804386030671157856285760117
src/sage/stats/basic_stats.py # 2 doctests failed
sage -t --long --warn-long 156.6
--random-seed=130831537761804386030671157856285760117
src/sage/stats/distributions/discrete_gaussian_lattice.py # Timed out

Log file of

./sage -t --long --random-seed=130831537761804386030671157856285760117
src/sage/groups/misc_gps/argument_groups.py src/sage/interfaces/gp.py
src/sage/interfaces/process.pyx src/sage/libs/pari/tests.py
src/sage/rings/lazy_series_ring.py src/sage/rings/lazy_series.py
src/sage/rings/padics/padic_generic_element.pyx src/sage/rings/qqbar.py
src/sage/stats/basic_stats.py
src/sage/stats/distributions/discrete_gaussian_lattice.py

attached.

Am 25.05.24 um 21:18 schrieb Volker Braun:
> --
> 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
> <mailto:sage-release...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-release/86c63916-ac84-4c0f-a6f9-421aafd18e71n%40googlegroups.com <https://groups.google.com/d/msgid/sage-release/86c63916-ac84-4c0f-a6f9-421aafd18e71n%40googlegroups.com?utm_medium=email&utm_source=footer>.
test-2.log

Enrique Artal

unread,
May 26, 2024, 4:10:13 AMMay 26
to sage-release
In Fedora 40 I encountered one error building the documentation, because it did not find libflint.so.18 (it is now libflint.so.19). I got two solutions: symbolic link of libflint.so.19 to libflint.so.19, or complete rebuild.

The test passed for src/sage/libs/gap/element.pyx and had the following errors:
----------------------------------------------------------------------
sage -t --warn-long 41.7 --random-seed=202040355264923817183740811695574750001 src/sage/interfaces/maxima_abstract.py  # 2 doctests failed
sage -t --warn-long 41.7 --random-seed=202040355264923817183740811695574750001 src/sage/tests/cmdline.py  # 12 doctests failed
sage -t --warn-long 41.7 --random-seed=202040355264923817183740811695574750001 src/sage/interfaces/giac.py  # 3 doctests failed
sage -t --warn-long 41.7 --random-seed=202040355264923817183740811695574750001 src/sage/rings/real_mpfr.pyx  # 1 doctest failed
sage -t --warn-long 41.7 --random-seed=202040355264923817183740811695574750001 src/sage/calculus/tests.py  # 1 doctest failed
----------------------------------------------------------------------

The error for cmdline.py is old and related to sage_sws2rst.

For tests.py:

**********************************************************************
File "src/sage/calculus/tests.py", line 126, in sage.calculus.tests
Failed example:
   integrate(x^x,x)
Expected:
   integrate(x^x, x)
Got:
   /usr/include/c++/14/bits/stl_vector.h:1130: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = long long int
; _Alloc = std::allocator<long long int>; reference = long long int&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
   integrate(x^x, x)
**********************************************************************

For real_mpfr.pyx is a fricas failure. For giac.py, maybe it comes from the system package as for maxima_abstract.py

Antonio Rojas

unread,
May 26, 2024, 4:15:06 AMMay 26
to sage-release

Emmanuel Charpentier

unread,
May 30, 2024, 7:21:16 AMMay 30
to sage-release

On Debian testing running on core i7 + 16 GB RAM, upgrading 9.4.beta6 to 9.4.beta7 and running ptestlong gives two permanent failures :

---------------------------------------------------------------------- sage -t --long --warn-long 238.3 --random-seed=287407045809936856009614328219870119801 src/sage/algebras/quatalg/quaternion_algebra.py # 3 doctests failed sage -t --long --warn-long 238.3 --random-seed=287407045809936856009614328219870119801 src/sage/misc/cython.py # 3 doctests failed ----------------------------------------------------------------------

Reproduction :

charpent@zen-book-flip:/usr/local/sage-10$ sage -t --long --warn-long 238.3 --random-seed=287407045809936856009614328219870119801 src/sage/algebras/quatalg/quaternion_algebra.py # 3 doctests failed Running doctests with ID 2024-05-30-13-11-12-d2e13905. Git branch: develop Git ref: 10.1.beta0-11262-g77323e28f7 Running with SAGE_LOCAL='/usr/local/sage-10/local' and SAGE_VENV='/usr/local/sage-10/local/var/lib/sage/venv-python3.11' Using --optional=debian,dot2tex,fricas,gap_jupyter,gap_packages,libsemigroups,msolve,pari_jupyter,pip,pysingular,qepcad,saclib,sage,sage_spkg,singular_jupyter,symengine Features to be detected: 4ti2,SAGE_SRC,benzene,bliss,buckygen,conway_polynomials,csdp,cvxopt,cvxopt,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_ellcurves,database_graphs,database_jones_numfield,database_knotinfo,dvipng,ecm,fpylll,fricas,gap_package_atlasrep,gap_package_design,gap_package_grape,gap_package_guava,gap_package_hap,gap_package_polycyclic,gap_package_qpa,gap_package_quagroup,gfan,graphviz,imagemagick,ipython,jmol,jupymake,kenzo,latte_int,lrcalc_python,lrslib,matroid_database,mcqd,meataxe,mpmath,msolve,nauty,networkx,numpy,palp,pandoc,pdf2svg,pdftocairo,pexpect,phitigra,pillow,plantri,polytopes_db,polytopes_db_4d,pplpy,primecountpy,ptyprocess,pynormaliz,pyparsing,python_igraph,requests,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.libs.braiding,sage.libs.ecl,sage.libs.flint,sage.libs.gap,sage.libs.linbox,sage.libs.m4ri,sage.libs.ntl,sage.libs.pari,sage.libs.singular,sage.misc.cython,sage.modular,sage.modules,sage.numerical.mip,sage.plot,sage.rings.complex_double,sage.rings.finite_rings,sage.rings.function_field,sage.rings.number_field,sage.rings.padics,sage.rings.polynomial.pbori,sage.rings.real_double,sage.rings.real_mpfr,sage.sat,sage.schemes,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,scipy,singular,sphinx,symengine_py,sympy,tdlib,threejs Doctesting 1 file. sage -t --long --warn-long 238.3 --random-seed=287407045809936856009614328219870119801 src/sage/algebras/quatalg/quaternion_algebra.py ********************************************************************** File "src/sage/algebras/quatalg/quaternion_algebra.py", line 3737, in sage.algebras.quatalg.quaternion_algebra.QuaternionFractionalIdeal_rational.is_principal Failed example: bool, alpha = I.is_principal(True) Exception raised: Traceback (most recent call last): File "/usr/local/sage-10/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/usr/local/sage-10/src/sage/doctest/forker.py", line 1146, in compile_and_execute exec(compiled, globs) File "<doctest sage.algebras.quatalg.quaternion_algebra.QuaternionFractionalIdeal_rational.is_principal[4]>", line 1, in <module> bool, alpha = I.is_principal(True) ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/sage-10/src/sage/algebras/quatalg/quaternion_algebra.py", line 3747, in is_principal c = self.theta_series_vector(2)[1] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/sage-10/src/sage/algebras/quatalg/quaternion_algebra.py", line 3028, in theta_series_vector Q = self.quadratic_form() ^^^^^^^^^^^^^^^^^^^^^ File "sage/misc/cachefunc.pyx", line 2329, in sage.misc.cachefunc.CachedMethodCallerNoArgs.__call__ self.cache = f(self._instance) File "/usr/local/sage-10/src/sage/algebras/quatalg/quaternion_algebra.py", line 3061, in quadratic_form gram_matrix = gram_matrix / g ~~~~~~~~~~~~^~~ File "sage/structure/element.pyx", line 4151, in sage.structure.element.Matrix.__truediv__ return coercion_model.bin_op(left, right, truediv) File "sage/structure/coerce.pyx", line 1227, in sage.structure.coerce.CoercionModel.bin_op return (<Action>action)._act_(y, x) File "sage/categories/action.pyx", line 506, in sage.categories.action.PrecomposedAction._act_ return self._action._act_(g, x) File "sage/categories/action.pyx", line 416, in sage.categories.action.InverseAction._act_ return self._action._act_(~g, x) File "sage/rings/rational.pyx", line 2539, in sage.rings.rational.Rational.__invert__ raise ZeroDivisionError('rational division by zero') ZeroDivisionError: rational division by zero ********************************************************************** File "src/sage/algebras/quatalg/quaternion_algebra.py", line 3738, in sage.algebras.quatalg.quaternion_algebra.QuaternionFractionalIdeal_rational.is_principal Failed example: bool Expected: True Got: <class 'bool'> ********************************************************************** File "src/sage/algebras/quatalg/quaternion_algebra.py", line 3740, in sage.algebras.quatalg.quaternion_algebra.QuaternionFractionalIdeal_rational.is_principal Failed example: I == O*alpha Exception raised: Traceback (most recent call last): File "/usr/local/sage-10/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/usr/local/sage-10/src/sage/doctest/forker.py", line 1146, in compile_and_execute exec(compiled, globs) File "<doctest sage.algebras.quatalg.quaternion_algebra.QuaternionFractionalIdeal_rational.is_principal[6]>", line 1, in <module> I == O*alpha ^^^^^ NameError: name 'alpha' is not defined ********************************************************************** 1 item had failures: 3 of 8 in sage.algebras.quatalg.quaternion_algebra.QuaternionFractionalIdeal_rational.is_principal [687 tests, 3 failures, 27.51 s] ---------------------------------------------------------------------- sage -t --long --warn-long 238.3 --random-seed=287407045809936856009614328219870119801 src/sage/algebras/quatalg/quaternion_algebra.py # 3 doctests failed ---------------------------------------------------------------------- Total time for all tests: 28.6 seconds cpu time: 27.5 seconds cumulative wall time: 27.5 seconds Features detected for doctesting: sage.symbolic charpent@zen-book-flip:/usr/local/sage-10$ sage -t --long --warn-long 238.3 --random-seed=287407045809936856009614328219870119801 src/sage/misc/cython.py # 3 doctests failed Running doctests with ID 2024-05-30-13-14-10-3f759f7f. Git branch: develop Git ref: 10.1.beta0-11262-g77323e28f7 Running with SAGE_LOCAL='/usr/local/sage-10/local' and SAGE_VENV='/usr/local/sage-10/local/var/lib/sage/venv-python3.11' Using --optional=debian,dot2tex,fricas,gap_jupyter,gap_packages,libsemigroups,msolve,pari_jupyter,pip,pysingular,qepcad,saclib,sage,sage_spkg,singular_jupyter,symengine Features to be detected: 4ti2,SAGE_SRC,benzene,bliss,buckygen,conway_polynomials,csdp,cvxopt,cvxopt,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_ellcurves,database_graphs,database_jones_numfield,database_knotinfo,dvipng,ecm,fpylll,fricas,gap_package_atlasrep,gap_package_design,gap_package_grape,gap_package_guava,gap_package_hap,gap_package_polycyclic,gap_package_qpa,gap_package_quagroup,gfan,graphviz,imagemagick,ipython,jmol,jupymake,kenzo,latte_int,lrcalc_python,lrslib,matroid_database,mcqd,meataxe,mpmath,msolve,nauty,networkx,numpy,palp,pandoc,pdf2svg,pdftocairo,pexpect,phitigra,pillow,plantri,polytopes_db,polytopes_db_4d,pplpy,primecountpy,ptyprocess,pynormaliz,pyparsing,python_igraph,requests,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.libs.braiding,sage.libs.ecl,sage.libs.flint,sage.libs.gap,sage.libs.linbox,sage.libs.m4ri,sage.libs.ntl,sage.libs.pari,sage.libs.singular,sage.misc.cython,sage.modular,sage.modules,sage.numerical.mip,sage.plot,sage.rings.complex_double,sage.rings.finite_rings,sage.rings.function_field,sage.rings.number_field,sage.rings.padics,sage.rings.polynomial.pbori,sage.rings.real_double,sage.rings.real_mpfr,sage.sat,sage.schemes,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,scipy,singular,sphinx,symengine_py,sympy,tdlib,threejs Doctesting 1 file. sage -t --long --warn-long 238.3 --random-seed=287407045809936856009614328219870119801 src/sage/misc/cython.py ********************************************************************** File "src/sage/misc/cython.py", line 137, in sage.misc.cython.? Failed example: cython(os.linesep.join(code)) Expected nothing Got: cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ ********************************************************************** File "src/sage/misc/cython.py", line 149, in sage.misc.cython.? Failed example: cython("# distutils: language = c++\n"+ "from libcpp.vector cimport vector\n" "cdef vector[int] * v = new vector[int](4)\n") Expected nothing Got: cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ ********************************************************************** File "src/sage/misc/cython.py", line 159, in sage.misc.cython.? Failed example: with tempfile.TemporaryDirectory() as d: os.chdir(d) with open("test.pyx", 'w') as f: _ = f.write("# distutils: language = c++\n" "from libcpp.vector cimport vector\n" "cdef vector[int] * v = new vector[int](4)\n") output = sage.misc.cython.cython("test.pyx", create_local_c_file=True) os.chdir(orig_cwd) Expected nothing Got: cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++ ********************************************************************** 1 item had failures: 3 of 22 in sage.misc.cython.? [44 tests, 3 failures, 14.51 s] ---------------------------------------------------------------------- sage -t --long --warn-long 238.3 --random-seed=287407045809936856009614328219870119801 src/sage/misc/cython.py # 3 doctests failed ---------------------------------------------------------------------- Total time for all tests: 15.6 seconds cpu time: 2.9 seconds cumulative wall time: 14.5 seconds Features detected for doctesting: sage.misc.cython

HTH,

Emmanuel Charpentier

unread,
May 30, 2024, 7:36:59 AMMay 30
to sage-release

On Ubuntu 24.04 running under WSL 2 on core i7 + 32 GB RAM, upgrading 10.4.beta5 to 10.4.beta7 and running ptestlonggives one transient failure (succeeds when ran standalone) :

sage -t --long --warn-long 99.4 --random-seed=319381397818908026740447949112662303559 src/sage/combinat/crystals/mv_polytopes.py # 1 doctest failed

and two permanent failures :

charpent@SAP5342949:/usr/local/sage-10$ sage -t --long --warn-long 99.4 --random-seed=319381397818908026740447949112662303559 src/sage/plot/animate.py # 1 doctest failed Running doctests with ID 2024-05-30-13-23-44-6059efd6. Git branch: develop Git ref: 77323e28f7 Running with SAGE_LOCAL='/usr/local/sage-10/local' and SAGE_VENV='/usr/local/sage-10/local/var/lib/sage/venv-python3.12' Using --optional=debian,dot2tex,fricas,gap_jupyter,gap_packages,libsemigroups,msolve,pip,pysingular,sage,sage_spkg,singular_jupyter Features to be detected: 4ti2,SAGE_SRC,benzene,bliss,buckygen,conway_polynomials,csdp,cvxopt,cvxopt,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_ellcurves,database_graphs,database_jones_numfield,database_knotinfo,dvipng,ecm,fpylll,fricas,gap_package_atlasrep,gap_package_design,gap_package_grape,gap_package_guava,gap_package_hap,gap_package_polycyclic,gap_package_qpa,gap_package_quagroup,gfan,graphviz,imagemagick,ipython,jmol,jupymake,kenzo,latte_int,lrcalc_python,lrslib,matroid_database,mcqd,meataxe,mpmath,msolve,nauty,networkx,numpy,palp,pandoc,pdf2svg,pdftocairo,pexpect,phitigra,pillow,plantri,polytopes_db,polytopes_db_4d,pplpy,primecountpy,ptyprocess,pynormaliz,pyparsing,python_igraph,requests,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.libs.braiding,sage.libs.ecl,sage.libs.flint,sage.libs.gap,sage.libs.linbox,sage.libs.m4ri,sage.libs.ntl,sage.libs.pari,sage.libs.singular,sage.misc.cython,sage.modular,sage.modules,sage.numerical.mip,sage.plot,sage.rings.complex_double,sage.rings.finite_rings,sage.rings.function_field,sage.rings.number_field,sage.rings.padics,sage.rings.polynomial.pbori,sage.rings.real_double,sage.rings.real_mpfr,sage.sat,sage.schemes,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,scipy,singular,sphinx,symengine_py,sympy,tdlib,threejs Doctesting 1 file. sage -t --long --warn-long 99.4 --random-seed=319381397818908026740447949112662303559 src/sage/plot/animate.py ********************************************************************** File "src/sage/plot/animate.py", line 204, in sage.plot.animate.Animation Failed example: a.show() # long time # optional -- ImageMagick Expected nothing Got: Command "['convert', '-dispose', 'Background', '-delay', '20', '-loop', '0', '*.png', '/tmp/tmpy18jp2nd/tmp_bbtqvdzd.gif']" returned non-zero exit status "1" (with stderr "convert-im6.q16: time limit exceeded `/tmp/tmpy18jp2nd/tmp_bbtqvdzd.gif' @ fatal/cache.c/GetImagePixelCache/1867." and stdout ""). doctest:warning File "<doctest sage.plot.animate.Animation[12]>", line 1, in <module> a.show() # long time # optional -- ImageMagick File "/usr/local/sage-10/src/sage/plot/animate.py", line 894, in show dm.display_immediately(self, **kwds) File "/usr/local/sage-10/src/sage/repl/rich_output/display_manager.py", line 841, in display_immediately plain_text, rich_output = self._rich_output_formatter(obj, rich_repr_kwds) File "/usr/local/sage-10/src/sage/repl/rich_output/display_manager.py", line 630, in _rich_output_formatter rich_output = self._call_rich_repr(obj, rich_repr_kwds) File "/usr/local/sage-10/src/sage/repl/rich_output/display_manager.py", line 595, in _call_rich_repr warnings.warn( File "/usr/lib/python3.12/warnings.py", line 110, in _showwarnmsg sw(msg.message, msg.category, msg.filename, msg.lineno, : sage.repl.rich_output.display_manager.RichReprWarning: Exception in _rich_repr_ while displaying object: Error: Cannot generate GIF animation. The convert command (ImageMagick) is present but does not seem to be functional. Verify that the objects passed to the animate command can be saved in PNG image format. See www.imagemagick.org more information. Animation with 10 frames ********************************************************************** 1 item had failures: 1 of 27 in sage.plot.animate.Animation [249 tests, 1 failure, 63.61 s] ---------------------------------------------------------------------- sage -t --long --warn-long 99.4 --random-seed=319381397818908026740447949112662303559 src/sage/plot/animate.py # 1 doctest failed ---------------------------------------------------------------------- Total time for all tests: 64.2 seconds cpu time: 36.6 seconds cumulative wall time: 63.6 seconds Features detected for doctesting: imagemagick,sage.schemes,sage.symbolic pytest is not installed in the venv, skip checking tests that rely on it

This one seems genuine.

charpent@SAP5342949:/usr/local/sage-10$ sage -t --long --warn-long 99.4 --random-seed=319381397818908026740447949112662303559 src/sage/plot/animate.py # 1 doctest failed Running doctests with ID 2024-05-30-13-23-44-6059efd6. Git branch: develop Git ref: 77323e28f7 Running with SAGE_LOCAL='/usr/local/sage-10/local' and SAGE_VENV='/usr/local/sage-10/local/var/lib/sage/venv-python3.12' Using --optional=debian,dot2tex,fricas,gap_jupyter,gap_packages,libsemigroups,msolve,pip,pysingular,sage,sage_spkg,singular_jupyter Features to be detected: 4ti2,SAGE_SRC,benzene,bliss,buckygen,conway_polynomials,csdp,cvxopt,cvxopt,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_ellcurves,database_graphs,database_jones_numfield,database_knotinfo,dvipng,ecm,fpylll,fricas,gap_package_atlasrep,gap_package_design,gap_package_grape,gap_package_guava,gap_package_hap,gap_package_polycyclic,gap_package_qpa,gap_package_quagroup,gfan,graphviz,imagemagick,ipython,jmol,jupymake,kenzo,latte_int,lrcalc_python,lrslib,matroid_database,mcqd,meataxe,mpmath,msolve,nauty,networkx,numpy,palp,pandoc,pdf2svg,pdftocairo,pexpect,phitigra,pillow,plantri,polytopes_db,polytopes_db_4d,pplpy,primecountpy,ptyprocess,pynormaliz,pyparsing,python_igraph,requests,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.libs.braiding,sage.libs.ecl,sage.libs.flint,sage.libs.gap,sage.libs.linbox,sage.libs.m4ri,sage.libs.ntl,sage.libs.pari,sage.libs.singular,sage.misc.cython,sage.modular,sage.modules,sage.numerical.mip,sage.plot,sage.rings.complex_double,sage.rings.finite_rings,sage.rings.function_field,sage.rings.number_field,sage.rings.padics,sage.rings.polynomial.pbori,sage.rings.real_double,sage.rings.real_mpfr,sage.sat,sage.schemes,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,scipy,singular,sphinx,symengine_py,sympy,tdlib,threejs Doctesting 1 file. sage -t --long --warn-long 99.4 --random-seed=319381397818908026740447949112662303559 src/sage/plot/animate.py ********************************************************************** File "src/sage/plot/animate.py", line 204, in sage.plot.animate.Animation Failed example: a.show() # long time # optional -- ImageMagick Expected nothing Got: Command "['convert', '-dispose', 'Background', '-delay', '20', '-loop', '0', '*.png', '/tmp/tmpy18jp2nd/tmp_bbtqvdzd.gif']" returned non-zero exit status "1" (with stderr "convert-im6.q16: time limit exceeded `/tmp/tmpy18jp2nd/tmp_bbtqvdzd.gif' @ fatal/cache.c/GetImagePixelCache/1867." and stdout ""). doctest:warning File "<doctest sage.plot.animate.Animation[12]>", line 1, in <module> a.show() # long time # optional -- ImageMagick File "/usr/local/sage-10/src/sage/plot/animate.py", line 894, in show dm.display_immediately(self, **kwds) File "/usr/local/sage-10/src/sage/repl/rich_output/display_manager.py", line 841, in display_immediately plain_text, rich_output = self._rich_output_formatter(obj, rich_repr_kwds) File "/usr/local/sage-10/src/sage/repl/rich_output/display_manager.py", line 630, in _rich_output_formatter rich_output = self._call_rich_repr(obj, rich_repr_kwds) File "/usr/local/sage-10/src/sage/repl/rich_output/display_manager.py", line 595, in _call_rich_repr warnings.warn( File "/usr/lib/python3.12/warnings.py", line 110, in _showwarnmsg sw(msg.message, msg.category, msg.filename, msg.lineno, : sage.repl.rich_output.display_manager.RichReprWarning: Exception in _rich_repr_ while displaying object: Error: Cannot generate GIF animation. The convert command (ImageMagick) is present but does not seem to be functional. Verify that the objects passed to the animate command can be saved in PNG image format. See www.imagemagick.org more information. Animation with 10 frames ********************************************************************** 1 item had failures: 1 of 27 in sage.plot.animate.Animation [249 tests, 1 failure, 63.61 s] ---------------------------------------------------------------------- sage -t --long --warn-long 99.4 --random-seed=319381397818908026740447949112662303559 src/sage/plot/animate.py # 1 doctest failed ---------------------------------------------------------------------- Total time for all tests: 64.2 seconds cpu time: 36.6 seconds cumulative wall time: 63.6 seconds Features detected for doctesting: imagemagick,sage.schemes,sage.symbolic pytest is not installed in the venv, skip checking tests that rely on it

This one seems cosmetic (a deprecation warning not accoulted for in the expected response, which is correct).

HTH,

Gonzalo Tornaría

unread,
May 31, 2024, 9:43:54 AMMay 31
to sage-release
This prerelease brings a lot of doctest failures in a very controlled setting where 10.4.beta6 gives no failures:

----------------------------------------------------------------------
sage -t --long --warn-long 30.0 --random-seed=55190315588760926016286295373882537889 sage/rings/lazy_series_ring.py  # 2 doctests failed
sage -t --long --warn-long 30.0 --random-seed=55190315588760926016286295373882537889 sage/rings/qqbar.py  # 1 doctest failed
sage -t --long --warn-long 30.0 --random-seed=55190315588760926016286295373882537889 sage/rings/lazy_series.py  # 2 doctests failed
sage -t --long --warn-long 30.0 --random-seed=55190315588760926016286295373882537889 sage/rings/padics/padic_generic_element.pyx  # 2 doctests failed
sage -t --long --warn-long 30.0 --random-seed=55190315588760926016286295373882537889 sage/groups/misc_gps/argument_groups.py  # 6 doctests failed
sage -t --long --warn-long 30.0 --random-seed=55190315588760926016286295373882537889 sage/interfaces/gp.py  # 1 doctest failed
sage -t --long --warn-long 30.0 --random-seed=55190315588760926016286295373882537889 sage/libs/pari/tests.py  # 2 doctests failed
sage -t --long --warn-long 30.0 --random-seed=55190315588760926016286295373882537889 sage/matrix/matrix_integer_dense.pyx  # Killed due to segmentation fault
sage -t --long --warn-long 30.0 --random-seed=55190315588760926016286295373882537889 sage/stats/basic_stats.py  # 2 doctests failed
sage -t --long --warn-long 30.0 --random-seed=55190315588760926016286295373882537889 sage/stats/distributions/discrete_gaussian_lattice.py  # Timed out
----------------------------------------------------------------------
Total time for all tests: 3042.2 seconds
    cpu time: 8661.3 seconds
    cumulative wall time: 9282.5 seconds
Features detected for doctesting: conway_polynomials,database_cremona_mini_ellcurve,database_ellcurves,database_graphs,fpylll,gap_package_atlasrep,gap_package_polycyclic,gfan,lrcalc_python,mpmath,nauty,networkx,numpy,palp,pexpect,pillow,polytopes_db,pplpy,primecountpy,ptyprocess,pyparsing,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.libs.braiding,sage.libs.ecl,sage.libs.flint,sage.libs.gap,sage.libs.linbox,sage.libs.m4ri,sage.libs.ntl,sage.libs.pari,sage.libs.singular,sage.misc.cython,sage.modular,sage.modules,sage.numerical.mip,sage.plot,sage.rings.complex_double,sage.rings.finite_rings,sage.rings.function_field,sage.rings.number_field,sage.rings.padics,sage.rings.polynomial.pbori,sage.rings.real_double,sage.rings.real_mpfr,sage.schemes,scipy,singular,sphinx,sympy,threejs
-----

The context is building sagemath package for void in a clean chroot (this is all automated)

For 10.4.beta6 in identical clean chroot gives:
----------------------------------------------------------------------
All tests passed!
----------------------------------------------------------------------
Total time for all tests: 1147.0 seconds
    cpu time: 7077.2 seconds
    cumulative wall time: 7332.1 seconds
Features detected for doctesting: conway_polynomials,database_cremona_mini_ellcurve,database_ellcurves,database_graphs,fpylll,gap_package_atlasrep,gap_package_polycyclic,gfan,lrcalc_python,mpmath,nauty,networkx,numpy,palp,pexpect,pillow,polytopes_db,pplpy,primecountpy,ptyprocess,pyparsing,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.libs.braiding,sage.libs.ecl,sage.libs.flint,sage.libs.gap,sage.libs.linbox,sage.libs.m4ri,sage.libs.ntl,sage.libs.pari,sage.libs.singular,sage.misc.cython,sage.modular,sage.modules,sage.numerical.mip,sage.plot,sage.rings.complex_double,sage.rings.finite_rings,sage.rings.function_field,sage.rings.number_field,sage.rings.padics,sage.rings.polynomial.pbori,sage.rings.real_double,sage.rings.real_mpfr,sage.schemes,sage.symbolic,scipy,singular,sphinx,sympy,threejs
---

Note the huge difference in timing.

I regularly  follow beta releases (as in https://github.com/void-linux/void-packages/pull/49571) and I don't remember seeing so many regressions in a single prerelease in the past. What is going on with CI?

Best,
Gonzalo

Gonzalo Tornaría

unread,
May 31, 2024, 10:27:44 AMMay 31
to sage-release
Apologies. I was despaired by the number of failures, but mostly everything is fixed by https://github.com/sagemath/sage/pull/38081, except for:

- The segfault in sage/matrix/matrix_integer_dense.pyx has been happening for a while. It seems to be happening more often now (but that may be perception only). I still haven't found a deterministic way to reproduce it.

- The timeout in sage/stats/distributions/discrete_gaussian_lattice.py is a real thing that happens randomly, it's just that in 10.4.beta7 it happens much more often (always?) and #38081 brings it back to the fail randomly state.


It seems to me the code in the PR is incorrect, but the doctest is wrong and it's being fooled with very high probability. Very occasionally, the test works and it timeouts (because the code is incorrect). I hope this can either be fixed before 10.4 or reverted, because giving wrong answers is IMHO worse than not having a feature.


Best,
Gonzalo
Reply all
Reply to author
Forward
0 new messages