Sage 9.8.beta0 released

84 views
Skip to first unread message

Volker Braun

unread,
Sep 25, 2022, 4:47:59 PM9/25/22
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

4541564cf15 (tag: 9.8.beta0, trac/develop) Updated SageMath version to 9.8.beta0
04fbc829e98 Trac #34342: fix various suggestions by lgtm
1d51c7da7a9 Trac #34323: fix E251 in groups
ce36ebad8bd Trac #34320: fix E251 in schemes
e30ca6d1953 Trac #34313: pycodestyle cleanup in strongly_regular_db.pyx (part 3)
fa19f6386a1 Trac #34290: fix some W391
d8b4ee8814f Trac #34287: modernize super in crystals and asymptotics
d8718947624 Trac #34195: sage.geometry.polyhedron: More # optional - sage.rings.number_field
b8a75b6bd6a Trac #12696: rename .rational_reconstruct() to .rational_reconstruction() for consistency
144d521ec09 Trac #34568: rename example to QuaternionicProjectivePlane
adf3d531e89 Trac #34561: Documentation: There is no package in debian/ubuntu called openssh
bfd125a7a6f Trac #34541: enhance free dendriform algebras
6cd2d3b6ab1 Trac #34535: Segfault when floor dividing in infinite polynomial ring
893b3763482 Trac #34527: Make `Composition`s into a `collections.abc.Sequence`
c375274fc28 Trac #34519: Fix + extend msolve interface
46b50528b12 Trac #34514: Incorrect decomposition type for relative number fields
11378e57b39 Trac #34510: Add to check for fixed total/length in IntegerVector
799876dabe0 Trac #34449: Add package pyproject_metadata
a0ac1a56b0f Trac #34427: TensorFreeModule.isomorphism_with_fixed_basis
bfa8457d74a Trac #34350: speed up powers of lazy Taylor series
02c5fcc2860 Trac #34242: Update docker build
cb6cda616fd Trac #32921: k-recursive sequences with inhomogeneities
ccc71d9a8f5 Trac #32297: Abel-Jacobi map on Riemann surfaces
51be0b103a1 Trac #20467: stackoverflow in Maxima integral
9651672f525 Trac #34266: Drop support for GCC < 8 in Sage 9.8
02bfe770f65 Trac #33062: GH Actions (docker): Run a job for "make build-local" first, cache image for job "make build"
f87464fce37 Trac #30241: New implementation class FiniteRankDualFreeModule
aa22b33df07 Trac #30229: Submodules of TensorFreeModule defined by the symmetries of a Components object
4db51ba832e Trac #34509: Make IndexedFreeModuleElement compatible with collections.abc, change method support to return a SupportView
0b597a76718 Trac #34505: using items in indexed_elements.pyx
b6ead19013d Trac #34498: Update igraph, python_igraph to 0.10.x
7ebd052d36d Trac #34495: Construction for invariant/equivariant submodules
46f4f2c1451 Trac #34494: better monomials in shuffle algebras
367711dd6f0 Trac #34490: `sage --package clean` command to remove outdated source tarballs
b4311cd5438 Trac #34484: Methods quotient, quotient_module are not the same for some modules from sage.modules
109fd645242 Trac #34478: pynormaliz: Add distros information for conda, arch
857f16ca4df Trac #34474: Make FiniteRankFreeModule.tensor_module(0, 1) return the dual
5a41c49cd67 Trac #34453: Tensor products of commutative algebras do not know they are commutative rings
53a523e13bc Trac #34451: sage.tensor: Canonicalize sym, antisym
5b3c6fad9bc Trac #34412: q-commuting polynomials
a6a72a99fe4 Trac #34393: add method "tensor_factors" to tensor products
30631440c63 Trac #34379: Implement a hook to access free (graded) resolutions
4ef170aa82f Trac #34345: Method to get cells in horizontal/vertical border strip
1ec500e81bf Trac #34282: Make feature TeXFile check latex first
5c42b1b523f Trac #34235: Error in comparing two Symbolic Ring elements
527891674e8 Trac #34203: Find and uninstall broken installed SPKGs and wheels
ed76311f002 Trac #34118: Update sympy to 1.11.1
97beeae9521 Trac #33981: latte_int: ExponentialSubst.h:62:3: error: ISO C++17 does not allow dynamic exception specifications
787b4bed4cf Trac #33640: sage fails to factor some easy expressions
700a1f538d0 Trac #33613: Add pip packages to conda environments, add missing conda.txt files
92b1db1a327 Trac #33431: Category of submodules of sage.modules.free_module.FreeModule_ambient_pid
d238396ec64 Trac #33093: 5 doctests failing related to external program octave
509ed920b2a Trac #33002: Method tikz of polyhedron class can now return an object of type TikzPicture
2a41c6ee213 Trac #32669: Adding upper and lower Bruhat cones of M. Dyer to sage/combinat/root_system/reflection_group_real.py
12756f654c7 Trac #29619: Matrix and Components should have a sparse iterator
cb51da16e9b Trac #17965: Uniformize the API to compute the inverse of an element
a833b0e9c81 Trac #34491: Upgrade igraph to 0.9.10
7747f43b0d1 Trac #34467: fix random doctest failure in EllipticCurveHom_velusqrt
cba244ef373 Trac #34466: fix various linter errors
5d89d36f1f9 Trac #34228: tox -e docker-...-incremental
627b2bdfe92 (tag: 9.7, trac/master) Updated SageMath version to 9.7

Matthias Köppe

unread,
Sep 25, 2022, 5:06:46 PM9/25/22
to sage-release
Thanks for the new beta!

Developers should be aware of the tightened compiler requirements:

Sébastien Labbé

unread,
Sep 27, 2022, 11:32:32 AM9/27/22
to sage-release
After upgrading my gcc, g++ and gfortran to 9, I managed to build and test with a bunch of optional and external packages. I get the following list of failures.

Using --optional=build,debian,external,glucose,pip,sage,sage_spkg
Features to be detected: 4ti2,benzene,bliss,buckygen,conway_polynomials,cplex,csdp,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_jones_numfield,database_knotinfo,dvipng,ffmpeg,gfan,graphviz,gurobi,imagemagick,internet,jupymake,kenzo,latex,latex_package_tkz_graph,latte_int,lrslib,lualatex,macaulay2,magma,maple,mathematica,matlab,mcqd,meataxe,msolve,nauty,octave,palp,pandoc,pdf2svg,pdflatex,pdftocairo,phitigra,plantri,polytopes_db,polytopes_db_4d,pynormaliz,python_igraph,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.misc.cython,sage.plot,sage.rings.number_field,sage.rings.padics,sage.rings.real_double,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,scilab,sphinx,tdlib,xelatex

[...]

----------------------------------------------------------------------
sage -t --long --random-seed=238569406710112349020221354198250099405 src/doc/en/reference/sat/index.rst  # Killed due to abort
sage -t --long --random-seed=238569406710112349020221354198250099405 src/sage/combinat/designs/ext_rep.py  # 1 doctest failed
sage -t --long --random-seed=238569406710112349020221354198250099405 src/sage/crypto/mq/sr.py  # Killed due to abort
sage -t --long --random-seed=238569406710112349020221354198250099405 src/sage/databases/findstat.py  # 2 doctests failed
sage -t --long --random-seed=238569406710112349020221354198250099405 src/sage/databases/oeis.py  # 5 doctests failed
sage -t --long --random-seed=238569406710112349020221354198250099405 src/sage/graphs/isgci.py  # 1 doctest failed
sage -t --long --random-seed=238569406710112349020221354198250099405 src/sage/interfaces/octave.py  # 2 doctests failed
sage -t --long --random-seed=238569406710112349020221354198250099405 src/sage/misc/latex.py  # 1 doctest failed
sage -t --long --random-seed=238569406710112349020221354198250099405 src/sage/repl/interpreter.py  # 1 doctest failed
sage -t --long --random-seed=238569406710112349020221354198250099405 src/sage/rings/polynomial/multi_polynomial_sequence.py  # Killed due to abort
sage -t --long --random-seed=238569406710112349020221354198250099405 src/sage/rings/polynomial/pbori/PyPolyBoRi.py  # Killed due to abort
sage -t --long --random-seed=238569406710112349020221354198250099405 src/sage/rings/polynomial/pbori/fglm.py  # Killed due to abort
sage -t --long --random-seed=238569406710112349020221354198250099405 src/sage/rings/polynomial/pbori/pbori.pyx  # Killed due to abort
sage -t --long --random-seed=238569406710112349020221354198250099405 src/sage/rings/polynomial/polynomial_ring_constructor.py  # Killed due to abort
sage -t --long --random-seed=238569406710112349020221354198250099405 src/sage/sat/boolean_polynomials.py  # Killed due to abort
sage -t --long --random-seed=238569406710112349020221354198250099405 src/sage/sat/solvers/dimacs.py  # Killed due to abort
sage -t --long --random-seed=238569406710112349020221354198250099405 src/sage/tests/cmdline.py  # 1 doctest failed
----------------------------------------------------------------------
Features detected for doctesting: dvipng,ffmpeg,gfan,graphviz,imagemagick,internet,latex,latex_package_tkz_graph,lualatex,nauty,octave,palp,pandoc,pdf2svg,pdflatex,pdftocairo,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.misc.cython,sage.plot,sage.rings.number_field,sage.rings.padics,sage.rings.real_double,sage.symbolic,sagemath_doc_html,sphinx,xelatex

Failures include the following ones.
If I create a ticket to any of these, I will add them to https://trac.sagemath.org/ticket/25536

Doctest failures are copied below.

sage -t --long --random-seed=146716362555914503705358181125292828790 src/sage/repl/interpreter.py
**********************************************************************
File "src/sage/repl/interpreter.py", line 662, in sage.repl.interpreter.get_test_shell
Failed example:
    out + err
Expected:
    ''
Got:
    '\x1b[0 q'
**********************************************************************
1 item had failures:
   1 of  10 in sage.repl.interpreter.get_test_shell
    3 macaulay2 tests not run
    7 not tested tests not run
    2 r tests not run
    0 tests not run because we ran out of time
    [137 tests, 1 failure, 3.25 s]
sage -t --long --random-seed=146716362555914503705358181125292828790 src/sage/combinat/designs/ext_rep.py
**********************************************************************
File "src/sage/combinat/designs/ext_rep.py", line 555, in sage.combinat.designs.ext_rep.open_extrep_url
Failed example:
    s = ext_rep.designs_from_XML_url("http://designtheory.org/database/v-b-k/v3-b6-k2.icgsa.txt.bz2") # optional - internet
Exception raised:
    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 695, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 1093, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.combinat.designs.ext_rep.open_extrep_url[7]>", line 1, in <module>
        s = ext_rep.designs_from_XML_url("http://designtheory.org/database/v-b-k/v3-b6-k2.icgsa.txt.bz2") # optional - internet
      File "/home/slabbe/GitBox/sage/src/sage/combinat/designs/ext_rep.py", line 1059, in designs_from_XML_url
        s = open_extrep_url(url)
      File "/home/slabbe/GitBox/sage/src/sage/combinat/designs/ext_rep.py", line 558, in open_extrep_url
        f = urlopen(url)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/urllib/request.py", line 216, in urlopen
        return opener.open(url, data, timeout)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/urllib/request.py", line 525, in open
        response = meth(req, response)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/urllib/request.py", line 634, in http_response
        response = self.parent.error(
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/urllib/request.py", line 557, in error
        result = self._call_chain(*args)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/urllib/request.py", line 496, in _call_chain
        result = func(*args)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/urllib/request.py", line 749, in http_error_302
        return self.parent.open(new, timeout=req.timeout)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/urllib/request.py", line 519, in open
        response = self._open(req, data)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/urllib/request.py", line 536, in _open
        result = self._call_chain(self.handle_open, protocol, protocol +
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/urllib/request.py", line 496, in _call_chain
        result = func(*args)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/urllib/request.py", line 1377, in http_open
        return self.do_open(http.client.HTTPConnection, req)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/urllib/request.py", line 1352, in do_open
        r = h.getresponse()
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/http/client.py", line 1374, in getresponse
        response.begin()
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/http/client.py", line 318, in begin
        version, status, reason = self._read_status()
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/http/client.py", line 279, in _read_status
        line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/socket.py", line 705, in readinto
        return self._sock.recv_into(b)
    ConnectionResetError: [Errno 104] Connection reset by peer
**********************************************************************
1 item had failures:
   1 of   9 in sage.combinat.designs.ext_rep.open_extrep_url
    0 tests not run because we ran out of time
    [102 tests, 1 failure, 18.64 s]
sage -t --long --random-seed=146716362555914503705358181125292828790 src/sage/databases/findstat.py
**********************************************************************
File "src/sage/databases/findstat.py", line 1045, in sage.databases.findstat.?
Failed example:
    findstat("graphs", lambda g: g.diameter() if g.is_connected() else None, max_values=100, depth=0) # optional -- internet
Expected:
    0: St000259 (quality [100, 100])
Got:
    doctest:warning
      File "/home/slabbe/GitBox/sage/src/bin/sage-runtests", line 154, in <module>
        err = DC.run()
      File "/home/slabbe/GitBox/sage/src/sage/doctest/control.py", line 1384, in run
        self.run_doctests()
      File "/home/slabbe/GitBox/sage/src/sage/doctest/control.py", line 1059, in run_doctests
        self.dispatcher.dispatch()
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 2021, in dispatch
        self.parallel_dispatch()
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 1916, in parallel_dispatch
        w.start()  # This might take some time
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 2190, in start
        super().start()
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/multiprocessing/process.py", line 121, in start
        self._popen = self._Popen(self)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/multiprocessing/context.py", line 224, in _Popen
        return _default_context.get_context().Process._Popen(process_obj)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/multiprocessing/context.py", line 277, in _Popen
        return Popen(process_obj)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/multiprocessing/popen_fork.py", line 19, in __init__
        self._launch(process_obj)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/multiprocessing/popen_fork.py", line 71, in _launch
        code = process_obj._bootstrap(parent_sentinel=child_r)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
        self.run()
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 2162, in run
        task(self.options, self.outtmpfile, msgpipe, self.result_queue)
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 2492, in __call__
        doctests, extras = self._run(runner, options, results)
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 2544, in _run
        result = runner.run(test)
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 866, in run
        return self._run(test, compileflags, out)
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 695, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 1093, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.databases.findstat.?[18]>", line 1, in <module>
        findstat("graphs", lambda g: g.diameter() if g.is_connected() else None, max_values=Integer(100), depth=Integer(0)) # optional -- internet
      File "/home/slabbe/GitBox/sage/src/sage/databases/findstat.py", line 1119, in findstat
        return FindStatStatisticQuery(data=data, domain=domain, depth=depth,
      File "/home/slabbe/GitBox/sage/src/sage/databases/findstat.py", line 2592, in __init__
        "Data": _data_to_str(self._first_terms, domain)}
      File "/home/slabbe/GitBox/sage/src/sage/databases/findstat.py", line 559, in _data_to_str
        return "\n".join("\n".join(to_str_dom(element) for element in elements)
      File "/home/slabbe/GitBox/sage/src/sage/databases/findstat.py", line 559, in <genexpr>
        return "\n".join("\n".join(to_str_dom(element) for element in elements)
      File "/home/slabbe/GitBox/sage/src/sage/databases/findstat.py", line 559, in <genexpr>
        return "\n".join("\n".join(to_str_dom(element) for element in elements)
      File "/home/slabbe/GitBox/sage/src/sage/databases/findstat.py", line 4548, in <lambda>
        lambda X: str((sorted(X.edges(labels=False)), X.num_verts())),
      File "/home/slabbe/GitBox/sage/src/sage/graphs/generic_graph.py", line 12259, in edges
        deprecation(27408, "parameter 'sort' will be set to False by default in the future")
      File "/home/slabbe/GitBox/sage/src/sage/misc/superseded.py", line 99, in deprecation
        warning(trac_number, message, DeprecationWarning, stacklevel)
      File "/home/slabbe/GitBox/sage/src/sage/misc/superseded.py", line 180, in warning
        warn(message, warning_class, stacklevel)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/warnings.py", line 109, in _showwarnmsg
        sw(msg.message, msg.category, msg.filename, msg.lineno,
    :
    DeprecationWarning: parameter 'sort' will be set to False by default in the future
    See https://trac.sagemath.org/27408 for details.
    0: St000259 (quality [100, 100])
**********************************************************************
File "src/sage/databases/findstat.py", line 4770, in sage.databases.findstat.FindStatCollections._element_constructor_
Failed example:
    cc.first_terms(lambda x: x.edges(labels=False)).list()        # optional -- internet
Expected:
    [(Graph on 3 vertices, []),
     (Graph on 3 vertices, [(0, 2)]),
     (Graph on 3 vertices, [(0, 2), (1, 2)]),
     (Graph on 3 vertices, [(0, 1), (0, 2), (1, 2)])]
Got:
    doctest:warning
      File "/home/slabbe/GitBox/sage/src/bin/sage-runtests", line 154, in <module>
        err = DC.run()
      File "/home/slabbe/GitBox/sage/src/sage/doctest/control.py", line 1384, in run
        self.run_doctests()
      File "/home/slabbe/GitBox/sage/src/sage/doctest/control.py", line 1059, in run_doctests
        self.dispatcher.dispatch()
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 2021, in dispatch
        self.parallel_dispatch()
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 1916, in parallel_dispatch
        w.start()  # This might take some time
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 2190, in start
        super().start()
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/multiprocessing/process.py", line 121, in start
        self._popen = self._Popen(self)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/multiprocessing/context.py", line 224, in _Popen
        return _default_context.get_context().Process._Popen(process_obj)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/multiprocessing/context.py", line 277, in _Popen
        return Popen(process_obj)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/multiprocessing/popen_fork.py", line 19, in __init__
        self._launch(process_obj)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/multiprocessing/popen_fork.py", line 71, in _launch
        code = process_obj._bootstrap(parent_sentinel=child_r)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
        self.run()
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 2162, in run
        task(self.options, self.outtmpfile, msgpipe, self.result_queue)
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 2492, in __call__
        doctests, extras = self._run(runner, options, results)
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 2544, in _run
        result = runner.run(test)
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 866, in run
        return self._run(test, compileflags, out)
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 695, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 1093, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.databases.findstat.FindStatCollections._element_constructor_[9]>", line 1, in <module>
        cc.first_terms(lambda x: x.edges(labels=False)).list()        # optional -- internet
      File "/home/slabbe/GitBox/sage/src/sage/databases/findstat.py", line 4341, in <genexpr>
        return lazy_list(((x, function(x)) for x in g))
      File "<doctest sage.databases.findstat.FindStatCollections._element_constructor_[9]>", line 1, in <lambda>
        cc.first_terms(lambda x: x.edges(labels=False)).list()        # optional -- internet
      File "/home/slabbe/GitBox/sage/src/sage/graphs/generic_graph.py", line 12259, in edges
        deprecation(27408, "parameter 'sort' will be set to False by default in the future")
      File "/home/slabbe/GitBox/sage/src/sage/misc/superseded.py", line 99, in deprecation
        warning(trac_number, message, DeprecationWarning, stacklevel)
      File "/home/slabbe/GitBox/sage/src/sage/misc/superseded.py", line 180, in warning
        warn(message, warning_class, stacklevel)
      File "/home/slabbe/GitBox/sage/local/var/lib/sage/venv-python3.10.5/lib/python3.10/warnings.py", line 109, in _showwarnmsg
        sw(msg.message, msg.category, msg.filename, msg.lineno,
    :
    DeprecationWarning: parameter 'sort' will be set to False by default in the future
    See https://trac.sagemath.org/27408 for details.
    [(Graph on 3 vertices, []),
     (Graph on 3 vertices, [(0, 2)]),
     (Graph on 3 vertices, [(0, 2), (1, 2)]),
     (Graph on 3 vertices, [(0, 1), (0, 2), (1, 2)])]
**********************************************************************
2 items had failures:
   1 of  42 in sage.databases.findstat.?
   1 of  12 in sage.databases.findstat.FindStatCollections._element_constructor_
    11 webbrowser tests not run
    0 tests not run because we ran out of time
    [423 tests, 2 failures, 47.29 s]
sage -t --long --random-seed=146716362555914503705358181125292828790 src/sage/tests/cmdline.py
**********************************************************************
File "src/sage/tests/cmdline.py", line 593, in sage.tests.cmdline.test_executable
Failed example:
    err  # optional - internet
Expected:
    ''
Got:
    '/home/slabbe/GitBox/sage/src/sage/misc/package.py:119: UserWarning: failed to fetch the version of pkg=\'ore_algebra\' at https://pypi.org/pypi/ore_algebra/json\n  warnings.warn("failed to fetch the version of pkg={!r} at {}".format(pkg, url))\n/home/slabbe/GitBox/sage/src/sage/misc/package.py:119: UserWarning: failed to fetch the version of pkg=\'auditwheel_or_delocate\' at https://pypi.org/pypi/auditwheel_or_delocate/json\n  warnings.warn("failed to fetch the version of pkg={!r} at {}".format(pkg, url))\n'
**********************************************************************
1 item had failures:
   1 of 230 in sage.tests.cmdline.test_executable
    1 test not run due to known bugs
    3 gdb tests not run
    4 r tests not run
    15 rst2ipynb tests not run
    0 tests not run because we ran out of time
    [229 tests, 1 failure, 44.35 s]



sage -t --long --random-seed=146716362555914503705358181125292828790 src/sage/databases/oeis.py
**********************************************************************
File "src/sage/databases/oeis.py", line 31, in sage.databases.oeis
Failed example:
    search = oeis([3, 7, 15, 1], max_results=4) ; search  # optional -- internet
Expected:
    0: A001203: Simple continued fraction expansion of Pi.
    1: A240698: Partial sums of divisors of n, cf. A027750.
    2: A082495: a(n) = (2^n - 1) mod n.
    3: A165416: Irregular array read by rows: The n-th row contains those distinct positive integers that each, when written in binary, occurs as a substring in binary n.
Got:
    0: A001203: Simple continued fraction expansion of Pi.
    1: A165416: Irregular array read by rows: The n-th row contains those distinct positive integers that each, when written in binary, occurs as a substring in binary n.
    2: A240698: Partial sums of divisors of n, cf. A027750.
    3: A246674: Run Length Transform of A000225.
**********************************************************************
File "src/sage/databases/oeis.py", line 37, in sage.databases.oeis
Failed example:
    [u.id() for u in search]                      # optional -- internet
Expected:
    ['A001203', 'A240698', 'A082495', 'A165416']
Got:
    ['A001203', 'A165416', 'A240698', 'A246674']
**********************************************************************
File "src/sage/databases/oeis.py", line 352, in sage.databases.oeis.OEIS
Failed example:
    oeis('prime gap factorization', max_results=4) # optional --internet
Expected:
    0: A073491: Numbers having no prime gaps in their factorization.
    1: A073485: Product of any number of consecutive primes; squarefree numbers with no gaps in their prime factorization.
    2: A073490: Number of prime gaps in factorization of n.
    3: A073492: Numbers having at least one prime gap in their factorization.
Got:
    0: A073491: Numbers having no prime gaps in their factorization.
    1: A286470: a(n) = maximal gap between indices of successive primes in the prime factorization of n.
    2: A073492: Numbers having at least one prime gap in their factorization.
    3: A073485: Product of any number of consecutive primes; squarefree numbers with no gaps in their prime factorization.
**********************************************************************
File "src/sage/databases/oeis.py", line 493, in sage.databases.oeis.OEIS.find_by_description
Failed example:
    prime_gaps = _[2] ; prime_gaps        # optional -- internet
Expected:
    A073490: Number of prime gaps in factorization of n.
Got:
    A073492: Numbers having at least one prime gap in their factorization.
**********************************************************************
File "src/sage/databases/oeis.py", line 538, in sage.databases.oeis.OEIS.find_by_subsequence
Failed example:
    oeis.find_by_subsequence([2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377])  # optional -- internet
Expected:
    0: A000045: Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1.
    1: A212804: Expansion of (1 - x)/(1 - x - x^2).
    2: A020695: Pisot sequence E(2,3).
Got:
    0: A000045: Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1.
    1: A212804: Expansion of (1 - x)/(1 - x - x^2).
    2: A324969: Number of unlabeled rooted identity trees with n vertices whose non-leaf terminal subtrees are all different.
**********************************************************************
4 items had failures:
   2 of  26 in sage.databases.oeis
   1 of  20 in sage.databases.oeis.OEIS
   1 of   5 in sage.databases.oeis.OEIS.find_by_description
   1 of   3 in sage.databases.oeis.OEIS.find_by_subsequence
    5 webbrowser tests not run
    0 tests not run because we ran out of time
    [289 tests, 5 failures, 30.48 s]


sage -t --long --random-seed=146716362555914503705358181125292828790 src/sage/misc/latex.py
**********************************************************************
File "src/sage/misc/latex.py", line 1859, in sage.misc.latex.?
Failed example:
    with NamedTemporaryFile(mode="w+t", suffix=".tex") as f:  # optional - latex latex_package_tkz_graph
        _ = f.write(_latex_file_(g))
        f.flush()
        _run_latex_(file, engine="pdflatex")
Exception raised:
    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 695, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/src/sage/doctest/forker.py", line 1093, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.misc.latex.?[4]>", line 4, in <module>
        _run_latex_(file, engine="pdflatex")
    NameError: name 'file' is not defined
**********************************************************************
1 item had failures:
   1 of  19 in sage.misc.latex.?
    3 not tested tests not run
    0 tests not run because we ran out of time
    [257 tests, 1 failure, 2.29 s]
sage -t --long --random-seed=146716362555914503705358181125292828790 src/sage/graphs/isgci.py
**********************************************************************
File "src/sage/graphs/isgci.py", line 871, in sage.graphs.isgci.GraphClasses.update_db
Failed example:
    graph_classes.update_db()  # optional - internet
Expected nothing
Got:
    Database downloaded
**********************************************************************
1 item had failures:
   1 of   2 in sage.graphs.isgci.GraphClasses.update_db
    0 tests not run because we ran out of time
    [87 tests, 1 failure, 3.07 s]
sage -t --long --random-seed=146716362555914503705358181125292828790 src/sage/interfaces/octave.py
**********************************************************************
File "src/sage/interfaces/octave.py", line 159, in sage.interfaces.octave.Octave
Failed example:
    octave.eval("a = [ 1, 1, 2; 3, 5, 8; 13, 21, 33 ]")    # optional - octave
Expected:
    'a =\n\n 1 1 2\n 3 5 8\n 13 21 33\n'
Got:
    'a =\n\n 1 1 2\n 3 5 8\n 13 21 33\n\n'
**********************************************************************
File "src/sage/interfaces/octave.py", line 161, in sage.interfaces.octave.Octave
Failed example:
    octave.eval("b = [ 1; 3; 13]")                         # optional - octave
Expected:
    'b =\n\n 1\n 3\n 13\n'
Got:
    'b =\n\n 1\n 3\n 13\n\n'
**********************************************************************
1 item had failures:
   2 of   8 in sage.interfaces.octave.Octave
    3 not tested tests not run
    0 tests not run because we ran out of time
    [132 tests, 2 failures, 1.18 s]

John H Palmieri

unread,
Sep 27, 2022, 5:16:48 PM9/27/22
to sage-release
I just posted a fix for the sage.misc.latex issue in https://trac.sagemath.org/ticket/34594.

The octave issues are strange — maybe they depend on the version of Octave? You had posted at #33093 that you were getting this failure:

File "src/sage/interfaces/octave.py", line 158, in sage.interfaces.octave.Octave
Failed example:
octave.eval("a = [ 1, 1, 2; 3, 5, 8; 13, 21, 33 ]") # optional - octave
Expected:
  'a =\n\n 1 1 2\n 3 5 8\n 13 21 33\n\n'
Got:
  'a =\n\n 1 1 2\n 3 5 8\n 13 21 33\n'

Now that the ticket has been merged you're getting the opposite failure:

File "src/sage/interfaces/octave.py", line 159, in sage.interfaces.octave.Octave
Failed example:
    octave.eval("a = [ 1, 1, 2; 3, 5, 8; 13, 21, 33 ]")    # optional - octave
Expected:
    'a =\n\n 1 1 2\n 3 5 8\n 13 21 33\n'
Got:
    'a =\n\n 1 1 2\n 3 5 8\n 13 21 33\n\n'

I guess the doctests should be more robust, maybe just testing for "a = \n\n 1 1 2\n 3 5 8\n 13 21 33...", or applying ".rstrip()" first. If you want to open a ticket, I'll take a look.

John H Palmieri

unread,
Sep 27, 2022, 7:04:11 PM9/27/22
to sage-release
I added #34594 and a new ticket, #34595 (findstat internet errors) to #25536.

Clemens Heuberger

unread,
Sep 28, 2022, 4:45:47 AM9/28/22
to sage-r...@googlegroups.com
I encountered one doctest error in src/sage/schemes/toric/sheaf/klyachko.py
which depends on the random seed:

Failing seed: 76370439031557170215448337120651728168

Running doctests with ID 2022-09-28-10-42-42-4892f4f5.
Running with SAGE_LOCAL='/local/cheuberg/local/sage-9.8.beta0/local' and
SAGE_VENV='/local/cheuberg/local/sage-9.8.beta0/local/var/lib/sage/venv-python3.10.5'
Using --optional=ccache,debian,pip,sage,sage_spkg
Features to be detected:
4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_jones_numfield,database_knotinfo,dvipng,gfan,graphviz,imagemagick,jupymake,kenzo,latte_int,lrslib,mcqd,meataxe,msolve,nauty,palp,pandoc,pdf2svg,pdftocairo,phitigra,plantri,polytopes_db,polytopes_db_4d,pynormaliz,python_igraph,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.misc.cython,sage.plot,sage.rings.number_field,sage.rings.padics,sage.rings.real_double,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,sphinx,tdlib
Doctesting 1 file.
sage -t --long --warn-long 173.9
--random-seed=76370439031557170215448337120651728168
src/sage/schemes/toric/sheaf/klyachko.py
**********************************************************************
File "src/sage/schemes/toric/sheaf/klyachko.py", line 951, in
sage.schemes.toric.sheaf.klyachko.KlyachkoBundle_class.random_deformation
Failed example:
Vtilde.cohomology(dim=True, weight=(0,))
Expected:
(1, 0)
Got:
(0, 0)
**********************************************************************
1 item had failures:
1 of 7 in
sage.schemes.toric.sheaf.klyachko.KlyachkoBundle_class.random_deformation
[151 tests, 1 failure, 4.75 s]
----------------------------------------------------------------------
sage -t --long --warn-long 173.9
--random-seed=76370439031557170215448337120651728168
src/sage/schemes/toric/sheaf/klyachko.py # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 4.8 seconds
cpu time: 4.7 seconds
cumulative wall time: 4.8 seconds
Features detected for doctesting:
pytest is not installed in the venv, skip checking tests that rely on it



Passing seed: 46193418267190973842816636682300670383

Running doctests with ID 2022-09-28-10-43-04-b17e631a.
Running with SAGE_LOCAL='/local/cheuberg/local/sage-9.8.beta0/local' and
SAGE_VENV='/local/cheuberg/local/sage-9.8.beta0/local/var/lib/sage/venv-python3.10.5'
Using --optional=ccache,debian,pip,sage,sage_spkg
Features to be detected:
4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_cubic_hecke,database_jones_numfield,database_knotinfo,dvipng,gfan,graphviz,imagemagick,jupymake,kenzo,latte_int,lrslib,mcqd,meataxe,msolve,nauty,palp,pandoc,pdf2svg,pdftocairo,phitigra,plantri,polytopes_db,polytopes_db_4d,pynormaliz,python_igraph,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.misc.cython,sage.plot,sage.rings.number_field,sage.rings.padics,sage.rings.real_double,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,sphinx,tdlib
Doctesting 1 file.
sage -t --long --warn-long 173.9
--random-seed=46193418267190973842816636682300670383
src/sage/schemes/toric/sheaf/klyachko.py
[151 tests, 4.72 s]
----------------------------------------------------------------------
All tests passed!
----------------------------------------------------------------------
Total time for all tests: 4.8 seconds
cpu time: 4.6 seconds
cumulative wall time: 4.7 seconds
Features detected for doctesting:
pytest is not installed in the venv, skip checking tests that rely on it





Am 25.09.22 um 22:47 schrieb Volker Braun:

Kwankyu Lee

unread,
Sep 28, 2022, 8:46:05 PM9/28/22
to sage-release
On Wednesday, September 28, 2022 at 5:45:47 PM UTC+9 Clemens Heuberger wrote:
I encountered one doctest error in src/sage/schemes/toric/sheaf/klyachko.py
which depends on the random seed:

Failing seed: 76370439031557170215448337120651728168

This is being tracked in 

Reply all
Reply to author
Forward
0 new messages