I now upgraded to Ubuntu 20.04.1 LTS (which may explains why I am reporting
errors below I was not reporting before).
Moreover, my config.log confirms that I am using python3.8 from my system:
...
## -------------------------------------------------------- ##
## Checking whether SageMath should install SPKG python3... ##
## -------------------------------------------------------- ##
configure:29385: checking whether any of sqlite libpng bzip2 xz libffi is
installed as or will be installed as SPKG
configure:29394: result: no
configure:29404: checking for python3 >= 3.6, < 3.9 with modules sqlite3,
ctypes, math, hashlib, crypt, readline, socket, zlib, distutils.core
configure:29410: result:
configure:29425: checking ... whether /usr/bin/python3.8 is good
configure:29618: result: yes
configure:29620: checking for python3 >= 3.6, < 3.9 with modules sqlite3,
ctypes, math, hashlib, crypt, readline, socket, zlib, distutils.core
configure:29679: result: /usr/bin/python3.8
configure:29694: will use system package and not install SPKG python3
...
Testing few optional and external packages, I get:
Using
--optional=4ti2,ccache,cryptominisat,dot2tex,e_antic,external,fricas,glucose,latte_int,libnauty,lidia,lrslib,memlimit,normaliz,notedown,openssl,pandoc_attributes,pycosat,pynormaliz,rst2ipynb,sage,sage_numerical_backends_coin
----------------------------------------------------------------------
sage -t --long --random-seed=0
src/doc/en/constructions/interface_issues.rst # 1 doctest failed
sage -t --long --random-seed=0 src/doc/en/constructions/linear_algebra.rst
# 1 doctest failed
sage -t --long --random-seed=0 src/doc/en/developer/coding_in_other.rst #
1 doctest failed
sage -t --long --random-seed=0
src/sage/combinat/designs/incidence_structures.py # 1 doctest failed
sage -t --long --random-seed=0 src/sage/databases/oeis.py # 1 doctest
failed
sage -t --long --random-seed=0 src/sage/graphs/generic_graph.py # 2
doctests failed
sage -t --long --random-seed=0 src/sage/graphs/graph.py # 3 doctests failed
sage -t --long --random-seed=0 src/sage/interfaces/octave.py # 3 doctests
failed
sage -t --long --random-seed=0 src/sage/symbolic/integration/external.py #
1 doctest failed
sage -t --long --random-seed=0 src/sage/symbolic/integration/integral.py #
1 doctest failed
Doctests interrupted: 2236/4204 files tested
----------------------------------------------------------------------
External software detected for doctesting: graphviz,internet,octave
For some reason that I ignore, the doctests were interrupted while I was in
a
webconf on the same machine. I will rerun the tests and post the result
later.
Doctests failures are copied below.
sage -t --long --random-seed=0 src/doc/en/constructions/linear_algebra.rst
**********************************************************************
File "src/doc/en/constructions/linear_algebra.rst", line 454, in
doc.en.constructions.linear_algebra
Failed example:
octave.solve_linear_system(A,b) # optional - octave
Exception raised:
Traceback (most recent call last):
File
"/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py",
line 720, in _run
self.compile_and_execute(example, compiler, test.globs)
File
"/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py",
line 1145, in compile_and_execute
exec(compiled, globs)
File "<doctest doc.en.constructions.linear_algebra[4]>", line 1, in
<module>
octave.solve_linear_system(A,b) # optional - octave
File
"/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/interfaces/octave.py",
line 519, in solve_linear_system
return eval(sol)
File "<string>", line 1
[-0.333333, 0.666667, 0,
^
SyntaxError: unexpected EOF while parsing
**********************************************************************
1 item had failures:
1 of 115 in doc.en.constructions.linear_algebra
0 tests not run because we ran out of time
[93 tests, 1 failure, 3.17 s]
sage -t --long --random-seed=0 src/doc/en/constructions/interface_issues.rst
**********************************************************************
File "src/doc/en/constructions/interface_issues.rst", line 432, in
doc.en.constructions.interface_issues
Failed example:
octave("atanh(1.1)") ## optional - octave
Expected:
(1.52226,-1.5708)
Got:
(1.52226,1.5708)
**********************************************************************
1 item had failures:
1 of 22 in doc.en.constructions.interface_issues
0 tests not run because we ran out of time
[17 tests, 1 failure, 2.68 s]
sage -t --long --random-seed=0 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\n'
Got:
'a =\n\n 1 1 2\n 3 5 8\n 13 21 33\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\n'
Got:
'b =\n\n 1\n 3\n 13\n'
**********************************************************************
File "src/sage/interfaces/octave.py", line 496, in
sage.interfaces.octave.Octave.solve_linear_system
Failed example:
octave.solve_linear_system(A,b) # optional - octave (and output is
slightly random in low order bits)
Exception raised:
Traceback (most recent call last):
File
"/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py",
line 720, in _run
self.compile_and_execute(example, compiler, test.globs)
File
"/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py",
line 1145, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.interfaces.octave.Octave.solve_linear_system[4]>", line 1, in <module>
octave.solve_linear_system(A,b) # optional - octave (and output
is slightly random in low order bits)
File
"/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/interfaces/octave.py",
line 519, in solve_linear_system
return eval(sol)
File "<string>", line 1
[-0.333333, 0.666667, 0,
^
SyntaxError: unexpected EOF while parsing
**********************************************************************
2 items had failures:
2 of 8 in sage.interfaces.octave.Octave
1 of 6 in sage.interfaces.octave.Octave.solve_linear_system
3 not tested tests not run
0 tests not run because we ran out of time
[132 tests, 3 failures, 2.38 s]
sage -t --long --random-seed=0 src/sage/graphs/graph.py
**********************************************************************
File "src/sage/graphs/graph.py", line 4507, in
sage.graphs.graph.Graph.has_homomorphism_to
Failed example:
g.has_homomorphism_to(graphs.CycleGraph(4)) is not False
Expected:
False
Got:
True
**********************************************************************
File "src/sage/graphs/graph.py", line 4902, in sage.graphs.graph.Graph.minor
Failed example:
L = g.minor(graphs.CompleteGraph(3))
Expected:
Traceback (most recent call last):
...
ValueError: This graph has no minor isomorphic to H !
Got:
<BLANKLINE>
**********************************************************************
File "src/sage/graphs/graph.py", line 6112, in
sage.graphs.graph.Graph.topological_minor
Failed example:
g.topological_minor(graphs.CycleGraph(3))
Expected:
False
Got:
Subgraph of (Subgraph of (RandomGNP(15,0.300000000000000))): Graph on 0
vertices
**********************************************************************
3 items had failures:
1 of 10 in sage.graphs.graph.Graph.has_homomorphism_to
1 of 14 in sage.graphs.graph.Graph.minor
1 of 7 in sage.graphs.graph.Graph.topological_minor
2 mcqd tests not run
2 not tested tests not run
13 python_igraph tests not run
0 tests not run because we ran out of time
[1238 tests, 3 failures, 33.45 s]
sage -t --long --random-seed=0
src/sage/combinat/designs/incidence_structures.py
**********************************************************************
File "src/sage/combinat/designs/incidence_structures.py", line 2027, in
sage.combinat.designs.incidence_structures.IncidenceStructure.coloring
Failed example:
len(designs.steiner_triple_system(7).coloring())
Expected:
3
Got:
2
**********************************************************************
1 item had failures:
1 of 6 in
sage.combinat.designs.incidence_structures.IncidenceStructure.coloring
8 gap_packages tests not run
3 not tested tests not run
0 tests not run because we ran out of time
[337 tests, 1 failure, 1.59 s]
sage -t --long --random-seed=0 src/doc/en/developer/coding_in_other.rst
**********************************************************************
File "src/doc/en/developer/coding_in_other.rst", line 728, in
doc.en.developer.coding_in_other.solve_linear_system
Failed example:
octave.solve_linear_system(A,b) # optional - octave
Exception raised:
Traceback (most recent call last):
File
"/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py",
line 720, in _run
self.compile_and_execute(example, compiler, test.globs)
File
"/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/doctest/forker.py",
line 1145, in compile_and_execute
exec(compiled, globs)
File "<doctest
doc.en.developer.coding_in_other.solve_linear_system[4]>", line 1, in
<module>
octave.solve_linear_system(A,b) # optional - octave
File
"/home/slabbe/GitBox/sage/local/lib/python3.8/site-packages/sage/interfaces/octave.py",
line 519, in solve_linear_system
return eval(sol)
File "<string>", line 1
[-0.333333, 0.666667, 0,
^
SyntaxError: unexpected EOF while parsing
**********************************************************************
1 item had failures:
1 of 6 in doc.en.developer.coding_in_other.solve_linear_system
0 tests not run because we ran out of time
[41 tests, 1 failure, 0.84 s]
sage -t --long --random-seed=0 src/sage/symbolic/integration/external.py
**********************************************************************
File "src/sage/symbolic/integration/external.py", line 260, in
sage.symbolic.integration.external.parse_moutput_from_json
Failed example:
sorted(L) # optional
internet
Expected:
[u'-Cos[x]', u'{{x == Pi C[1], Element[C[1], Integers]}}']
Got:
['-Cos[x]', '{{x == 0}}', '{{x == Pi C[1], Element[C[1], Integers]}}']
**********************************************************************
1 item had failures:
1 of 10 in sage.symbolic.integration.external.parse_moutput_from_json
0 tests not run because we ran out of time
[48 tests, 1 failure, 29.29 s]
sage -t --long --random-seed=0 src/sage/graphs/generic_graph.py
**********************************************************************
File "src/sage/graphs/generic_graph.py", line 8909, in
sage.graphs.generic_graph.GenericGraph.nowhere_zero_flow
Failed example:
h = g.nowhere_zero_flow(k=3)
Expected:
Traceback (most recent call last):
...
EmptySetError: the problem has no feasible solution
Got:
<BLANKLINE>
**********************************************************************
File "src/sage/graphs/generic_graph.py", line 9530, in
sage.graphs.generic_graph.GenericGraph.disjoint_routed_paths
Failed example:
p1,p2 = g.disjoint_routed_paths([((0, 0), (4, 4)), ((0, 4), (4, 0))])
Expected:
Traceback (most recent call last):
...
EmptySetError: the disjoint routed paths do not exist
Got:
<BLANKLINE>
**********************************************************************
2 items had failures:
1 of 5 in sage.graphs.generic_graph.GenericGraph.disjoint_routed_paths
1 of 29 in sage.graphs.generic_graph.GenericGraph.nowhere_zero_flow
17 bliss tests not run
6 not tested tests not run
39 python_igraph tests not run
0 tests not run because we ran out of time
[3519 tests, 2 failures, 54.81 s]
sage -t --long --random-seed=0 src/sage/symbolic/integration/integral.py
**********************************************************************
File "src/sage/symbolic/integration/integral.py", line 72, in
sage.symbolic.integration.integral.IndefiniteIntegral.__init__
Failed example:
(f*f).integrate(x, algorithm="mathematica_free") # optional -- internet
Expected:
-b*log(e^(-(a - x)/b) + 1) + x + b/(e^(-(a - x)/b) + 1)
Got:
-b*log(e^(a/b) + e^(x/b)) + x + b/(e^(-(a - x)/b) + 1)
**********************************************************************
1 item had failures:
1 of 12 in
sage.symbolic.integration.integral.IndefiniteIntegral.__init__
3 tests not run due to known bugs
2 maple tests not run
3 mathematica tests not run
0 tests not run because we ran out of time
[216 tests, 1 failure, 34.98 s]
sage -t --long --random-seed=0 src/sage/databases/oeis.py
**********************************************************************
File "src/sage/databases/oeis.py", line 527, 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: A177194: Fibonacci numbers whose decimal expansion does not contain
any digit 0.
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: A177194: Fibonacci numbers whose decimal expansion does not contain
any digit 0.
**********************************************************************
1 item had failures:
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
[287 tests, 1 failure, 37.14 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-release/cefe19ce-e22b-47e6-8cb5-717cb087e795n%40googlegroups.com.