Sage 9.0.beta8 released

123 views
Skip to first unread message

Volker Braun

unread,
Dec 1, 2019, 6:15:29 PM12/1/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 


cf9673bc59 (tag: 9.0.beta8) Updated SageMath version to 9.0.beta8
7b3f429848 Trac #28824: make doc-pdf race condition
a6d82755a8 Trac #28823: str_to_bytes in math-readline script for Mathematica console
f5003a0f00 Trac #28809: cleanup src/sage/combinat/partition_shifting_algebras.py
358d62b1a1 Trac #28790: https in README.md
b26d466f03 Trac #28779: Error in "primes_of_bad_reduction" for DynamicalSystem
ec856b746f Trac #28758: random output in a giacpy_sage doctest
873e999025 Trac #28744: py3: add bytes_to_str in Octave interface
953e0a1043 Trac #28733: Reference manual SageTeX incorrect link
4da4603146 Trac #28720: Method is_diagonalizable() should not raise an error for legitimate inputs
3a018490fb Trac #28680: Three.js: Update documentation examples
5a1cacc884 Trac #28583: unicode_art of Matrix_mod2_dense fails
4e0b121eaf Trac #28820: convert guava interface to libgap
60b65cdfef Trac #28811: add hash for hypergeometric motives
69c463e4c9 Trac #28501: MR35: Honour docbuild limits when building documentation in Dockerfile
4f68ca865e Trac #28489: py3 + OS X: symbolic/expression.pyx
17cabfa736 Trac #28213: Renaming rational_preperiodic_points() to all_preperiodic_points()
c989b65121 Trac #27784: Characteristic Classes on Vector Bundles
b030c58f4e Trac #28170: enhance is_postcritically_finite, critical_point_portrait, and multiplier_spectra to work over number fields and finite fields
a68601e8f9 Trac #26817: GaloisGroup_subgroup.fixed_field() should always return an embedding
7a740579e3 Trac #26816: Specify subgroups of Galois groups using generators
e95c2c2ef4 Trac #23740: Plotting Julia Sets for General Polynomials
c818084a8e Trac #23720: Plotting Mandelbrot Set for General Polynomials
f7906eb4ea Trac #28791: Implement Feature without using sage.misc.cachefunc, sage.structure.unique_representation
9afb930099 Trac #28784: Adding multiple symmetries and multiple contractions to tensors
4e5d712ad6 Trac #28783: fix opacity for add_condition in mono-coloured plot3d
671567e777 Trac #28770: Polyhedra coercion of base rings fails for number fields
910e84cd31 Trac #28769: Scalar field raise AttributeError on show_identifiers call
6161a34c8b Trac #28764: 2 internet doctest failed in hadamard_matrix.py
692073e6d5 Trac #28763: DIMACS solver not workng with Python3 (7 glucose optional doctests failed)
954bc2c88b Trac #28751: enhance some calls to "while len"
1ea8e99d76 Trac #28749: some middle-scale cleanup Returns ==> Return in the doc
d8d68e94c6 Trac #28747: further "space:" cleaning outside of combinat
f870f83bce Trac #28741: Lattice Polytopes: `compute_facets` does not check dimension when setting is_reflexive
6c319d2242 Trac #28716: Construction of a vector frame from a family of vector fields
9ba0c1affb Trac #28627: Lazy OEIS sequences
5975bab92e Trac #27408: Edge view for graphs
307b865431 Trac #28756: py3: fix doctests with gurobi
cdda9f70e2 Trac #28759: py3: dot2tex + graphviz doctests failures
1dd55655a1 Trac #28760: py3: internet str vs bytes doctests failures
5dcc2683ed Trac #28761: py3: further fixes for misc
63fb7b0c7d Trac #28805: Remove sagenb from DOC_DEPENDENCIES
9273772c59 Trac #28807: little typo ticket
a24bffeeaa Trac #28810: small fix in regular expression for trac warning in sage/all.py
737eadb5ae Trac #28793: 2 more random doctest failures
7f25a87c16 Trac #28739: cleaning "space:" in the doc of combinat
9d8b63ce88 Trac #28740: fix typo convertable
1246b5a663 Trac #28812: #28795 followup: py2 doctest failure in pynac.pyx
e3631b41c5 Trac #28705: Fix conversion of Booleans in interfaces
075c09c577 Trac #28694: rich comparison for matrices
efe7f5594e Trac #28614: CombinatorialPolyhedron: length_* to n_*
d8818f1fd9 Trac #27154: speed_up_Burge
c585682116 Trac #25701: Implement Sieve algorithm for product_projective space
695306e10b Trac #22380: Upgrade to cvxopt 1.2.x
d48a21c149 (tag: 9.0.beta7) Updated SageMath version to 9.0.beta7

John H Palmieri

unread,
Dec 2, 2019, 12:50:40 AM12/2/19
to sage-release
Broken with a Python 2 build. Do we care?

In particular, SageNB is not built with Python 2, but the doctester thinks it should be:


./sage -t -p --all --long --logfile=logs/ptestlong.log
Running doctests with ID 2019-12-01-19-23-00-d57c8cb5.
Git branch: develop
Using --optional=build,dochtml,python2,sage
Doctesting entire Sage library.
Traceback (most recent call last):
  File "/Users/palmieri/Desktop/Sage_stuff/sage_builds/VANILLA/sage-9.0.beta8/src/bin/sage-runtests", line 179, in <module>
    err = DC.run()
  File "/Users/palmieri/Desktop/Sage_stuff/sage_builds/VANILLA/sage-9.0.beta8/local/lib/python2.7/site-packages/sage/doctest/control.py", line 1234, in run
    self.add_files()
  File "/Users/palmieri/Desktop/Sage_stuff/sage_builds/VANILLA/sage-9.0.beta8/local/lib/python2.7/site-packages/sage/doctest/control.py", line 753, in add_files
    sagenb_loc = working_set.find(Requirement.parse('sagenb')).location
AttributeError: 'NoneType' object has no attribute 'location'
make: *** [ptestlong] Error 1

Justin C. Walker

unread,
Dec 2, 2019, 1:28:35 AM12/2/19
to sage-r...@googlegroups.com


> On Dec 1, 2019, at 15:15 , 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

Here’s another one, just like the other one :-}
Built from a fresh clone of the develop branch on two macOS systems: 10.13.6 (2017 iMac Pro, 18-core Xeon W); and 10.15.6 (2017 MBP, Quad Core i7). No problems with the builds, and all tests (‘ptestlong’) 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.
--------



François Bissey

unread,
Dec 2, 2019, 1:42:17 AM12/2/19
to 'Justin C. Walker' via sage-release
Yes. sagenb is no a real optional package even with python2. We overlooked
the test suite when we made some test depending on it just “# py2”.
That was in https://trac.sagemath.org/ticket/28805.
We probably really should have introduced `# sagenb` in insight.
But honestly I don’t care that much about python2 anymore.
In 30 days it will be best efforts at best for python2.

Samuel Lelièvre

unread,
Dec 2, 2019, 3:19:28 AM12/2/19
to sage-release
I think we should maintain Python2 compatibility at least for this version.

Dima Pasechnik

unread,
Dec 2, 2019, 4:28:27 AM12/2/19
to sage-release
the easiest might be to build pythonX if --with-python=X is specified.
> --
> 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/0E399888-BECC-4272-80DE-A3FCB6777940%40gmail.com.

Sébastien Labbé

unread,
Dec 2, 2019, 5:42:44 AM12/2/19
to sage-release
Runing tests with few optional and external packages, I get:

Using --optional=4ti2,cbc,ccache,cryptominisat,dot2tex,e_antic,external,glucose,latte_int,lidia,lrslib,memlimit,normaliz,notedown,openssl,pandoc_attributes,pycosat,pynormaliz,rst2ipynb,sage,sagenb

----------------------------------------------------------------------
sage -t --long src/doc/en/thematic_tutorials/linear_programming.rst  # 1 doctest failed
sage -t --long src/sage/databases/findstat.py  # 1 doctest failed
sage -t --long src/sage/geometry/polyhedron/base.py  # Killed due to abort
sage -t --long src/sage/graphs/generators/families.py  # 7 doctests failed
sage -t --long src/sage/graphs/generators/smallgraphs.py  # 2 doctests failed
sage -t --long src/sage/misc/latex.py  # 1 doctest failed
sage -t --long src/sage/plot/animate.py  # 7 doctests failed
sage -t --long src/sage/repl/load.py  # 1 doctest failed
sage -t --long src/sage/symbolic/integration/external.py  # 1 doctest failed
sage -t --long src/sage/tests/cmdline.py  # 2 doctests failed
----------------------------------------------------------------------
External software detected for doctesting: cplex,ffmpeg,graphviz,gurobi,imagemagick,internet,latex,pandoc

Rerunning failed tests, I get:

----------------------------------------------------------------------
sage -t --long src/doc/en/thematic_tutorials/linear_programming.rst  # 1 doctest failed
sage -t --long src/sage/databases/findstat.py  # 1 doctest failed
sage -t --long src/sage/geometry/polyhedron/base.py  # Killed due to abort
sage -t --long src/sage/graphs/generators/smallgraphs.py  # 2 doctests failed
sage -t --long src/sage/misc/latex.py  # 1 doctest failed
sage -t --long src/sage/plot/animate.py  # 7 doctests failed
sage -t --long src/sage/repl/load.py  # 1 doctest failed
sage -t --long src/sage/tests/cmdline.py  # 2 doctests failed
----------------------------------------------------------------------
External software detected for doctesting: ffmpeg,imagemagick,internet,latex,pandoc

which means the following do not reproduce:

sage -t --long src/sage/graphs/generators/families.py  # 7 doctests failed
sage -t --long src/sage/symbolic/integration/external.py  # 1 doctest failed

The following issue needs review at https://trac.sagemath.org/ticket/28762

sage -t --long src/sage/tests/cmdline.py  # 2 doctests failed

The following issues (bytes vs str) are waiting for a branch at https://trac.sagemath.org/ticket/28808

sage -t src/sage/repl/load.py  # 1 doctest failed
sage -t src/sage/misc/latex.py  # 1 doctest failed
sage -t src/sage/plot/animate.py  # 7 doctests failed

The following do not have ticket yet, see https://trac.sagemath.org/ticket/25536

sage -t --long src/doc/en/thematic_tutorials/linear_programming.rst  # 1 doctest failed
sage -t --long src/sage/databases/findstat.py  # 1 doctest failed
sage -t --long src/sage/geometry/polyhedron/base.py  # Killed due to abort
sage -t --long src/sage/graphs/generators/smallgraphs.py  # 2 doctests failed

Their failure output are copied below:

sage -t --long src/doc/en/thematic_tutorials/linear_programming.rst
**********************************************************************
File "src/doc/en/thematic_tutorials/linear_programming.rst", line 287, in doc.en.thematic_tutorials.linear_programming
Failed example:
    taken["flashlight"]
Expected:
    1.0
Got:
    1
**********************************************************************
1 item had failures:
   1 of  49 in doc.en.thematic_tutorials.linear_programming
    1 not tested test not run
    0 tests not run because we ran out of time
    [45 tests, 1 failure, 0.81 s]


sage -t --long src/sage/databases/findstat.py
**********************************************************************
File "src/sage/databases/findstat.py", line 2117, in sage.databases.findstat.FindStatCollection.in_range
Failed example:
    for c in l:                                                   # optional -- internet, random
        if c.id() not in long and c.is_supported():
            f = c.first_terms(lambda x: 1, max_values=10000)
            print("{} {} {}".format(c, len(f), all(c.in_range(e) for e, _ in f)))
Exception raised:

    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1123, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.databases.findstat.FindStatCollection.in_range[8]>", line 3, in <module>
        f = c.first_terms(lambda x: Integer(1), max_values=Integer(10000))
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/databases/findstat.py", line 2174, in first_terms
        return [(x, statistic(x)) for (x,_) in zip(g, range(max_values))]
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/databases/findstat.py", line 2174, in <listcomp>
        return [(x, statistic(x)) for (x,_) in zip(g, range(max_values))]
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/databases/findstat.py", line 2170, in <genexpr>
        g = (x for n in self._levels.keys() for x in self._sageconstructor(n))
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/databases/findstat.py", line 2453, in <lambda>
        19: [None, None, None, SemistandardTableau,   lambda x: SemistandardTableaux(x),
      File "sage/misc/classcall_metaclass.pyx", line 334, in sage.misc.classcall_metaclass.ClasscallMetaclass.__call__ (build/cythonized/sage/misc/classcall_metaclass.c:1741)
        return cls.classcall(cls, *args, **kwds)
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/combinat/tableau.py", line 5941, in __classcall_private__
        raise ValueError( "shape must be a (skew) partition" )
    ValueError: shape must be a (skew) partition
**********************************************************************
1 item had failures:
   1 of  10 in sage.databases.findstat.FindStatCollection.in_range
    7 webbrowser tests not run
    0 tests not run because we ran out of time
    [249 tests, 1 failure, 33.55 s]

sage -t --long src/sage/graphs/generators/smallgraphs.py
**********************************************************************
File "src/sage/graphs/generators/smallgraphs.py", line 4772, in sage.graphs.generators.smallgraphs.JankoKharaghaniGraph
Failed example:
    g = graphs.JankoKharaghaniGraph(936)   # long time
Exception raised:

    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1123, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.graphs.generators.smallgraphs.JankoKharaghaniGraph[0]>", line 1, in <module>
        g = graphs.JankoKharaghaniGraph(Integer(936))   # long time
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/graphs/generators/smallgraphs.py", line 4848, in JankoKharaghaniGraph
        return Graph([e for e,v in six.iteritems(D.dict()) if v == 1],
      File "sage/matrix/matrix0.pyx", line 246, in sage.matrix.matrix0.Matrix.dict (build/cythonized/sage/matrix/matrix0.c:4555)
        return dict(self._dict())
      File "sage/matrix/matrix0.pyx", line 305, in sage.matrix.matrix0.Matrix._dict (build/cythonized/sage/matrix/matrix0.c:4788)
        d[(int(i),int(j))] = x
    MemoryError
**********************************************************************
File "src/sage/graphs/generators/smallgraphs.py", line 4773, in sage.graphs.generators.smallgraphs.JankoKharaghaniGraph
Failed example:
    g.is_strongly_regular(parameters=True) # long time
Exception raised:

    Traceback (most recent call last):
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1123, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.graphs.generators.smallgraphs.JankoKharaghaniGraph[1]>", line 1, in <module>
        g.is_strongly_regular(parameters=True) # long time
    NameError: name 'g' is not defined
**********************************************************************
1 item had failures:
   2 of   3 in sage.graphs.generators.smallgraphs.JankoKharaghaniGraph
    15 gap_packages tests not run
    15 not tested tests not run
    0 tests not run because we ran out of time
    [567 tests, 2 failures, 34.54 s]


sage -t --long src/sage/geometry/polyhedron/base.py
    Killed due to abort
**********************************************************************
Tests run before process (pid=19555) failed:
sage: p = polytopes.hypercube(2) ## line 71 ##
sage: from sage.geometry.polyhedron.base import is_Polyhedron ## line 72 ##
sage: is_Polyhedron(p) ## line 73 ##
True

...

sage: v = [(1,0,7,-1), (-2,-2,4,-3), (-1,-1,-1,4), (2,9,0,-5), (-2,-1,5,1)] ## line 7164 ##
sage: simplex = Polyhedron(v); simplex ## line 7165 ##
A 4-dimensional polyhedron in ZZ^4 defined as the convex hull of 5 vertices
sage: len(simplex.integral_points()) ## line 7167 ##
49
sage: P = 1/10*polytopes.hypercube(14) ## line 7172 ##
sig_error() without sig_on()


Every other tests passed! Congrats!

E. Madison Bray

unread,
Dec 2, 2019, 6:11:33 AM12/2/19
to sage-r...@googlegroups.com
Can I please get a review on https://trac.sagemath.org/ticket/28258 ?

This issue has been holding me up for weeks, making testing difficult.
> --
> 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/9bccedc9-0b7c-44ef-8dae-955a73988563%40googlegroups.com.

E. Madison Bray

unread,
Dec 2, 2019, 6:12:12 AM12/2/19
to sage-r...@googlegroups.com
On Mon, Dec 2, 2019 at 6:50 AM John H Palmieri <jhpalm...@gmail.com> wrote:
>
> Broken with a Python 2 build. Do we care?
>
> In particular, SageNB is not built with Python 2, but the doctester thinks it should be:

We do care: Support for Python 2 is not being dropped yet. Please
open a blocker ticket.
> --
> 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/cf7ba78e-8724-4369-87ff-e55fc867c70a%40googlegroups.com.

Emmanuel Charpentier

unread,
Dec 2, 2019, 8:22:55 AM12/2/19
to sage-release
Dear Madison,

Does this ticket address a Windows-specific issue, or does testiong it is meaningful under Linux/Mac Os ?
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-r...@googlegroups.com.

Emmanuel Charpentier

unread,
Dec 2, 2019, 8:33:06 AM12/2/19
to sage-release
On Debian testing running on Core i5 + 8 GB RAM, (after removal of gap_packages, problematic on this machine, see reports on 9.0.beta7), ptestalllong gets me the usual suspects:10 transient issues (i. e. all tests pass when ran standalone), and no permanent issue :

Running doctests with ID 2019-12-02-13-15-17-8cc0137a.
Git branch: develop
Using --optional=build,dochtml,dot2tex,external,fricas,giacpy_sage,libsemigroups,memlimit,python2,sage,sagenb
External software to be detected: cplex,ffmpeg,graphviz,gurobi,imagemagick,internet,latex,macaulay2,magma,maple,mathematica,matlab,octave,pandoc,scilab

...

----------------------------------------------------------------------
sage -t --long src/sage/plot/animate.py  # 7 doctests failed
sage -t --long src/sage/symbolic/integration/external.py  # 1 doctest failed
sage -t --long src/sage/misc/latex.py  # 1 doctest failed
sage -t --long src/doc/en/constructions/linear_algebra.rst  # 1 doctest failed
sage -t --long src/doc/en/constructions/interface_issues.rst  # 1 doctest failed
sage -t --long src/doc/en/developer/coding_in_other.rst  # 1 doctest failed
sage -t --long src/sage/repl/load.py  # 1 doctest failed
sage -t --long src/sage/interfaces/octave.py  # 3 doctests failed
sage -t --long src/sage/databases/findstat.py  # 1 doctest failed
sage -t --long src/sage/interfaces/magma_free.py  # 2 doctests failed
----------------------------------------------------------------------
External software detected for doctesting: ffmpeg,graphviz,imagemagick,internet,latex,mathematica,octave,pandoc

HTH,

Eric Gourgoulhon

unread,
Dec 2, 2019, 9:31:21 AM12/2/19
to sage-release
On Ubuntu 18.04 running on a bi-Xeon E5-2623 (8 cores) + 16 GB RAM computer:

  - incremental build (with -j16) from 9.0.beta7: OK
  - all tests from ptestlong passed

Eric.

John H Palmieri

unread,
Dec 2, 2019, 12:15:49 PM12/2/19
to sage-release


On Monday, December 2, 2019 at 3:12:12 AM UTC-8, E. Madison Bray wrote:
On Mon, Dec 2, 2019 at 6:50 AM John H Palmieri <jhpalm...@gmail.com> wrote:
>
> Broken with a Python 2 build. Do we care?
>
> In particular, SageNB is not built with Python 2, but the doctester thinks it should be:

We do care: Support for Python 2 is not being dropped yet.  Please
open a blocker ticket.

I guess my real question is: do we automatically build SageNB when `./configure --with-python=2` is used, or do we drop the SageNB doctests? I propose dropping the doctests and at some point creating an spkg-check script for sagenb that runs its tests.

 
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-r...@googlegroups.com.

Emmanuel Charpentier

unread,
Dec 2, 2019, 1:01:36 PM12/2/19
to sage-release
On a slightly larger machine (Debian testing running on core i7 + 16 GB RAM, slightly different packages), ptestalllong  gets 9 transient and 3 permanent failures:

Running doctests with ID 2019-12-02-17-03-31-cf10a30c.
Git branch: develop
Using --optional=build,dochtml,dot2tex,external,fricas,gap_packages,giacpy_sage,libsemigroups,memlimit,python2,sage,sagenb
External software to be detected: cplex,ffmpeg,graphviz,gurobi,imagemagick,internet,latex,macaulay2,magma,maple,mathematica,matlab,octave,pandoc,scilab


| File                                         | Result            | P/T |
|----------------------------------------------+-------------------+-----|
| src/sage/plot/animate.py                     | 7 doctests failed | T   |
| src/sage/graphs/generators/smallgraphs.py    | 6 doctests failed | T   |
| src/sage/symbolic/integration/external.py    | 1 doctest failed  | T   |
| src/sage/interfaces/psage.py                 | 1 doctest failed  | T   |
| src/sage/tests/gap_packages.py               | 1 doctest failed  | P   |
| src/sage/modular/ssmod/ssmod.py              | 2 doctests failed | T   |
| src/sage/misc/latex.py                       | 1 doctest failed  | T   |
| src/sage/numerical/backends/glpk_backend.pyx | 1 doctest failed  | P   |
| src/sage/libs/glpk/error.pyx                 | 1 doctest failed  | P   |
| src/sage/repl/load.py                        | 1 doctest failed  | T   |
| src/sage/combinat/designs/ext_rep.py         | 1 doctest failed  | T   |
| src/sage/databases/findstat.py               | 1 doctest failed  | T   |

External software detected for doctesting: ffmpeg,graphviz,imagemagick,internet,latex,mathematica,pandoc

Details of permanent failures:

gap_packages:

Running doctests with ID 2019-12-02-18-30-19-72a867dd.
Git branch: develop
Using --optional=build,dochtml,dot2tex,fricas,gap_packages,giacpy_sage,libsemigroups,memlimit,python2,sage,sagenb
Doctesting 1 file.
sage -t --long --warn-long 210.2 src/sage/tests/gap_packages.py
**********************************************************************
File "src/sage/tests/gap_packages.py", line 8, in sage.tests.gap_packages
Failed example:
    test_packages(pkgs, only_failures=True)    # optional - gap_packages
Expected:
      Status   Package   GAP Output
    +--------+---------+------------+
Got:
    #I  method installed for Matrix matches more than one declaration
      Status   Package   GAP Output
    +--------+---------+------------+
**********************************************************************
1 item had failures:
   1 of   5 in sage.tests.gap_packages
    [11 tests, 1 failure, 3.38 s]
----------------------------------------------------------------------
sage -t --long --warn-long 210.2 src/sage/tests/gap_packages.py  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 3.4 seconds
    cpu time: 2.9 seconds
    cumulative wall time: 3.4 seconds

glpk_backend:

Running doctests with ID 2019-12-02-18-30-36-8dafeec7.
Git branch: develop
Using --optional=build,dochtml,dot2tex,fricas,gap_packages,giacpy_sage,libsemigroups,memlimit,python2,sage,sagenb
Doctesting 1 file.
sage -t --long --warn-long 210.2 src/sage/numerical/backends/glpk_backend.pyx
**********************************************************************
File "src/sage/numerical/backends/glpk_backend.pyx", line 2287, in sage.numerical.backends.glpk_backend.GLPKBackend.print_ranges
Failed example:
    p.print_ranges()
Expected:
    glp_print_ranges: optimal basic solution required
    1
Got:
    1
**********************************************************************
1 item had failures:
   1 of  13 in sage.numerical.backends.glpk_backend.GLPKBackend.print_ranges
    [554 tests, 1 failure, 3.91 s]
----------------------------------------------------------------------
sage -t --long --warn-long 210.2 src/sage/numerical/backends/glpk_backend.pyx  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 4.0 seconds
    cpu time: 3.8 seconds
    cumulative wall time: 3.9 seconds

glpk/error:

Running doctests with ID 2019-12-02-18-30-42-0aefd36e.
Git branch: develop
Using --optional=build,dochtml,dot2tex,fricas,gap_packages,giacpy_sage,libsemigroups,memlimit,python2,sage,sagenb
Doctesting 1 file.
sage -t --long --warn-long 210.2 src/sage/libs/glpk/error.pyx
**********************************************************************
File "src/sage/libs/glpk/error.pyx", line 100, in sage.libs.glpk.error.setup_glpk_error_handler
Failed example:
    res = p.solve()
Expected:
          0: obj = ...
Got:
    <BLANKLINE>
**********************************************************************
1 item had failures:
   1 of  11 in sage.libs.glpk.error.setup_glpk_error_handler
    [12 tests, 1 failure, 0.85 s]
----------------------------------------------------------------------
sage -t --long --warn-long 210.2 src/sage/libs/glpk/error.pyx  # 1 doctest failed
----------------------------------------------------------------------
Total time for all tests: 0.9 seconds
    cpu time: 0.5 seconds
    cumulative wall time: 0.8 seconds

Of note: those results are obtained when this machine is directly connect to the Internet. When stuck behind our corporate-firewall-done-wrong, I get the catastrophic failure reported in this post and diagnosed in further posts.

This, and the fact (reported in the post immediately above this one) that a machine stuck behind this firewall but without gap_packages passes ptestalllong without permanent failures proves, IMHO, that our corporate firewall is incompatible with the needs of gap_packages.

How should I ticket this ?

David Coudert

unread,
Dec 2, 2019, 1:18:02 PM12/2/19
to sage-r...@googlegroups.com
You may check whether ticket 28818 fixes the failures for src/sage/graphs/generators/smallgraphs.py

--
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/b611790f-9225-46fd-80c6-2671c2ea2804%40googlegroups.com.

John H Palmieri

unread,
Dec 2, 2019, 5:19:53 PM12/2/19
to sage-release


On Monday, December 2, 2019 at 9:15:49 AM UTC-8, John H Palmieri wrote:


On Monday, December 2, 2019 at 3:12:12 AM UTC-8, E. Madison Bray wrote:
On Mon, Dec 2, 2019 at 6:50 AM John H Palmieri <jhpalm...@gmail.com> wrote:
>
> Broken with a Python 2 build. Do we care?
>
> In particular, SageNB is not built with Python 2, but the doctester thinks it should be:

We do care: Support for Python 2 is not being dropped yet.  Please
open a blocker ticket.

I guess my real question is: do we automatically build SageNB when `./configure --with-python=2` is used, or do we drop the SageNB doctests? I propose dropping the doctests and at some point creating an spkg-check script for sagenb that runs its tests.

E. Madison Bray

unread,
Dec 3, 2019, 5:13:21 AM12/3/19
to sage-r...@googlegroups.com
On Mon, Dec 2, 2019 at 12:11 PM E. Madison Bray <erik....@gmail.com> wrote:
>
> Can I please get a review on https://trac.sagemath.org/ticket/28258 ?
>
> This issue has been holding me up for weeks, making testing difficult.

Thanks Volker (who reviewed). With that ticket, plus
https://trac.sagemath.org/ticket/28829 (needed to actually
successfully build) all tests pass on Windows+Cygwin on Python 3.
Testing Python 2 next.

Dima Pasechnik

unread,
Dec 3, 2019, 11:36:59 AM12/3/19
to sage-release
this may be fixed by upgrading gap_packages (specifically, GAP packages Semigroups and Digraphs must be upgraded)
Or we can just wait fot GAP 4.11, where it's fixed by these updates.
Reply all
Reply to author
Forward
0 new messages