Sage 9.7.beta1 released

104 views
Skip to first unread message

Volker Braun

unread,
May 27, 2022, 3:32:56 PMMay 27
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

5fb2a6ea44 (tag: 9.7.beta1, trac/develop) Updated SageMath version to 9.7.beta1
8501c73982 Trac #33883: Typo in Steenrod module thematic tutorial
919368d3e3 Trac #33859: Remove sage/libs/gap/test from MANIFEST.in
78b89bf093 Trac #33736: Fix typo in `crypto/block_cipher` documentation
3f91eee72d Trac #33688: Correct the TODO in spanning_tree.pyx
87e0641db0 Trac #33591: Colormaps also possible with threejs
7088517d31 Trac #33845: pep cleanup for  multi_polynomial_ring_base.pyx
041f643967 Trac #33844: remove deprecation in matrix2
e47906b325 Trac #33843: remove deprecated has_key
36286c8e10 Trac #33837: sage.{numerical,calculus,probability}: Remove use of SAGE_TMP in doctests
028e704739 Trac #33801: sage.misc.sage_input: Remove import from sage.all
2649fa799b Trac #33764: suppress cache warnings from systemwide sympow on Fedora
8bcb5164a7 Trac #33749: set positions in butterfly digraph generator
3a99a8f974 Trac #33886: fixing a few roles
67d1d1df08 Trac #33884: use a smaller random test in edge_disjoint_spanning_trees
2f83c2e88e Trac #33864: Update cython to 0.29.30
517265e324 Trac #7989: Minpoly doesn't work for all matrices
7c5c452d36 Trac #33887: Fix map_reduce doctest, part 2
3666d4adee Trac #33792: documentation of save_session refers to the old sagenb
bbe8511d7d Trac #33762: fine tuning details in Tamari interval posets
4018507826 Trac #33742: add see also blocks in orientation methods
18b7c88d09 Trac #33732: get rid of unused variables in algebra
1753073dd3 Trac #33726: get rid of some iteritems
3202aea219 Trac #33721: better boolean statements
22de1a0203 Trac #33715: various code formatting details in pyx files in combinat
f0d36a069c Trac #33714: clean group_semidirect_product.py (pep8 and doc)
c775c27334 Trac #33712: adjust error messages in arith/
fd6379fa9e Trac #33696: simplify some isinstance
7a8aa66385 Trac #33690: some details in symbolic
cf7d8776f9 Trac #33669: pep cleanup for tableau_tuple
5d3168b747 Trac #33668: remove class inheritance of object in various places
6ef564d3cb Trac #33667: fix and activate pycodestyle E703 in pyx files
63db3114f3 Trac #33617: sage.modules.fg_pid.fgp_module: Rename a test_... function to _test_... (with deprecation)
b35733c36c Trac #33234: Fix randrange deprecation warning with python-3.10
3c6ce75e94 Trac #33124: Add pictures to point.py documentation
8c006115a1 Trac #33016: Fix global import of sage.repl.rich_output.display_manager.get_display_manager
8a631eb377 Trac #28598: Documentation error for Stein-Watkins database
f5c86b9df3 Trac #27522: implement Conway polynomial
98e21b8c89 Trac #25626: Add doctest for integrating exp(t)/(t + 1)^2 with giac
0039cce322 Trac #33867: tweak our .lgtm file, add documentation
7de926230c Trac #33858: Further parallelization  for fundamental group of curves.
a357cf7e22 Trac #33847: Bug in h_star_vector for polytopes with the normaliz backend
f69c9b88ad Trac #33838: Refactoring run_autogen [to generate wrappers] to pkgs/sagemath-standard/setup.py
2bb3b14bc8 Trac #33831: deprecate unused PermutationGroup_generic.has_element
c4f35cfd83 Trac #33786: Top-level sage script: Unconditionally set SAGE_ROOT
83a89a096b Trac #33784: provide a framework for finite group actions
fa3b529c41 Trac #25833: Upgrade to MathJax 3 and configure Sage
e2ebf445d0 Trac #33825: Use pytest-xdist to run pytest in parallel
b4009625f3 Trac #33824: make gens and orbits of PermutationGroup immutable
af23627f18 Trac #33809: some pathlib in combinat and groups
955b5d994c Trac #33803: Fixes for the distributions sagemath-objects, sagemath-categories
3e6b41f7d6 Trac #33799: Replace SAGE_TMP in doctests of sage.misc.{persist,ostools}, sage.doctest, sage.repl
a3fd7185e3 Trac #33797: sage.misc.temporary_file: Remove use of SAGE_TMP
2ca053010a Trac #33794: modules/fp_graded/morphism.py test failure
7037fba482 Trac #33793: sage.misc.cython: Replace use of SPYX_TMP by a new cached function in sage.misc.temporary_file
d1152701c4 Trac #33787: Installation manual: Update section "system-wide install"
0ae55652cf Trac #33782: ci-cygwin: Update python version
833f53d1cc Trac #33779: Remove use of SAGE_TMP in sage.interfaces.latte
b376a8d71c Trac #33771: SSLContext needs an argument
df168c8112 Trac #33763: Refactor src/sage/docs
9597eafded Trac #33748: make accessing coefficients of finite-field elements easier
f02236f5b6 Trac #33744: Compute bases/circuits in MatroidUnion
8943dc07fc Trac #33743: Faster random tree generator
773ec37bec Trac #33740: Add conda dev environment
5e65c16108 Trac #33734: variety() for polynomial systems over ℚ using msolve
8e7dcca8d3 Trac #33733: allow to use flint for Stirling numbers
6f4efb0bf3 (tag: 9.7.beta0) Updated SageMath version to 9.7.beta0

John H Palmieri

unread,
May 28, 2022, 1:57:48 AMMay 28
to sage-release
All tests pass, but the git status is not clean after building:

% git status
On branch develop
Your branch is up to date with 'trac/develop'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
    src/doc/en/reference/documentation/sage_docbuild/


Volker Braun

unread,
May 28, 2022, 6:57:10 AMMay 28
to sage-release
I've created https://trac.sagemath.org/ticket/33925 for that

Emmanuel Charpentier

unread,
May 28, 2022, 12:56:46 PMMay 28
to sage-release

On Debian testing running on core i7 + 16 GB RAM, upgrading 9.6 to 9.7.beta1 gets me three new failutes :

sage -t --long --warn-long 195.0 --random-seed=216784506602932424616043234270317986051 src/sage/libs/giac/__init__.py  # Timed out
sage -t --long --warn-long 195.0 --random-seed=216784506602932424616043234270317986051 src/sage/calculus/calculus.py  # 1 doctest failed
sage -t --long --warn-long 195.0 --random-seed=216784506602932424616043234270317986051 src/sage/groups/perm_gps/permgroup_named.py  # 2 doctests failed

The firs one is transient, but re-running it, while succeding, let one think that the relevant doctest choice is problematic :

charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --warn-long 195.0 --random-seed=216784506602932424616043234270317986051 src/sage/libs/giac/__init__.py  # Timed out
Running doctests with ID 2022-05-28-17-58-26-d8e7adb5.
Git branch: develop
Using --optional=debian,dot2tex,fricas,gap_packages,libsemigroups,pip,pysingular,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,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.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 195.0 --random-seed=216784506602932424616043234270317986051 src/sage/libs/giac/__init__.py
**********************************************************************
File "src/sage/libs/giac/__init__.py", line 208, in sage.libs.giac.?
Warning, slow doctest:
    B1.is_groebner() # long time (20s)
Test ran for 809.21 s, check ran for 0.00 s
    [62 tests, 836.62 s]
----------------------------------------------------------------------
All tests passed!
----------------------------------------------------------------------
Total time for all tests: 841.7 seconds
    cpu time: 837.5 seconds
    cumulative wall time: 836.6 seconds
Features detected for doctesting: 
pytest is not installed in the venv, skip checking tests that rely on it

836 seconds may me a bit steep for a doctest...

The two other ones are permanent. Rerunning them :

charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --warn-long 195.0 --random-seed=216784506602932424616043234270317986051 src/sage/calculus/calculus.py  # 1 doctest failed
Running doctests with ID 2022-05-28-18-17-56-f8b9afba.
Git branch: develop
Using --optional=debian,dot2tex,fricas,gap_packages,libsemigroups,pip,pysingular,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,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.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 195.0 --random-seed=216784506602932424616043234270317986051 src/sage/calculus/calculus.py
**********************************************************************
File "src/sage/calculus/calculus.py", line 387, in sage.calculus.calculus
Failed example:
    integrate(exp(t)/(t + 1)^2, t, algorithm="giac")
Expected:
    (t*Ei(t + 1) + Ei(t + 1) - e^(t + 1))/(t*e + e)
Got:
    ((t + 1)*(1/(t + 1) - 1)*Ei(-(t + 1)*(1/(t + 1) - 1) + 1) - Ei(-(t + 1)*(1/(t + 1) - 1) + 1) + e^(-(t + 1)*(1/(t + 1) - 1) + 1))/((t + 1)*(1/(t + 1) - 1)*e - e)
**********************************************************************
1 item had failures:
   1 of 118 in sage.calculus.calculus
    [463 tests, 1 failure, 12.38 s]
----------------------------------------------------------------------
sage -t --long --warn-long 195.0 --random-seed=216784506602932424616043234270317986051 src/sage/calculus/calculus.py  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 22.5 seconds
    cpu time: 12.3 seconds
    cumulative wall time: 12.4 seconds
Features detected for doctesting: 
pytest is not installed in the venv, skip checking tests that rely on it

giac, again… config.log says :

configure:60497: result: giac-1.6.0.47p3.p0:                          using system package; SPKG will not be installed

BTW, my system giac comes from the Debian package xcas and its dependencies :

charpent@zen-book-flip:/usr/local/sage-9$ giac --version
// Using locale /usr/share/locale/
// fr_FR.UTF-8
// /usr/share/locale/
// giac
// UTF-8
// Maximum number of parallel threads 8
// (c) 2001, 2021 B. Parisse & others
1.7.0

The last failure may come from the gap_packages optional SPKG :

charpent@zen-book-flip:/usr/local/sage-9$ sage -t --long --warn-long 195.0 --random-seed=216784506602932424616043234270317986051 src/sage/groups/perm_gps/permgroup_named.py  # 2 doctests failed
Running doctests with ID 2022-05-28-18-18-47-57647240.
Git branch: develop
Using --optional=debian,dot2tex,fricas,gap_packages,libsemigroups,pip,pysingular,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,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.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 195.0 --random-seed=216784506602932424616043234270317986051 src/sage/groups/perm_gps/permgroup_named.py
**********************************************************************
File "src/sage/groups/perm_gps/permgroup_named.py", line 2737, in sage.groups.perm_gps.permgroup_named.PSL.ramification_module_decomposition_hurwitz_curve
Failed example:
    G.ramification_module_decomposition_hurwitz_curve() # random, optional - gap_packages
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/sage-9/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/sage/doctest/forker.py", line 695, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/sage-9/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/sage/doctest/forker.py", line 1093, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.groups.perm_gps.permgroup_named.PSL.ramification_module_decomposition_hurwitz_curve[1]>", line 1, in <module>
        G.ramification_module_decomposition_hurwitz_curve() # random, optional - gap_packages
      File "/usr/local/sage-9/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/sage/groups/perm_gps/permgroup_named.py", line 2758, in ramification_module_decomposition_hurwitz_curve
        libgap.Read(Path(SAGE_EXTCODE) / 'gap' / 'joyner' /
      File "sage/libs/gap/element.pyx", line 2519, in sage.libs.gap.element.GapElement_Function.__call__ (build/cythonized/sage/libs/gap/element.c:19868)
        a = [x if isinstance(x, GapElement) else libgap(x) for x in args]
      File "sage/structure/parent.pyx", line 897, in sage.structure.parent.Parent.__call__ (build/cythonized/sage/structure/parent.c:9467)
        return mor._call_(x)
      File "sage/structure/coerce_maps.pyx", line 161, in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (build/cythonized/sage/structure/coerce_maps.c:4751)
        raise
      File "sage/structure/coerce_maps.pyx", line 156, in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (build/cythonized/sage/structure/coerce_maps.c:4643)
        return C._element_constructor(x)
      File "sage/libs/gap/libgap.pyx", line 317, in sage.libs.gap.libgap.Gap._element_constructor_ (build/cythonized/sage/libs/gap/libgap.c:3856)
        x = str(x._libgap_init_())
    AttributeError: 'PosixPath' object has no attribute '_libgap_init_'
**********************************************************************
File "src/sage/groups/perm_gps/permgroup_named.py", line 2787, in sage.groups.perm_gps.permgroup_named.PSL.ramification_module_decomposition_modular_curve
Failed example:
    G.ramification_module_decomposition_modular_curve() # random, optional - gap_packages
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/sage-9/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/sage/doctest/forker.py", line 695, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/sage-9/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/sage/doctest/forker.py", line 1093, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.groups.perm_gps.permgroup_named.PSL.ramification_module_decomposition_modular_curve[1]>", line 1, in <module>
        G.ramification_module_decomposition_modular_curve() # random, optional - gap_packages
      File "/usr/local/sage-9/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/sage/groups/perm_gps/permgroup_named.py", line 2802, in ramification_module_decomposition_modular_curve
        libgap.Read(Path(SAGE_EXTCODE) / 'gap' / 'joyner' /
      File "sage/libs/gap/element.pyx", line 2519, in sage.libs.gap.element.GapElement_Function.__call__ (build/cythonized/sage/libs/gap/element.c:19868)
        a = [x if isinstance(x, GapElement) else libgap(x) for x in args]
      File "sage/structure/parent.pyx", line 897, in sage.structure.parent.Parent.__call__ (build/cythonized/sage/structure/parent.c:9467)
        return mor._call_(x)
      File "sage/structure/coerce_maps.pyx", line 161, in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (build/cythonized/sage/structure/coerce_maps.c:4751)
        raise
      File "sage/structure/coerce_maps.pyx", line 156, in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ (build/cythonized/sage/structure/coerce_maps.c:4643)
        return C._element_constructor(x)
      File "sage/libs/gap/libgap.pyx", line 317, in sage.libs.gap.libgap.Gap._element_constructor_ (build/cythonized/sage/libs/gap/libgap.c:3856)
        x = str(x._libgap_init_())
    AttributeError: 'PosixPath' object has no attribute '_libgap_init_'
**********************************************************************
2 items had failures:
   1 of   3 in sage.groups.perm_gps.permgroup_named.PSL.ramification_module_decomposition_hurwitz_curve
   1 of   3 in sage.groups.perm_gps.permgroup_named.PSL.ramification_module_decomposition_modular_curve
    [519 tests, 2 failures, 4.23 s]
----------------------------------------------------------------------
sage -t --long --warn-long 195.0 --random-seed=216784506602932424616043234270317986051 src/sage/groups/perm_gps/permgroup_named.py  # 2 doctests failed
----------------------------------------------------------------------
Total time for all tests: 4.3 seconds
    cpu time: 4.2 seconds
    cumulative wall time: 4.2 seconds
Features detected for doctesting: 
pytest is not installed in the venv, skip checking tests that rely on it

Same failure in both cases...

HTH,

Kenji Iohara

unread,
May 29, 2022, 3:02:57 AMMay 29
to sage-r...@googlegroups.com
Thanks Volker for this version. 
On Mac OS 12.4 with Intel Core i5 using homebrew, 
Sage 9.7.beta1 compiled from the first built. For make ptestlong, I had the next result:

----------------------------------------------------------------------
sage -t --long --warn-long 260.4 --random-seed=303128340118690818320312396320921096202 src/sage/combinat/tutorial.py  # Killed due to segmentation fault
----------------------------------------------------------------------
Total time for all tests: 7003.9 seconds
    cpu time: 17420.1 seconds
    cumulative wall time: 26988.5 seconds
Features detected for doctesting: dvipng,gfan,graphviz,imagemagick,nauty,palp,pandoc,pdf2svg,pdftocairo,polytopes_db,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.plot,sage.rings.number_field,sage.rings.padics,sage.rings.real_double,sage.symbolic,sagemath_doc_html,sphinx
============================= test session starts ==============================
platform darwin -- Python 3.10.4, pytest-7.1.2, pluggy-1.0.0
rootdir: /Users/iohara/Desktop/sage-9.7.beta1/src, configfile: tox.ini
collected 26 items / 104 skipped                                               

src/sage/manifolds/differentiable/symplectic_form_test.py .............. [ 53%]
........                                                                 [ 84%]
src/sage/manifolds/differentiable/examples/symplectic_space_test.py .... [100%]

================== 26 passed, 104 skipped in 87.75s (0:01:27) ==================
make: *** [ptestlong] Error 16


27/05/2022 21:32、Volker Braun <vbrau...@gmail.com>のメール:

--
You received this message because you are subscribed to the Google Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-release...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/7cdbfb2c-32f8-43a6-9a32-8fdb745c5f72n%40googlegroups.com.

Justin C. Walker

unread,
May 30, 2022, 6:38:54 PMMay 30
to sage-r...@googlegroups.com


> On May 27, 2022, at 12:32 , Volker Braun <vbrau...@gmail.com> wrote:
>
> 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

Built on two systems:

10.14.6 (2017 MBP, 4-core Core i7): Two tests showed failures:
sage -t --long --warn-long 112.7 --random-seed=172114300282344176032932270358590051664 src/sage/schemes/toric/sheaf/klyachko.py # 1 doctest failed
sage -t --long --warn-long 112.7 --random-seed=172114300282344176032932270358590051664 src/sage/symbolic/integration/external.py # 1 doctest failed

The first seemed persistent, when run several times with the same seed. When run with no seed, the test passed.
The second seemed persistent (as with 9.7.b0; and in both cases, I ran with the given seed and with no seed).

Pieces of the log file attached.

10.15.7 (2019 MBP, 8-core Core i9): All tests passed!

Justin

ShortLog.log

John H Palmieri

unread,
May 30, 2022, 10:05:29 PMMay 30
to sage-release
Could this be related to https://trac.sagemath.org/ticket/33877? What version of `giac` are you using?

Clemens Heuberger

unread,
Jun 1, 2022, 12:52:59 AMJun 1
to sage-r...@googlegroups.com
With a Python 3.8.10 installed as a system python, I get a persistent doctest
failure (Linux Mint 20.2 uma):

Running doctests with ID 2022-05-29-17-41-28-c07c4f34.
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_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.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 164.1
--random-seed=286393217015090953698065039142096748400 src/sage/doctest/forker.py
**********************************************************************
File "src/sage/doctest/forker.py", line 1708, in
sage.doctest.forker.DocTestDispatcher.parallel_dispatch
Failed example:
with ( NTF(suffix=".py", mode="w+t") as f1,
NTF(suffix=".py", mode="w+t") as f2 ):
_ = f1.write("'''\nsage: import time; time.sleep(60)\n'''")
f1.flush()
_ = f2.write("'''\nsage: True\nFalse\n'''")
f2.flush()
DC = DocTestController(DocTestDefaults(exitfirst=True,
nthreads=2),
[f1.name, f2.name])
DC.expand_files_into_sources()
DD = DocTestDispatcher(DC)
DR = DocTestReporter(DC)
DC.reporter = DR
DC.dispatcher = DD
DC.timer = Timer().start()
DD.parallel_dispatch()
Exception raised:
Traceback (most recent call last):
File
"/local/cheuberg/local/sage-9.7.beta1/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/sage/doctest/forker.py",
line 695, in _run
self.compile_and_execute(example, compiler, test.globs)
File
"/local/cheuberg/local/sage-9.7.beta1/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/sage/doctest/forker.py",
line 1091, in compile_and_execute
compiled = compiler(example)
File
"/local/cheuberg/local/sage-9.7.beta1/local/var/lib/sage/venv-python3.8/lib/python3.8/site-packages/sage/doctest/forker.py",
line 662, in compiler
code = compile(example.source, filename, "single",
File "<doctest
sage.doctest.forker.DocTestDispatcher.parallel_dispatch[17]>", line 1
with ( NTF(suffix=".py", mode="w+t") as f1,
^
SyntaxError: invalid syntax
**********************************************************************
1 item had failures:
1 of 19 in sage.doctest.forker.DocTestDispatcher.parallel_dispatch
[441 tests, 1 failure, 7.40 s]
----------------------------------------------------------------------
sage -t --long --warn-long 164.1
--random-seed=286393217015090953698065039142096748400 src/sage/doctest/forker.py
# 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 12.3 seconds
cpu time: 1.5 seconds
cumulative wall time: 7.4 seconds
Features detected for doctesting:
pytest is not installed in the venv, skip checking tests that rely on it


Am 27.05.22 um 21:32 schrieb Volker Braun:

Dima Pasechnik

unread,
Jun 1, 2022, 6:00:26 AMJun 1
to sage-release
I think there is a ticket to fix this, it's a Python 3.10 syntax that
was used at that place.
> --
> 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/d0afab93-1cf6-2379-dd47-43f33e75b6b8%40aau.at.

Justin C. Walker

unread,
Jun 1, 2022, 2:23:33 PMJun 1
to sage-r...@googlegroups.com


> On May 30, 2022, at 19:05 , John H Palmieri <jhpalm...@gmail.com> wrote:
>
> Could this be related to https://trac.sagemath.org/ticket/33877? What version of `giac` are you using?

The giac package claims to be giac-1.6.0.47p3. I am not familiar with the “giac” universe, but this only seems to happen on my macOS 10.14 laptop.

FWIW, this same version of giac on this system has been showing the same failure since “sage-9.4”. Maybe something in the toolchain I have?

Justin
> --
> 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/fd2f4f40-ab2a-48cb-bae3-c1bbcb1622e5n%40googlegroups.com.

--
Justin C. Walker
Director, Institute for the Absorption of Federal Funds
--
Taxes, n.:
Of life's two certainties, the only one
for which you can get an extension.
--


Sébastien Labbé

unread,
Jun 1, 2022, 3:09:23 PMJun 1
to sage-release
On Ubuntu 20.04 + few optional packages, I get:

Using --optional=4ti2,build,ccache,cryptominisat,debian,dot2tex,e_antic,external,fricas,glucose,latte_int,lidia,lrslib,normaliz,notedown,pandoc_attributes,pip,pycosat,pynormaliz,rst2ipynb,sage,sage_numerical_backends_coin,sage_spkg

...

----------------------------------------------------------------------
sage -t --long --random-seed=198711564697578571134640168640334577331 src/doc/en/constructions/linear_algebra.rst  # 1 doctest failed
sage -t --long --random-seed=198711564697578571134640168640334577331 src/doc/en/developer/coding_in_other.rst  # 1 doctest failed
sage -t --long --random-seed=198711564697578571134640168640334577331 src/sage/combinat/designs/incidence_structures.py  # 1 doctest failed
sage -t --long --random-seed=198711564697578571134640168640334577331 src/sage/databases/oeis.py  # 1 doctest failed
sage -t --long --random-seed=198711564697578571134640168640334577331 src/sage/doctest/forker.py  # 1 doctest failed
sage -t --long --random-seed=198711564697578571134640168640334577331 src/sage/graphs/generic_graph.py  # 2 doctests failed
sage -t --long --random-seed=198711564697578571134640168640334577331 src/sage/graphs/graph.py  # 3 doctests failed
sage -t --long --random-seed=198711564697578571134640168640334577331 src/sage/interfaces/octave.py  # 3 doctests failed
sage -t --long --random-seed=198711564697578571134640168640334577331 src/sage/misc/package.py  # 1 doctest failed
sage -t --long --random-seed=198711564697578571134640168640334577331 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.plot,sage.rings.number_field,sage.rings.padics,sage.rings.real_double,sage.symbolic,sagemath_doc_html,sphinx,xelatex


All of the above failures have already been reported. See https://trac.sagemath.org/ticket/25536 for follow up.

I copy the most recent failure with oeis below for which I will create a ticket in the next moment.


sage -t --long --random-seed=338338694516746243229974035543678418772 src/sage/databases/oeis.py
**********************************************************************
File "src/sage/databases/oeis.py", line 129, in sage.databases.oeis
Failed example:
    [i for i in b.comments() if 'prime' in i][-1]     # optional -- internet
Expected:
    'Number n is prime if mod(a(n)-2,n) = 0...'
Got:
    'Number n is prime if (a(n)-2) mod n = 0. - _Dmitry Kruchinin_, Feb 14 2012 - Incorrect; see 2007 comment by David W. Wilson above. - _Jeppe Stig Nielsen_, Apr 22 2022'

**********************************************************************
1 item had failures:
   1 of  26 in sage.databases.oeis
    5 webbrowser tests not run
    0 tests not run because we ran out of time
    [289 tests, 1 failure, 32.78 s]


Reply all
Reply to author
Forward
0 new messages