Sage 9.0.rc0 released

192 views
Skip to first unread message

Volker Braun

unread,
Dec 26, 2019, 6:23:59 PM12/26/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 


746a826377 (trac/develop, tag: 9.0.rc0) Updated SageMath version to 9.0.rc0
127f366466 Trac #28900: some details in schemes/
ca4521e2b4 Trac #28898: pep cleanup in quivers/
d08e04849b Trac #28896: Graphs: Move common methods of backends to CGraph
5755e74d72 Trac #28885: spkg-configure for cliquer
f2815065ea Trac #28837: Flow polytope does not work as expected on Multi-Digraphs
8da01cc05d Trac #28654: A Bug in the backend `field`
28d403249e Trac #28309: improvement of method allow_multiple_edges
b22d6d510d Trac #28094: support function fields in characteristic zero
fcadfadd4e (tag: 9.0.beta10) Updated SageMath version to 9.0.beta10

Samuel Lelièvre

unread,
Dec 27, 2019, 3:12:11 AM12/27/19
to sage-release
Le jeu. 26 déc. 2019 à 18:24, Volker Braun:
>
> 746a826377 (trac/develop, tag: 9.0.rc0) Updated SageMath version to 9.0.rc0

Please include #28910 in Sage 9.0. It touches no code,
it's just a badge update for DockerHub to show Sage
is maintained as of 2020.

https://trac.sagemath.org/ticket/28910

Samuel Lelièvre

unread,
Dec 27, 2019, 3:12:44 AM12/27/19
to sage-release
Le ven. 27 déc. 2019 à 03:11, Samuel Lelièvre
<samuel....@gmail.com> a écrit :
>
> Le jeu. 26 déc. 2019 à 18:24, Volker Braun:
> >
> > 746a826377 (trac/develop, tag: 9.0.rc0) Updated SageMath version to 9.0.rc0
>
> Please include #28910 in Sage 9.0. It touches no code,
> it's just a badge update for DockerHub to show Sage
> is maintained as of 2020.

I mean, that Sage Docker images are maintained.

Eric Gourgoulhon

unread,
Dec 27, 2019, 5:15:31 AM12/27/19
to sage-release
On Ubuntu 18.04 running on Core i7-6700HQ + 16 GB RAM:
- incremental build (-j8) from 9.0.beta10 OK
- all tests from ptestlong passed

Eric.

Emmanuel Charpentier

unread,
Dec 27, 2019, 5:27:01 AM12/27/19
to sage-release

FWIW, on Debian testing running on core i7 + 16 GB RAM, after upgrading a Python 3-based Sage 9.0.beta10 to 9.0.rc0, ptestalllong gives 4 transient and 3 permanent failures:

File Result P/T
src/sage/plot/animate.py 7 doctests failed T
src/sage/numerical/backends/glpk_backend.pyx 1 doctest failed P
src/sage/tests/gap_packages.py 1 doctest failed P
src/sage/misc/latex.py 1 doctest failed T
src/sage/libs/glpk/error.pyx 1 doctest failed P
src/sage/repl/load.py 1 doctest failed T
src/sage/databases/findstat.py 1 doctest failed T

All these failures have already been reported at least thrice.

HTH,

Emmanuel Charpentier

unread,
Dec 27, 2019, 8:56:33 AM12/27/19
to sage-release

On a slightly smaller machine (Debian testing running on core i5 + 8 GB
RAM) which does not have gap_packages installed, after upgrading a
Python 3-based 9.9.beta9 to 9.0.rc0, ptestalllong gives nine transient
failures, and no permanent failure.

File Result P/T
src/sage/plot/animate.py 7 doctests failed T
src/doc/en/constructions/linear_algebra.rst 1 doctest failed T
src/sage/misc/latex.py 1 doctest failed T
src/doc/en/constructions/interface_issues.rst 1 doctest failed T
src/sage/repl/load.py 1 doctest failed T
src/doc/en/developer/coding_in_other.rst 1 doctest failed T
src/sage/interfaces/octave.py 3 doctests failed T
src/sage/databases/findstat.py 1 doctest failed T
src/sage/interfaces/magma_free.py 2 doctests failed T

Of these failures, only linear_algebra.rst, interface_issues.rst,
coding_in_other.rst and octave.py are novel. Details:

  • linear_algebra.rst
sage -t --long --warn-long 53.9 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 "/usr/local/sage-9/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-9/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1123, 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 "/usr/local/sage-9/local/lib/python3.7/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
    [93 tests, 1 failure, 2.25 s]
  • interface_issues.rst
sage -t --long --warn-long 53.9 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
    [17 tests, 1 failure, 1.51 s]
  • coding_in_other.rst
sage -t --long --warn-long 53.9 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 "/usr/local/sage-9/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-9/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1123, 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 "/usr/local/sage-9/local/lib/python3.7/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
    [41 tests, 1 failure, 0.79 s]
  • octave.py
sage -t --long --warn-long 53.9 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 "/usr/local/sage-9/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-9/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1123, 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 "/usr/local/sage-9/local/lib/python3.7/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
    [132 tests, 3 failures, 1.93 s]

Those 4 “new” transient failures are all bound to the use of octave,
whose interface may benefit from revision (but the fact that these
doctests pass when ran standalone may point to a concurrency problem…).

HTH,

Markus Wageringel

unread,
Dec 27, 2019, 1:32:27 PM12/27/19
to sage-release
This may in part be due to #28744 which was merged in beta8. Before that, the Octave interface was so broken with Python 3 that even the detection of Octave failed, so these `external` doctests would never run during ptestalllong. Now, all Octave tests pass on my end, but I still have Octave 3.8.2 which is slightly outdated. Indeed, the interface may need some updates for the current version of Octave.

Justin C. Walker

unread,
Dec 27, 2019, 4:31:32 PM12/27/19
to 'Justin C. Walker' via sage-release


> On Dec 26, 2019, at 15:23 , 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 from a fresh clone of the develop tree, on macOS 10.14.6 (2017 MBP, Quad-core Core i7). No problems with the build, and all tests (‘ptestlong’) passed!

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
Like the ski resort full of girls hunting for husbands
and husbands hunting for girls, the situation is not
as symmetrical as it might seem.
- Alan MacKay
--

Samuel Lelièvre

unread,
Dec 28, 2019, 2:12:31 AM12/28/19
to sage-release
Thu 2019-12-26 à 23:24 UTC, Volker Braun:
>
> 746a826377 (trac/develop, tag: 9.0.rc0) Updated SageMath version to 9.0.rc0


Computer, OS, build choices:

- iMac, Mid 2015
- macOS 10.14.6 Mojave
- build for Python 2
- build Sage's `gcc` and `openssl` packages
- build Sage's Python with its `_ssl` and `_tkinter` modules

Running `make testlong` gave 2 failing doctests
in the file `src/sage/misc/sageinspect.py`.

Running the tests for that file again gave 6 failing doctests.

Excerpts from the terminal session follow.


```bash
$ make testlong

[...]

----------------------------------------------------------------------
sage -t --long --warn-long 50.2 src/sage/misc/sageinspect.py # 2
doctests failed
----------------------------------------------------------------------
Total time for all tests: 11201.1 seconds
cpu time: 8574.9 seconds
cumulative wall time: 10884.3 seconds
make: *** [testlong] Error 1
```


```bash
$ ./sage -t --long --warn-long 50.2 src/sage/misc/sageinspect.py
Running doctests with ID 2019-12-27-15-55-47-4a6bf556.
Git branch: develop
Using --optional=build,dochtml,mpir,python2,sage
Doctesting 1 file.
sage -t --long --warn-long 50.2 src/sage/misc/sageinspect.py
**********************************************************************
File "src/sage/misc/sageinspect.py", line 2132, in
sage.misc.sageinspect._sage_getsourcelines_name_with_dot
Failed example:
cython('''
class A:
def __init__(self):
"some init doc"
pass
class B:
"some class doc"
class A(A):
pass
''')
Exception raised:
Traceback (most recent call last):
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py",
line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py",
line 1123, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.misc.sageinspect._sage_getsourcelines_name_with_dot[3]>", line
10, in <module>
''')
File "sage/misc/lazy_import.pyx", line 353, in
sage.misc.lazy_import.LazyImport.__call__
(build/cythonized/sage/misc/lazy_import.c:3686)
return self.get_object()(*args, **kwds)
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/misc/cython.py",
line 634, in cython_compile
return cython_import_all(tmpfile, get_globals(), **kwds)
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/misc/cython.py",
line 524, in cython_import_all
m = cython_import(filename, **kwds)
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/misc/cython.py",
line 504, in cython_import
return builtins.__import__(name)
ModuleNotFoundError: No module named
'_Users_lelievre__sage_temp_Ghost_80496_tmp_2caqjln__pyx_0'
**********************************************************************
File "src/sage/misc/sageinspect.py", line 2142, in
sage.misc.sageinspect._sage_getsourcelines_name_with_dot
Failed example:
B.A.__name__
Exception raised:
Traceback (most recent call last):
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py",
line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py",
line 1123, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.misc.sageinspect._sage_getsourcelines_name_with_dot[4]>", line 1,
in <module>
B.A.__name__
NameError: name 'B' is not defined
**********************************************************************
File "src/sage/misc/sageinspect.py", line 2144, in
sage.misc.sageinspect._sage_getsourcelines_name_with_dot
Failed example:
B.A.__qualname__
Exception raised:
Traceback (most recent call last):
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py",
line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py",
line 1123, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.misc.sageinspect._sage_getsourcelines_name_with_dot[5]>", line 1,
in <module>
B.A.__qualname__
NameError: name 'B' is not defined
**********************************************************************
File "src/sage/misc/sageinspect.py", line 2146, in
sage.misc.sageinspect._sage_getsourcelines_name_with_dot
Failed example:
sage_getsource(B.A)
Exception raised:
Traceback (most recent call last):
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py",
line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py",
line 1123, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.misc.sageinspect._sage_getsourcelines_name_with_dot[6]>", line 1,
in <module>
sage_getsource(B.A)
NameError: name 'B' is not defined
**********************************************************************
File "src/sage/misc/sageinspect.py", line 2281, in
sage.misc.sageinspect.sage_getsourcelines
Failed example:
cython('''cpdef test_funct(x,y): return''')
Exception raised:
Traceback (most recent call last):
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py",
line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py",
line 1123, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.misc.sageinspect.sage_getsourcelines[6]>",
line 1, in <module>
cython('''cpdef test_funct(x,y): return''')
File "sage/misc/lazy_import.pyx", line 353, in
sage.misc.lazy_import.LazyImport.__call__
(build/cythonized/sage/misc/lazy_import.c:3686)
return self.get_object()(*args, **kwds)
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/misc/cython.py",
line 634, in cython_compile
return cython_import_all(tmpfile, get_globals(), **kwds)
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/misc/cython.py",
line 524, in cython_import_all
m = cython_import(filename, **kwds)
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/misc/cython.py",
line 504, in cython_import
return builtins.__import__(name)
ModuleNotFoundError: No module named
'_Users_lelievre__sage_temp_Ghost_80496_tmp_hgs_sryh_pyx_0'
**********************************************************************
File "src/sage/misc/sageinspect.py", line 2282, in
sage.misc.sageinspect.sage_getsourcelines
Failed example:
sage_getsourcelines(test_funct)
Exception raised:
Traceback (most recent call last):
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py",
line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/doctest/forker.py",
line 1123, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.misc.sageinspect.sage_getsourcelines[7]>",
line 1, in <module>
sage_getsourcelines(test_funct)
NameError: name 'test_funct' is not defined
**********************************************************************
2 items had failures:
4 of 8 in sage.misc.sageinspect._sage_getsourcelines_name_with_dot
2 of 31 in sage.misc.sageinspect.sage_getsourcelines
[339 tests, 6 failures, 10.85 s]
----------------------------------------------------------------------
sage -t --long --warn-long 50.2 src/sage/misc/sageinspect.py # 6
doctests failed
----------------------------------------------------------------------
Total time for all tests: 11.1 seconds
cpu time: 3.0 seconds
cumulative wall time: 10.8 seconds
```


Note: similar failures observed with Sage 9.0.beta10
built for Python 3 on the same computer. See report:

https://groups.google.com/d/msg/sage-release/76M2EI3qs28/xqvxde_6BQAJ

Samuel Lelièvre

unread,
Dec 28, 2019, 2:24:02 AM12/28/19
to sage-release
On a MacBook Air with macOS 10.14.6 Mojave,
after `git pull origin develop && make` from a
working Sage 9.0.beta10 built for Python 3,
ran `make testlong` and got: "All tests passed!".

Samuel Lelièvre

unread,
Dec 28, 2019, 2:41:16 PM12/28/19
to sage-release
Le sam. 28 déc. 2019 à 02:12, Samuel Lelièvre:
>
> Computer, OS, build choices:
>
> - iMac, Mid 2015
> - macOS 10.14.6 Mojave
> - build for Python 2
> - build Sage's `gcc` and `openssl` packages
> - build Sage's Python with its `_ssl` and `_tkinter` modules
>
> Running `make testlong` gave 2 failing doctests
> in the file `src/sage/misc/sageinspect.py`.
>
> Running the tests for that file again gave 6 failing doctests.

The key parts seem to be these:

> ModuleNotFoundError: No module named
> '_Users_lelievre__sage_temp_Ghost_80496_tmp_2caqjln__pyx_0'

where it seems that all "/" and "." in the path

/Users/lelievre/.sage/temp/Ghost/etc

became underscores. Not sure how to dig into this...

Jaap Spies

unread,
Dec 29, 2019, 8:23:51 AM12/29/19
to sage-release
Building sage on a Raspberry Pi 4 is not an easy task. I should post a message on sage-devel!

In the end I got a running sage-9.0.rc0 with some freezes and restarts. The make ptestlong ended in 56 errors: time outs and segmentation faults.
Running te failed tests in a bash script resloved most of the issues:

./sage -t --long  src/sage/rings/function_field/function_field.py # Timed out, User interrupt
./sage -t --long  src/sage/schemes/elliptic_curves/ell_rational_field.py  # Timed out, User interrupt
./sage -t --long  src/sage/schemes/elliptic_curves/isogeny_class.py # All test passed 
./sage -t --long  src/sage/modular/pollack_stevens/modsym.py # All test passed 
./sage -t --long  src/sage/rings/function_field/function_field_valuation.py # All test passed 
./sage -t --long  src/sage/rings/padics/padic_base_leaves.py # All test passed 
./sage -t --long  src/sage/combinat/tableau.py # All test passed 
./sage -t --long  src/sage/rings/valuation/augmented_valuation.py # All test passed 
./sage -t --long  src/sage/schemes/hyperelliptic_curves/hyperelliptic_padic_field.py # All test passed 
./sage -t --long  src/sage/combinat/root_system/root_lattice_realization_algebras.py # All test passed 
./sage -t --long  src/sage/modular/modform_hecketriangle/readme.py # All test passed 
./sage -t --long  src/sage/structure/coerce_dict.pyx # error len(LE) expected 1 got 50 
./sage -t --long  src/sage/schemes/elliptic_curves/constructor.py # All test passed 
./sage -t --long  src/sage/combinat/crystals/kirillov_reshetikhin.py # All test passed 
./sage -t --long  src/sage/combinat/shifted_primed_tableau.py # All test passed 
./sage -t --long  src/sage/categories/finite_monoids.py # All test passed 
./sage -t --long  src/sage/combinat/root_system/integrable_representations.py # All test passed 
./sage -t --long  src/sage/combinat/crystals/littelmann_path.py # All test passed 
./sage -t --long  src/sage/rings/tests.py # Segmentation fault Saved to /home/pi/.sage/crash_logs/crash_uftzpsir.log
./sage -t --long  src/doc/ca/intro/index.rst # All tests passed  
./sage -t --long  src/sage/modular/abvar/homspace.py # All tests passed
./sage -t --long  src/sage/groups/libgap_morphism.py # All tests passed 
./sage -t --long  src/sage/rings/function_field/differential.py # All tests passed 
./sage -t --long  src/sage/combinat/posets/poset_examples.py # All tests passed
./sage -t --long  src/sage/tests/books/computational-mathematics-with-sagemath/mpoly_doctest.py  # All tests passed
./sage -t --long  src/sage/algebras/lie_algebras/verma_module.py  # All tests passed
./sage -t --long  src/sage/rings/padics/padic_valuation.py  # All tests passed
./sage -t --long  src/sage/rings/complex_number.pyx  # All tests passed
./sage -t --long  src/sage/geometry/fan.py  # All tests passed
./sage -t --long  src/sage/rings/function_field/element.pyx  # All tests passed
./sage -t --long  src/sage/schemes/elliptic_curves/descent_two_isogeny.pyx  # All tests passed
./sage -t --long  src/sage/geometry/fan_morphism.py  # All tests passed
./sage -t --long  src/sage/schemes/elliptic_curves/cardinality.py  # All tests passed
./sage -t --long  src/sage/combinat/plane_partition.py  # All tests passed
./sage -t --long  src/sage/schemes/toric/toric_subscheme.py  # All tests passed
./sage -t --long  src/sage/libs/pari/tests.py  # All tests passed
./sage -t --long  src/sage/graphs/bipartite_graph.py  # All tests passed
./sage -t --long  src/sage/rings/polynomial/polynomial_ring.py  # All tests passed
./sage -t --long  src/sage/combinat/matrices/latin.py  # All tests passed
./sage -t --long  src/sage/rings/number_field/number_field_base.pyx  # All tests passed
./sage -t --long  src/sage/groups/abelian_gps/abelian_aut.py  # All tests passed
./sage -t --long  src/sage/geometry/fan_isomorphism.py # Interrupted by user 
./sage -t --long  src/sage/structure/factorization.py # All tests passed 
./sage -t --long  src/sage/categories/finite_permutation_groups.py # All tests passed 
./sage -t --long  src/sage/combinat/designs/difference_matrices.py # All tests passed 
./sage -t --long  src/sage/schemes/toric/homset.py # Interrupted 
./sage -t --long  src/sage/misc/weak_dict.pyx # 11 failures 
./sage -t --long  src/sage/rings/polynomial/polynomial_quotient_ring_element.py # All tests passed  
./sage -t --long  src/sage/rings/number_field/small_primes_of_degree_one.py  # All tests passed
./sage -t --long  src/sage/modules/quotient_module.py   # All tests passed
./sage -t --long  src/sage/cpython/dict_del_by_value.pyx # 1 error AssertionError
./sage -t --long  src/sage/rings/valuation/scaled_valuation.py   # All tests passed
./sage -t --long  src/sage/arith/rational_reconstruction.pyx # Segmentation fault  
./sage -t --long  src/sage/rings/padics/padic_capped_relative_element.pyx   # All test passed
./sage -t --long  src/sage/rings/padics/misc.py   # All test passed
./sage -t --long  src/sage/structure/parent.pyx  # All test passed

Harald Schilly

unread,
Dec 30, 2019, 5:23:31 AM12/30/19
to sage-release
I'm not sure how interesting this is, but still ... I made a clean build from the git sources. I got many doctests failures, and each one I checked failed due to additional lines "Long-step dual simplex will be used" -- see: https://trac.sagemath.org/ticket/24824

I guess it picked up my globally installed glpk and I fixed this by installing the glpk package (which in turn installed a few other dependencies). This was not necessary for 8.9. 

-- h

Dima Pasechnik

unread,
Dec 30, 2019, 6:59:36 AM12/30/19
to sage-release


On Mon, 30 Dec 2019, 18:23 Harald Schilly, <harald....@gmail.com> wrote:
I'm not sure how interesting this is, but still ... I made a clean build from the git sources. I got many doctests failures, and each one I checked failed due to additional lines "Long-step dual simplex will be used" -- see: https://trac.sagemath.org/ticket/24824

I guess it picked up my globally installed glpk and I fixed this by installing the glpk package (which in turn installed a few other dependencies). This was not necessary for 8.9. 

well, yes, it is not really a bug - except that system-installed glpk emits this annoying notice, polluting tests.

There seems to be an issue in glpk team,  not making releases often. See
and 

- they promised to fix this in the next release, which didn't happen for almost 2 years.




-- h

--
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/d44216e1-9dfc-4e8a-88ad-f94732a3ca6e%40googlegroups.com.

Sébastien Labbé

unread,
Dec 30, 2019, 7:50:39 AM12/30/19
to sage-release
Running 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/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
----------------------------------------------------------------------
External software detected for doctesting: cplex,ffmpeg,graphviz,gurobi,imagemagick,internet,latex,pandoc

Rerunning failed tests, I get the same:

----------------------------------------------------------------------
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
----------------------------------------------------------------------
External software detected for doctesting: ffmpeg,imagemagick,internet,latex

Except the repl/load.py one (copied below), these failures are already tracked at: https://trac.sagemath.org/ticket/25536

sage -t --long src/sage/repl/load.py
**********************************************************************
File "src/sage/repl/load.py", line 157, in sage.repl.load.load
Failed example:
    sage.repl.load.load('https://raw.githubusercontent.com/sagemath/sage-patchbot/2.8.4/sage_patchbot/util.py', globals())  # optional - internet

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.repl.load.load[16]>", line 1, in <module>
        sage.repl.load.load('https://raw.githubusercontent.com/sagemath/sage-patchbot/2.8.4/sage_patchbot/util.py', globals())  # optional - internet
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/repl/load.py", line 235, in load
        filename = get_remote_file(filename, verbose=False)
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/misc/remote_file.py", line 47, in get_remote_file
        content = urlopen(req, timeout=1)
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/urllib/request.py", line 222, in urlopen
        return opener.open(url, data, timeout)
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/urllib/request.py", line 531, in open
        response = meth(req, response)
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/urllib/request.py", line 641, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/urllib/request.py", line 569, in error
        return self._call_chain(*args)
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/urllib/request.py", line 503, in _call_chain
        result = func(*args)
      File "/home/slabbe/GitBox/sage/local/lib/python3.7/urllib/request.py", line 649, in http_error_default
        raise HTTPError(req.full_url, code, msg, hdrs, fp)
    urllib.error.HTTPError: HTTP Error 404: Not Found

**********************************************************************
1 item had failures:
   1 of  36 in sage.repl.load.load
    2 not tested tests not run
    0 tests not run because we ran out of time
    [44 tests, 1 failure, 3.47 s]


Timo Kaufmann

unread,
Dec 30, 2019, 9:43:31 AM12/30/19
to sage-release
Am Montag, 30. Dezember 2019 12:59:36 UTC+1 schrieb Dima Pasechnik:


On Mon, 30 Dec 2019, 18:23 Harald Schilly, <harald...@gmail.com> wrote:
I'm not sure how interesting this is, but still ... I made a clean build from the git sources. I got many doctests failures, and each one I checked failed due to additional lines "Long-step dual simplex will be used" -- see: https://trac.sagemath.org/ticket/24824

I guess it picked up my globally installed glpk and I fixed this by installing the glpk package (which in turn installed a few other dependencies). This was not necessary for 8.9. 

well, yes, it is not really a bug - except that system-installed glpk emits this annoying notice, polluting tests. 

I think any test failure should be considered a bug. Otherwise the testsuite is much less useful. If a system-installed glpk breaks the testsuite (even though there are no functional failures), I think we either shouldn't use the system-installed glpk or make sure the testsuite works with it.

Dima Pasechnik

unread,
Dec 30, 2019, 10:07:44 AM12/30/19
to sage-release
I think it's more important to move towards sagelib stopping being a
"distro" on its own than to wait for reluctant upstreams to clean up
their acts,
and spending resources we don't have on mainaining sage "distro".
Distros should patch glpk, or otherwise make sure it doing the right thing.
It's totally ludicrous to have a chatty library like glpk, which
cannot be silenced.




> --
> 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/414387ae-dbc1-4bac-8dcb-93d63939cae7%40googlegroups.com.

E. Madison Bray

unread,
Dec 30, 2019, 11:00:01 AM12/30/19
to sage-r...@googlegroups.com
This is intentional: Note that it is says "No module named ..." as
in, it is expecting that to be part of the module *name* (which for
Python modules is typically derived from the filename). The modules
produced by the cython() function include a mangled version of their
absolute path in the module name itself to ensure that they have
unique module names.

Rather, it looks like it's having some other kind of problem building
Cython modules. Can you confirm whether or not those examples work
manually?

I've had them fail before in Windows due to fork-related issues, but I
don't know why it would fail on OSX.

Dima Pasechnik

unread,
Dec 30, 2019, 11:09:05 AM12/30/19
to sage-release
It's with gcc built by Sage - I don't think many people do this any
more, gfortran is enough, and
perhaps gcc is the reason.


> --
> 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/CAOTD34aL1C7EfufF0GpJjneTKVo-30eSs_HsfDaPo8n2ztz03g%40mail.gmail.com.

Simon King

unread,
Dec 30, 2019, 12:00:07 PM12/30/19
to sage-release
Hi Samuel,

did you open a ticket for the problem in sageinspect?

Best regards,
Simon

Samuel Lelievre

unread,
Dec 30, 2019, 12:09:10 PM12/30/19
to sage-release
This is now Sage Trac ticket 28928:

Justin C. Walker

unread,
Jan 1, 2020, 7:03:03 PM1/1/20
to sage-r...@googlegroups.com


> On Dec 26, 2019, at 15:23 , 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 from a fresh clone of the develop tree, on macOS 10.13.6 (2017 iMac Pro, 18-core Xeon W). No problems with the build, and all tests (‘ptestlong’) passed!

Simon King

unread,
Jan 3, 2020, 5:12:31 AM1/3/20
to sage-release


On Saturday, December 28, 2019 at 8:41:16 PM UTC+1, Samuel Lelievre wrote:
Le sam. 28 déc. 2019 à 02:12, Samuel Lelièvre:
>
> Computer, OS, build choices:
>
> - iMac, Mid 2015
> - macOS 10.14.6 Mojave
> - build for Python 2
> - build Sage's `gcc` and `openssl` packages
> - build Sage's Python with its `_ssl` and `_tkinter` modules
>
> Running `make testlong` gave 2 failing doctests
> in the file `src/sage/misc/sageinspect.py`.
>
> Running the tests for that file again gave 6 failing doctests.

The key parts seem to be these:

>     ModuleNotFoundError: No module named
> '_Users_lelievre__sage_temp_Ghost_80496_tmp_2caqjln__pyx_0'
 
No, I rather believe the key part is this:
(build/cythonized/sage/misc/lazy_import.c:3686)
        return self.get_object()(*args, **kwds)
      File "/Users/lelievre/s/sage2gcc/local/lib/python3.7/site-packages/sage/misc/cython.py",

You say that you are using Sage with python-2, but according to the path it is python-3. Perhaps you upgraded from python-2 to python-3 without make distclean? Probably the discussion should be moved to the ticket, #28928

Best regards,
Simon
Reply all
Reply to author
Forward
0 new messages