Sage 8.9.beta2 released

167 views
Skip to first unread message

Volker Braun

unread,
Jul 10, 2019, 10:28:35 AM7/10/19
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 


95ea5f39d9 (HEAD -> develop, tag: 8.9.beta2, trac/develop) Updated SageMath version to 8.9.beta2
cd18186c46 Trac #28125: Fix typo in formatted string
b31a5b3fc2 Trac #28124: Breadth typo
d6fdb18bf4 Trac #28122: Fix a docstring in free_module in orders of number fields
a1792759ba Trac #28115: Add .vscode to gitignore
488c0e9f0f Trac #28111: Insert missing newline in Morphism_abstract class
6b42a45dbf Trac #28079: Py3: Fix doctest in multiset_partition_into_sets_ordered
11cacd9b43 Trac #28051: removing .keys in modular
f4e62a66d4 Trac #28139: py3 failure in rings/morphism.pyx
0102074a7a Trac #28133: small cleanup in modular miscellany
7f49b94616 Trac #28087: use "with open" in docbuild init
37d296d368 Trac #28081: Figure/command line does not display in the online documentation
ac200efaf9 Trac #28075: Set terminal_echo=False in Mathematica interface
dab842919b Trac #28065: Rational Preimages of Non-endomorphisms
3361a618fc Trac #28055: faster random binary tree
1fa83ac52e Trac #28047: remove a bunch of useless final ; in code
19ae45625d Trac #28043: map_coefficients for power series
c178d630e9 Trac #28032: Automorphism group for some degree 1 maps
d9c25adb88 Trac #28031: implement Rees product of posets
4ddeccdee4 Trac #28028: Enhance change_ring method on morphisms to use canonical embedding when possible, give clearer error in other cases
6cfa9275a4 Trac #28026: missing parameter in critical_point_portrait for dynamical systems
00cfa4713b Trac #28009: minor details about % 2 in combinat
3d5c86d8bf Trac #28003: some enhancements to the usage of join
b9158a0e89 Trac #28140: py3: progress on symbolic/expression.pyx
a9766d06ab Trac #28138: py3: misc/dev_tools.py
dc3eccc5a7 Trac #28129: Check whether a graph is triconnected
297dbc402e Trac #28127: 1 internet doctest failing in oeis.py (Avogadro's)
871274ece9 Trac #28102: more folders in py3-known-passing
693a2fa6aa Trac #27852: Refactor structure of RSK
a0cc8896b0 Trac #27319: Upgrade to Cryptominisat 5.6.8
0e64def4a2 Trac #27999: Add sage.libs.giac to reference manual
b9d408211e Trac #27994: Name mismatch on affine space and projective space constructors
b3bfc68747 Trac #27876: Improved printing for IntegralLattices
6d360838fc Trac #19150: Moving lyndon_word.py in sage.combinat.words
47fccfc7da Trac #27966: Set chromatic polynomial of looped graph to zero
0e0c0fdadc Trac #27996: py3: Fix doctests in optional Mathematica interface
6854137575 Trac #27995: normal_form should Return the Embedding when working over a Finite Field
6204754fbd Trac #27992: sanity check parameter added to prime_list in minimal_model
55557d2626 Trac #27985: Make dynatomic polynomial coerce base ring
41657c6040 Trac #27983: Add monic=True option for chebyshev creator
2a677d8639 Trac #27982: Make Lattes map for projective space coerce base ring
2a14fbee0a Trac #27981: Typos in Polyhedron documentation
90c939f185 Trac #27980: various typos, once more
7e15b39e4f Trac #27969: Typos in HyperplaneArrangements documentation
0ceec37ee9 Trac #27951: Add monomial() method to univariate polynomial rings
aa9c1bd259 Trac #27944: remove deprecation of mobius
f2d1165d27 Trac #27765: UserWarning when factoring polys over NumberFields
0865db5326 Trac #28121: arb-related fixes/improvements
d2699627d0 Trac #28105: move some combinat references to master bibliographic file
ab76bb3d77 Trac #28098: Shortest path fix for the case that no path exists
7db4af132b Trac #28089: some work on the category of affine Weyl groups
e7b18f0e79 Trac #28085: various lgtm fixes
67cf8b3e50 Trac #28083: MR26: Remove sanity check for NEW_SAGE_ROOT and assume that if a user passes this, it is correct
d95854509f Trac #28078: braid groups are infinite
19d015de93 Trac #28077: shortest_path() goes through remains of deleted DiGraph edges
2f9f7f9803 Trac #28072: Issue in calculus on manifolds with incomplete set of transition maps
7c27d9ed8f Trac #28069: py3: fix lrs features
acc4f821dc Trac #28067: py3: one more fix in French book
10aecf4669 Trac #28064: deprecate a few invariants commands in global namespace
f249084227 Trac #28063: better handling of Fricas unsolved integrals
ffa9691f98 Trac #28050: improve performance of asymptotic_expansions.ImplicitExpansion
18230a8711 Trac #28035: py3 fix in misc/functional.py
7151cb45c1 Trac #27948: py3: fix doctests with optional package plantri
e29141afb5 Trac #27825: spkg-configure.m4 for libgd
444a14caaf Trac #28030: MR19: Update conda instructions
19c0da64ac Trac #27823: spkg-configure.m4 for iconv
a9a1059e1a Trac #27469: bug in is_norm for relative number field extensions
32ad040dc9 Trac #27161: Documentation for Tate algebras
7e59cdd5c4 Trac #26887: Implement the class CombinatorialPolyhedron
5a81a99d8d Trac #26151: Kummer surface functionality fails
485d3ac266 Trac #25130: Move sage-dist-helpers from src/bin to build/bin
574c235be0 Trac #28048: fix gap workspace name on Python3
175f10a3de Trac #26954: Upgrade to gcc 7.4.0 and build gcc and gfortran without isl
d1d7948d09 (tag: 8.9.beta1) Updated SageMath version to 8.9.beta1

Emmanuel Charpentier

unread,
Jul 10, 2019, 12:08:09 PM7/10/19
to sage-release
On Debian testing running on core i5 + 8 GB RAM, an accidental rebuild (I stumbled on 8.9 beta2 before its announcement and managed to hose it seriously) builds OK with Python3, but ptest-python3 gives two permanent errors :

----------------------------------------------------------------------
sage -t --long --warn-long 53.1 src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx  # 1 doctest failed
sage -t --long --warn-long 53.1 src/sage/rings/polynomial/polynomial_rational_flint.pyx  # 1 doctest failed
----------------------------------------------------------------------

which are :

charpent@p-202-021:/usr/local/sage-python3$ sage -t --long --warn-long 53.1 src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx
Running doctests with ID 2019-07-10-18-03-23-6497ca01.
Git branch: develop
Using --optional=build,dochtml,dot2tex,fricas,giacpy_sage,memlimit,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 53.1 src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx
**********************************************************************
File "src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx", line 937, in sage.geometry.polyhedron.combinatorial_polyhedron.base.CombinatorialPolyhedron.edge_graph
Failed example:
    G.degree()
Expected:
    [4, 3, 4, 3, 4]
Got:
    [3, 4, 4, 3, 4]
**********************************************************************
1 item had failures:
   1 of   6 in sage.geometry.polyhedron.combinatorial_polyhedron.base.CombinatorialPolyhedron.edge_graph
    [324 tests, 1 failure, 4.11 s]
----------------------------------------------------------------------
sage -t --long --warn-long 53.1 src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 4.2 seconds
    cpu time: 4.1 seconds
    cumulative wall time: 4.1 seconds
charpent@p-202-021:/usr/local/sage-python3$ sage -t --long --warn-long 53.1 src/sage/rings/polynomial/polynomial_rational_flint.pyx
Running doctests with ID 2019-07-10-18-03-39-ec544ce9.
Git branch: develop
Using --optional=build,dochtml,dot2tex,fricas,giacpy_sage,memlimit,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 53.1 src/sage/rings/polynomial/polynomial_rational_flint.pyx
**********************************************************************
File "src/sage/rings/polynomial/polynomial_rational_flint.pyx", line 2055, in sage.rings.polynomial.polynomial_rational_flint.Polynomial_rational_flint.galois_group
Failed example:
    G = f.galois_group(); G
Expected:
    Transitive group number 5 of degree 4
Got:
    Exception (FLINT memory_manager). Unable to allocate memory.
    Transitive group number 5 of degree 4
**********************************************************************
1 item had failures:
   1 of  16 in sage.rings.polynomial.polynomial_rational_flint.Polynomial_rational_flint.galois_group
    [397 tests, 1 failure, 3.54 s]
----------------------------------------------------------------------
sage -t --long --warn-long 53.1 src/sage/rings/polynomial/polynomial_rational_flint.pyx  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 3.6 seconds
    cpu time: 3.4 seconds
    cumulative wall time: 3.5 seconds

HTH,

Vincent Delecroix

unread,
Jul 10, 2019, 1:53:23 PM7/10/19
to sage-r...@googlegroups.com
Le 10/07/2019 à 18:08, Emmanuel Charpentier a écrit :
> sage -t --long --warn-long 53.1
> src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx # 1 doctest

This is https://trac.sagemath.org/ticket/28153

darwin doppelganger

unread,
Jul 10, 2019, 8:20:15 PM7/10/19
to sage-release
On my Macbook Pro, 10.14.4:
SageMath version 8.9.beta2, Release Date: 2019-07-10
...
Sage build/upgrade complete!

Justin C. Walker

unread,
Jul 10, 2019, 8:53:28 PM7/10/19
to sage-r...@googlegroups.com


> On Jul 10, 2019, at 07:28 , 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 w/o problems on two macOS systems 10.13.6 (18-core iMac Pro) and 10.14.5 (2017 MBP, Quad-core Core i7).

Testing (‘ptestlong’) results:
10.13.6: one failure:
sage -t --long --warn-long 69.6 src/sage/libs/singular/polynomial.pyx
The “usual” failure: a lot of leaks. Singleton run passed.

10.14.5: all tests passed!

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds
--------
Men are from Earth.
Women are from Earth.
Deal with it.
--------



Emmanuel Charpentier

unread,
Jul 11, 2019, 10:11:39 AM7/11/19
to sage-release
(Side effect of an attempt to fix a git trac problem) : FWIW, on Debian testing running on core i5 + 8 GB RAM + Python 2, 8.9.beta2 + Trac#28151  builds and passes ptestlong without any error whatsoever.

Emmanuel Charpentier

unread,
Jul 11, 2019, 10:49:24 AM7/11/19
to sage-release
FWIW, same setup + 8.9.beta2 + Python 3 + Trac#28151  behaves exactly as already reported for 8.9.beta2 + Python 3.

HTH,

Emmanuel Charpentier

unread,
Jul 12, 2019, 6:23:31 AM7/12/19
to sage-release
On another similar machine (corei7 + 16 GB RAM, Debian testing), 8.9.beta2 + #28151 gets me FOUR failures, all permanent :

----------------------------------------------------------------------
sage -t --long --warn-long 155.4 src/sage/coding/linear_code.py  # 4 doctests failed
sage -t --long --warn-long 155.4 src/sage/rings/polynomial/polynomial_rational_flint.pyx  # 1 doctest failed
sage -t --long --warn-long 155.4 src/sage/algebras/quantum_groups/quantum_group_gap.py  # 6 doctests failed
sage -t --long --warn-long 155.4 src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx  # 1 doctest failed
----------------------------------------------------------------------

Details :

charpent@zen-book-flip:/usr/local/sage-P3$ sage -t --long --warn-long 155.4 src/sage/coding/linear_code.py
Running doctests with ID 2019-07-12-12-13-35-7197a0e7.
Git branch: t/28151/upgrade_r_to_3_6_1
Using --optional=build,dochtml,dot2tex,fricas,gap_packages,giacpy_sage,memlimit,mpir,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 155.4 src/sage/coding/linear_code.py
**********************************************************************
File "src/sage/coding/linear_code.py", line 3303, in sage.coding.linear_code.AbstractLinearCode.weight_distribution
Failed example:
    C.weight_distribution(algorithm="leon")   # optional - gap_packages (Guava package)
Exception raised:
    Traceback (most recent call last):
      File "sage/misc/cachefunc.pyx", line 1944, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10139)
        return cache[k]
    KeyError: (('leon',), ())

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.coding.linear_code.AbstractLinearCode.weight_distribution[8]>", line 1, in <module>
        C.weight_distribution(algorithm="leon")   # optional - gap_packages (Guava package)
      File "sage/misc/cachefunc.pyx", line 1949, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10273)
        w = self._instance_call(*args, **kwds)
      File "sage/misc/cachefunc.pyx", line 1825, in sage.misc.cachefunc.CachedMethodCaller._instance_call (build/cythonized/sage/misc/cachefunc.c:9758)
        return self.f(self._instance, *args, **kwds)
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/coding/linear_code.py", line 3358, in weight_distribution
        for L in StringIO(lines).readlines():
    TypeError: initial_value must be str or None, not bytes
**********************************************************************
File "src/sage/coding/linear_code.py", line 3311, in sage.coding.linear_code.AbstractLinearCode.weight_distribution
Failed example:
    C.weight_distribution() == C.weight_distribution(algorithm="leon")   # optional - gap_packages (Guava package)
Exception raised:
    Traceback (most recent call last):
      File "sage/misc/cachefunc.pyx", line 1944, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10139)
        return cache[k]
    KeyError: (('leon',), ())

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.coding.linear_code.AbstractLinearCode.weight_distribution[12]>", line 1, in <module>
        C.weight_distribution() == C.weight_distribution(algorithm="leon")   # optional - gap_packages (Guava package)
      File "sage/misc/cachefunc.pyx", line 1949, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10273)
        w = self._instance_call(*args, **kwds)
      File "sage/misc/cachefunc.pyx", line 1825, in sage.misc.cachefunc.CachedMethodCaller._instance_call (build/cythonized/sage/misc/cachefunc.c:9758)
        return self.f(self._instance, *args, **kwds)
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/coding/linear_code.py", line 3358, in weight_distribution
        for L in StringIO(lines).readlines():
    TypeError: initial_value must be str or None, not bytes
**********************************************************************
File "src/sage/coding/linear_code.py", line 3315, in sage.coding.linear_code.AbstractLinearCode.weight_distribution
Failed example:
    C.weight_distribution() == C.weight_distribution(algorithm="leon")   # optional - gap_packages (Guava package)
Exception raised:
    Traceback (most recent call last):
      File "sage/misc/cachefunc.pyx", line 1944, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10139)
        return cache[k]
    KeyError: (('leon',), ())

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.coding.linear_code.AbstractLinearCode.weight_distribution[14]>", line 1, in <module>
        C.weight_distribution() == C.weight_distribution(algorithm="leon")   # optional - gap_packages (Guava package)
      File "sage/misc/cachefunc.pyx", line 1949, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10273)
        w = self._instance_call(*args, **kwds)
      File "sage/misc/cachefunc.pyx", line 1825, in sage.misc.cachefunc.CachedMethodCaller._instance_call (build/cythonized/sage/misc/cachefunc.c:9758)
        return self.f(self._instance, *args, **kwds)
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/coding/linear_code.py", line 3358, in weight_distribution
        for L in StringIO(lines).readlines():
    TypeError: initial_value must be str or None, not bytes
**********************************************************************
File "src/sage/coding/linear_code.py", line 3319, in sage.coding.linear_code.AbstractLinearCode.weight_distribution
Failed example:
    C.weight_distribution() == C.weight_distribution(algorithm="leon")   # optional - gap_packages (Guava package)
Exception raised:
    Traceback (most recent call last):
      File "sage/misc/cachefunc.pyx", line 1944, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10139)
        return cache[k]
    KeyError: (('leon',), ())

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.coding.linear_code.AbstractLinearCode.weight_distribution[16]>", line 1, in <module>
        C.weight_distribution() == C.weight_distribution(algorithm="leon")   # optional - gap_packages (Guava package)
      File "sage/misc/cachefunc.pyx", line 1949, in sage.misc.cachefunc.CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:10273)
        w = self._instance_call(*args, **kwds)
      File "sage/misc/cachefunc.pyx", line 1825, in sage.misc.cachefunc.CachedMethodCaller._instance_call (build/cythonized/sage/misc/cachefunc.c:9758)
        return self.f(self._instance, *args, **kwds)
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/coding/linear_code.py", line 3358, in weight_distribution
        for L in StringIO(lines).readlines():
    TypeError: initial_value must be str or None, not bytes
**********************************************************************
1 item had failures:
   4 of  18 in sage.coding.linear_code.AbstractLinearCode.weight_distribution
    [763 tests, 4 failures, 17.80 s]
----------------------------------------------------------------------
sage -t --long --warn-long 155.4 src/sage/coding/linear_code.py  # 4 doctests failed
----------------------------------------------------------------------
Total time for all tests: 17.9 seconds
    cpu time: 16.6 seconds
    cumulative wall time: 17.8 seconds
charpent@zen-book-flip:/usr/local/sage-P3$ sage -t --long --warn-long 155.4 src/sage/rings/polynomial/polynomial_rational_flint.pyx 
Running doctests with ID 2019-07-12-12-14-10-9f4806fe.
Git branch: t/28151/upgrade_r_to_3_6_1
Using --optional=build,dochtml,dot2tex,fricas,gap_packages,giacpy_sage,memlimit,mpir,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 155.4 src/sage/rings/polynomial/polynomial_rational_flint.pyx
**********************************************************************
File "src/sage/rings/polynomial/polynomial_rational_flint.pyx", line 2055, in sage.rings.polynomial.polynomial_rational_flint.Polynomial_rational_flint.galois_group
Failed example:
    G = f.galois_group(); G
Expected:
    Transitive group number 5 of degree 4
Got:
    Exception (FLINT memory_manager). Unable to allocate memory.
    Transitive group number 5 of degree 4
**********************************************************************
1 item had failures:
   1 of  16 in sage.rings.polynomial.polynomial_rational_flint.Polynomial_rational_flint.galois_group
    [397 tests, 1 failure, 3.64 s]
----------------------------------------------------------------------
sage -t --long --warn-long 155.4 src/sage/rings/polynomial/polynomial_rational_flint.pyx  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 3.7 seconds
    cpu time: 3.4 seconds
    cumulative wall time: 3.6 seconds
charpent@zen-book-flip:/usr/local/sage-P3$ sage -t --long --warn-long 155.4 src/sage/algebras/quantum_groups/quantum_group_gap.py 
Running doctests with ID 2019-07-12-12-14-49-ac277991.
Git branch: t/28151/upgrade_r_to_3_6_1
Using --optional=build,dochtml,dot2tex,fricas,gap_packages,giacpy_sage,memlimit,mpir,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 155.4 src/sage/algebras/quantum_groups/quantum_group_gap.py
**********************************************************************
File "src/sage/algebras/quantum_groups/quantum_group_gap.py", line 1553, in sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule._latex_
Failed example:
    latex(S)  # optional - gap_packages  # random (depends on dot2tex)
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule._latex_[4]>", line 1, in <module>
        latex(S)  # optional - gap_packages  # random (depends on dot2tex)
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/misc/latex.py", line 925, in __call__
        return LatexExpr(x._latex_())
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/algebras/quantum_groups/quantum_group_gap.py", line 1559, in _latex_
        return latex(self.crystal_graph())
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/algebras/quantum_groups/quantum_group_gap.py", line 2097, in crystal_graph
        vertices = [CrystalGraphVertex(self, d[repr(p)[1:-1]]) for p in G[bytes('points')]]
    TypeError: string argument without an encoding
**********************************************************************
File "src/sage/algebras/quantum_groups/quantum_group_gap.py", line 1658, in sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule.crystal_graph
Failed example:
    G = V.crystal_graph(); G            # optional - gap_packages
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule.crystal_graph[2]>", line 1, in <module>
        G = V.crystal_graph(); G            # optional - gap_packages
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/algebras/quantum_groups/quantum_group_gap.py", line 1666, in crystal_graph
        vertices = [CrystalGraphVertex(self, repr(p)) for p in G[bytes('points')]]
    TypeError: string argument without an encoding
**********************************************************************
File "src/sage/algebras/quantum_groups/quantum_group_gap.py", line 1662, in sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule.crystal_graph
Failed example:
    G.is_isomorphic(B.digraph(), edge_labels=True)  # optional - gap_packages
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule.crystal_graph[4]>", line 1, in <module>
        G.is_isomorphic(B.digraph(), edge_labels=True)  # optional - gap_packages
    NameError: name 'G' is not defined
**********************************************************************
File "src/sage/algebras/quantum_groups/quantum_group_gap.py", line 2082, in sage.algebras.quantum_groups.quantum_group_gap.HighestWeightSubmodule.crystal_graph
Failed example:
    G = S.crystal_graph()                    # optional - gap_packages
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.algebras.quantum_groups.quantum_group_gap.HighestWeightSubmodule.crystal_graph[4]>", line 1, in <module>
        G = S.crystal_graph()                    # optional - gap_packages
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/algebras/quantum_groups/quantum_group_gap.py", line 2097, in crystal_graph
        vertices = [CrystalGraphVertex(self, d[repr(p)[1:-1]]) for p in G[bytes('points')]]
    TypeError: string argument without an encoding
**********************************************************************
File "src/sage/algebras/quantum_groups/quantum_group_gap.py", line 2083, in sage.algebras.quantum_groups.quantum_group_gap.HighestWeightSubmodule.crystal_graph
Failed example:
    sorted(G.vertices(), key=str)            # optional - gap_packages
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.algebras.quantum_groups.quantum_group_gap.HighestWeightSubmodule.crystal_graph[5]>", line 1, in <module>
        sorted(G.vertices(), key=str)            # optional - gap_packages
    NameError: name 'G' is not defined
**********************************************************************
File "src/sage/algebras/quantum_groups/quantum_group_gap.py", line 2087, in sage.algebras.quantum_groups.quantum_group_gap.HighestWeightSubmodule.crystal_graph
Failed example:
    sorted(S.crystal_graph(False).vertices(), key=str)  # optional - gap_packages
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1105, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.algebras.quantum_groups.quantum_group_gap.HighestWeightSubmodule.crystal_graph[6]>", line 1, in <module>
        sorted(S.crystal_graph(False).vertices(), key=str)  # optional - gap_packages
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/algebras/quantum_groups/quantum_group_gap.py", line 2092, in crystal_graph
        return QuantumGroupModule.crystal_graph(self)
      File "/usr/local/sage-P3/local/lib/python3.7/site-packages/sage/algebras/quantum_groups/quantum_group_gap.py", line 1666, in crystal_graph
        vertices = [CrystalGraphVertex(self, repr(p)) for p in G[bytes('points')]]
    TypeError: string argument without an encoding
**********************************************************************
3 items had failures:
   3 of   8 in sage.algebras.quantum_groups.quantum_group_gap.HighestWeightSubmodule.crystal_graph
   1 of   6 in sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule._latex_
   2 of   6 in sage.algebras.quantum_groups.quantum_group_gap.QuantumGroupModule.crystal_graph
    [529 tests, 6 failures, 7.63 s]
----------------------------------------------------------------------
sage -t --long --warn-long 155.4 src/sage/algebras/quantum_groups/quantum_group_gap.py  # 6 doctests failed
----------------------------------------------------------------------
Total time for all tests: 7.7 seconds
    cpu time: 7.6 seconds
    cumulative wall time: 7.6 seconds
charpent@zen-book-flip:/usr/local/sage-P3$ sage -t --long --warn-long 155.4 src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx
Running doctests with ID 2019-07-12-12-15-14-df65c45b.
Git branch: t/28151/upgrade_r_to_3_6_1
Using --optional=build,dochtml,dot2tex,fricas,gap_packages,giacpy_sage,memlimit,mpir,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 155.4 src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx
**********************************************************************
File "src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx", line 937, in sage.geometry.polyhedron.combinatorial_polyhedron.base.CombinatorialPolyhedron.edge_graph
Failed example:
    G.degree()
Expected:
    [4, 3, 4, 3, 4]
Got:
    [3, 4, 4, 3, 4]
**********************************************************************
1 item had failures:
   1 of   6 in sage.geometry.polyhedron.combinatorial_polyhedron.base.CombinatorialPolyhedron.edge_graph
    [324 tests, 1 failure, 3.39 s]
----------------------------------------------------------------------
sage -t --long --warn-long 155.4 src/sage/geometry/polyhedron/combinatorial_polyhedron/base.pyx  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 3.5 seconds
    cpu time: 3.3 seconds
    cumulative wall time: 3.4 seconds

HTH,

Clemens Heuberger

unread,
Jul 16, 2019, 6:48:13 AM7/16/19
to sage-r...@googlegroups.com
On one of my machines (Linux Mint 18.2 Sonya), I get the following reproducible
doctest failure:

sage -t --long --warn-long 48.6 src/sage/interfaces/r.py
**********************************************************************
File "src/sage/interfaces/r.py", line 613, in sage.interfaces.r.R.png
Failed example:
s = r.eval('capabilities("png")') # Should be on Linux and Solaris
Expected nothing
Got:
No protocol specified


I used this machine with a patchbot until recently (8.9.beta1); had to recompile
from scratch due to a strange error
(https://patchbot.sagemath.org/log/0/LinuxMint/18.2/x86_64/4.8.0-53-generic/pc78-math/2019-07-10%2007:55:42?short)
then had some issues compiling (python2 and python3 compiled about readline;
after installing all kind of recommended ubuntu packages, compilation went
through), and now I only have this problem here left.


Clemens Heuberger

unread,
Sep 19, 2019, 2:50:00 AM9/19/19
to sage-r...@googlegroups.com
For the record, I also needed to install libpango1.0-dev to fix that.
No idea why it work in previous sage versions, but no longer from 8.9.beta2 onwards.



Am 16.07.19 um 12:48 schrieb Clemens Heuberger:
Reply all
Reply to author
Forward
0 new messages