a fix for the findstat issue is now ready at 
https://trac.sagemath.org/ticket/34841

On Monday, 12 December 2022 at 13:41:12 UTC+1 Sébastien Labbé wrote:

> On Ubuntu 18.04 + optional packages, I get:
>
> Using --optional=build,debian,dot2tex,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=272593093326682574709721068756699862207 
> src/doc/en/reference/sat/index.rst  # Killed due to abort
> sage -t --long --random-seed=272593093326682574709721068756699862207 
> src/sage/crypto/mq/sr.py  # Killed due to abort
> sage -t --long --random-seed=272593093326682574709721068756699862207 
> src/sage/databases/findstat.py  # 2 doctests failed
> sage -t --long --random-seed=272593093326682574709721068756699862207 
> src/sage/databases/oeis.py  # 2 doctests failed
> sage -t --long --random-seed=272593093326682574709721068756699862207 
> src/sage/repl/interpreter.py  # 1 doctest failed
> sage -t --long --random-seed=272593093326682574709721068756699862207 
> src/sage/rings/polynomial/multi_polynomial_sequence.py  # Killed due to 
> abort
> sage -t --long --random-seed=272593093326682574709721068756699862207 
> src/sage/rings/polynomial/pbori/PyPolyBoRi.py  # Killed due to abort
> sage -t --long --random-seed=272593093326682574709721068756699862207 
> src/sage/rings/polynomial/pbori/fglm.py  # Killed due to abort
> sage -t --long --random-seed=272593093326682574709721068756699862207 
> src/sage/rings/polynomial/pbori/pbori.pyx  # Killed due to abort
> sage -t --long --random-seed=272593093326682574709721068756699862207 
> src/sage/rings/polynomial/polynomial_ring_constructor.py  # Killed due to 
> abort
> sage -t --long --random-seed=272593093326682574709721068756699862207 
> src/sage/sat/boolean_polynomials.py  # Killed due to abort
> sage -t --long --random-seed=272593093326682574709721068756699862207 
> src/sage/sat/solvers/dimacs.py  # Killed due to abort
> sage -t --long --random-seed=272593093326682574709721068756699862207 
> 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
>
>
> Doctests failures are copied below.
>
> Follow-up at https://trac.sagemath.org/ticket/25536
>
>
> sage -t --long --random-seed=272593093326682574709721068756699862207 
> 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, 4.42 s]
>
>
>
>
>
>
>
> sage -t --long --random-seed=114449148502975084720686639811218715769 
> src/sage/databases/oeis.py
> **********************************************************************
> File "src/sage/databases/oeis.py", line 1632, in 
> sage.databases.oeis.OEISSequence.cross_references
> Failed example:
>     nbalanced.cross_references()              # optional -- internet
> Expected:
>     ('A049703', 'A049695', 'A103116', 'A000010')
> Got:
>     ('A000010', 'A002088', 'A011755', 'A049695', 'A049703', 'A103116')
> **********************************************************************
> File "src/sage/databases/oeis.py", line 1635, in 
> sage.databases.oeis.OEISSequence.cross_references
> Failed example:
>     nbalanced.cross_references(fetch=True)    # optional -- internet
> Expected:
>     0: A049703: a(0) = 0; for n>0, a(n) = A005598(n)/2.
>     1: A049695: Array T read by diagonals; ...
>     2: A103116: a(n) = Sum_{i=1..n} (n-i+1)*phi(i).
>     3: A000010: Euler totient function phi(n): count numbers <= n and 
> prime to n.
> Got:
>     0: A000010: Euler totient function phi(n): count numbers <= n and 
> prime to n.
>     1: A002088: Sum of totient function: a(n) = Sum_{k=1..n} phi(k), cf. 
> A000010.
>     2: A011755: a(n) = Sum_{k=1..n} k*phi(k).
>     3: A049695: Array T read by diagonals; T(i,j) is the number of 
> nonnegative slopes of lines determined by 2 lattice points in [ 0,i ] X [ 
> 0,j ] if i > 0; T(0,j)=1 if j > 0; T(0,0)=0.
>     4: A049703: a(0) = 0; for n>0, a(n) = A005598(n)/2.
>     5: A103116: a(n) = Sum_{i=1..n} (n-i+1)*phi(i).
> **********************************************************************
> 1 item had failures:
>    2 of   7 in sage.databases.oeis.OEISSequence.cross_references
>     5 webbrowser tests not run
>     0 tests not run because we ran out of time
>     [289 tests, 2 failures, 29.89 s]
>
>
>
>
> sage -t --long --random-seed=272593093326682574709721068756699862207 
> src/sage/databases/findstat.py
> **********************************************************************
> File "src/sage/databases/findstat.py", line 2210, in 
> sage.databases.findstat.?._fetch_data
> Failed example:
>     findstat(41)._data()                                          # 
> optional -- internet, indirect doctest
> Expected:
>     {'Bibliography': {'MathSciNet:1288802': {'Author': 'de Médicis, A., 
> Viennot, X. G.',
>        'Title': 'Moments des $q$-polynômes de Laguerre et la bijection de 
> Foata-Zeilberger'},
>       'MathSciNet:1418763': {'Author': 'Simion, R., Stanton, D.',
>        'Title': 'Octabasic Laguerre polynomials and permutation 
> statistics'}},
>      'Code': 'def statistic(x):\r\n    return len(x.nestings())',
>      'Description': 'The number of nestings of a perfect matching. 
> \r\n\r\n\r\nThis is the number of pairs of edges $((a,b), (c,d))$ such that 
> $a\\le c\\le d\\le b$. i.e., the edge $(c,d)$ is nested inside $(a,b)$.',
>      'Domain': 'Cc0012',
>      'Name': 'The number of nestings of a perfect matching.',
>      'References': '[1]  [[MathSciNet:1288802]]\n[2] 
>  [[MathSciNet:1418763]]',
>      'SageCode': 'def statistic(x):\r\n    return len(x.nestings())'}
> Got:
>     {'Bibliography': {'MathSciNet:1288802': {'Author': 'de Médicis, A., 
> Viennot, X. G.',
>        'Title': 'Moments des $q$-polynômes de Laguerre et la bijection de 
> Foata-Zeilberger'},
>       'MathSciNet:1418763': {'Author': 'Simion, R., Stanton, D.',
>        'Title': 'Octabasic Laguerre polynomials and permutation 
> statistics'}},
>      'Code': 'def statistic(x):\n    return len(x.nestings())',
>      'Description': 'The number of nestings of a perfect matching. 
> \n\n\nThis is the number of pairs of edges $((a,b), (c,d))$ such that 
> $a\\le c\\le d\\le b$. i.e., the edge $(c,d)$ is nested inside $(a,b)$.',
>      'Domain': 'Cc0012',
>      'Name': 'The number of nestings of a perfect matching.',
>      'References': '[1]  [[MathSciNet:1288802]]\n[2] 
>  [[MathSciNet:1418763]]',
>      'SageCode': 'def statistic(x):\n    return len(x.nestings())'}
> **********************************************************************
> File "src/sage/databases/findstat.py", line 3149, in 
> sage.databases.findstat.?._fetch_data
> Failed example:
>     findmap(64)._data()                                           # 
> optional -- internet, indirect doctest
> Expected:
>     {'Bibliography': {},
>      'Codomain': 'Cc0001',
>      'Description': 'Sends a permutation to its reverse.\r\n\r\nThe 
> reverse of a permutation $\\sigma$ of length $n$ is given by $\\tau$ with 
> $\\tau(i) = \\sigma(n+1-i)$.',
>      'Domain': 'Cc0001',
>      'Name': 'reverse',
>      'Properties': 'bijective, graded, involutive',
>      'References': '',
>      'SageCode': 'def mapping(sigma):\r\n    return sigma.reverse()'}
> Got:
>     {'Bibliography': {},
>      'Codomain': 'Cc0001',
>      'Description': 'Sends a permutation to its reverse.\n\nThe reverse of 
> a permutation $\\sigma$ of length $n$ is given by $\\tau$ with $\\tau(i) = 
> \\sigma(n+1-i)$.',
>      'Domain': 'Cc0001',
>      'Name': 'reverse',
>      'Properties': 'bijective, graded, involutive',
>      'References': '',
>      'SageCode': 'def mapping(sigma):\n    return sigma.reverse()'}
> **********************************************************************
> 1 item had failures:
>    2 of   4 in sage.databases.findstat.?._fetch_data
>     11 webbrowser tests not run
>     0 tests not run because we ran out of time
>     [426 tests, 2 failures, 99.37 s]
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/e0668497-2aa2-4d84-ae25-50306cea1e5dn%40googlegroups.com.

Reply via email to