Sage 8.0.beta10 released

172 views
Skip to first unread message

Volker Braun

unread,
Jun 11, 2017, 7:58:04 AM6/11/17
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

ffc8eff Updated SageMath version to 8.0.beta10
71caaea Trac #23169: is_squarefree can be implemented on the base as _is_squarefree_univariate_polynomial
554fe30 Trac #23166: Conversion from a Function Field to its underlying Polynomial Ring
fadc6fe Trac #23156: py3: no __cmp__ in sudoku
ef6abe1 Trac #23150: py3: caring for a few cmp in modular folder
0db5d48 Trac #23149: py3: get rid of cmp_props
dba1080 Trac #23148: py3: richcmp in pari ring
c32cc6e Trac #23147: py3: little cleanup of six and unicode
65ef964 Trac #23142: Fix missing synchronisation upon starting gap3
ad64e9d Trac #23140: Gauss-Legendre Integrator
66bee23 Trac #23137: free dendriform algebras
cc6cec7 Trac #23133: py3: deprecate lexico comparison for complex intervals field
f3881ba Trac #23130: py3: some care for map in various places
bea0dd6 Trac #23043: Fast p-adic logarithm
bc61743 Trac #22685: Improve 3D plot documentation
117e9e3 Trac #15104: Special case modn_dense matrix operations to improve performance
b8d4f05 Trac #23146: Upgrade to MPIR 3.0 broke SAGE_FAT_BINARY=yes
ce4848e Trac #23117: Set up embeddings for extensions created using the syntax R[alg]
8462378 Trac #23090: Some curation in desolvers.py
48c940f Trac #23066: sagenb update to 1.0
bf41596 Trac #23044: py3: tolerance for u prefix in doctests
df3f064 Trac #22769: tensor_product fails when one of the matrices has 0 rows or columns
e15ab84 Trac #22202: Warning while working with algebraic numbers
ca740c5 Trac #18430: Bug in is_hyperbolic
a679ccd Trac #7675: shortest_path in c_graph should have an optional flag distance=False to return only the distance
45e989a Trac #23126: Hidden bug: matching_polynomial() for graphs without edges
69d5da2 Trac #23124: Fix sig_on/sig_off in boost_graph.pyx
380655a Trac #23123: Stop using cysignals .pxi files (part 5)
7a39f63 Trac #23121: Stop using cysignals .pxi files (part 4)
6b4b358 Trac #23110: typos in polyhedron base
597542d Trac #23108: Add an example to expand_trig
2ff000a Trac #23105: py3: remove <type 'object'>
78b166b Trac #22894: Symbolic expression.is_exact()
ed1a82c Trac #22026: Doctests: Even reals are integers
f9974f9 Trac #20348: p-adic floating point rings
e5589be Trac #18882: Random failure in gf2x testsuite
042ecb6 Trac #23103: Move richcmp stuff to new file
a69b17d Trac #23096: New format for the package installed stamp files in $SAGE_SPKG_INST
ccc7410 Trac #23079: genus of an Elliptic Curve over a finite field
b26b353 Trac #22908: generator of random block graph
e0ddc65 Trac #22706: Add more conversions from giac
2d1a0e5 Trac #12652: update or remove experimental spkg vtk and related docs
375e9fa Trac #23128: sage.misc.cython broken on Cygwin
191ce3e Trac #23122: Wrong zlib library might be loaded
a2901ca Trac #23095: autogen/interpreters does NOT work
9da6672 Trac #22628: SINGULAR_SO default is incorrect of Cygwin
d9e145d Updated SageMath version to 8.0.beta9

Justin C. Walker

unread,
Jun 11, 2017, 12:51:12 PM6/11/17
to sage-r...@googlegroups.com

> On Jun 11, 2017, at 07:58 , 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
>
> ffc8eff Updated SageMath version to 8.0.beta10

I cloned the repository and then did “git checkout develop”.

VERSION.txt now reads
SageMath version 8.0.beta9, Release Date: 2017-05-31

Is something amiss?

Thanks!

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
While creating wives, God promised men
that good and obedient wives would be
found in all corners of the world.
Then He made the earth round.
--








fchap...@gmail.com

unread,
Jun 11, 2017, 3:10:05 PM6/11/17
to sage-release
It seems that this happens on several machines:

Error installing package gf2x-1.1.p2

See for example


Frederic

Volker Braun

unread,
Jun 11, 2017, 4:24:42 PM6/11/17
to sage-release
Fixed!

Francois Bissey

unread,
Jun 11, 2017, 5:09:28 PM6/11/17
to sage-r...@googlegroups.com

> On 12/06/2017, at 07:10, fchap...@gmail.com wrote:
>
> t seems that this happens on several machines:
>
> Error installing package gf2x-1.1.p2
>
> See for example
>
> https://patchbot.sagemath.org/log/0/LinuxMint/18.1/x86_64/4.4.0-59-generic/rk02-math/2017-06-11%2018:40:38?short
>

Upstream is aware of the problem. A new release of gf2x
is getting ready that hopefully will fix the problem.
No ticket for that yet.
This started after I included a fix for bug in
https://trac.sagemath.org/ticket/18882
It may have triggered another bug down the line.
See above ticket for more info.

François

tsc...@ucdavis.edu

unread,
Jun 12, 2017, 12:04:26 AM6/12/17
to sage-release

> t seems that this happens on several machines:
>
> Error installing package gf2x-1.1.p2
>
> See for example
>
> https://patchbot.sagemath.org/log/0/LinuxMint/18.1/x86_64/4.4.0-59-generic/rk02-math/2017-06-11%2018:40:38?short

I am also getting this error on my laptop when trying to do an incremental upgrade from beta9.
 

Upstream is aware of the problem. A new release of gf2x
is getting ready that hopefully will fix the problem.
No ticket for that yet.
This started after I included a fix for bug in
https://trac.sagemath.org/ticket/18882
It may have triggered another bug down the line.
See above ticket for more info.

What is the currently workaround for getting gf2x to build? Is it reverting #18882?

Best,
Travis

 

François Bissey

unread,
Jun 12, 2017, 12:15:59 AM6/12/17
to sage-r...@googlegroups.com
On 12/06/17 16:04, tsc...@ucdavis.edu wrote:
>
> > t seems that this happens on several machines:
> >
> > Error installing package gf2x-1.1.p2
> >
> > See for example
> >
> >
> https://patchbot.sagemath.org/log/0/LinuxMint/18.1/x86_64/4.4.0-59-generic/rk02-math/2017-06-11%2018:40:38?short
> <https://www.google.com/url?q=https%3A%2F%2Fpatchbot.sagemath.org%2Flog%2F0%2FLinuxMint%2F18.1%2Fx86_64%2F4.4.0-59-generic%2Frk02-math%2F2017-06-11%252018%3A40%3A38%3Fshort&sa=D&sntz=1&usg=AFQjCNH9IxZLBrbPoEtYF_9CuYnqmH8MRw>
>
>
> I am also getting this error on my laptop when trying to do an
> incremental upgrade from beta9.
>
>
> Upstream is aware of the problem. A new release of gf2x
> is getting ready that hopefully will fix the problem.
> No ticket for that yet.
> This started after I included a fix for bug in
> https://trac.sagemath.org/ticket/18882
> <https://www.google.com/url?q=https%3A%2F%2Ftrac.sagemath.org%2Fticket%2F18882&sa=D&sntz=1&usg=AFQjCNGvaNR4N2TzLv3MtQkND3NMW2Qh5g>
>
> It may have triggered another bug down the line.
> See above ticket for more info.
>
> What is the currently workaround for getting gf2x to build? Is it
> reverting #18882?
>

Given what I see, you only get this when you set SAGE_TUNE_GF2X=full.
Unsetting SAGE_TUNE_GF2X (which is the default) or putting it to no
will work. At least it looks to me like SAGE_TUNE_GF2X is set to full
from the log, let me know if this assumption is wrong.

Francois

tsc...@ucdavis.edu

unread,
Jun 12, 2017, 12:20:59 AM6/12/17
to sage-release

Given what I see, you only get this when you set SAGE_TUNE_GF2X=full.
Unsetting SAGE_TUNE_GF2X (which is the default) or putting it to no
will work. At least it looks to me like SAGE_TUNE_GF2X is set to full
from the log, let me know if this assumption is wrong.

I didn't set SAGE_TUNE_GF2X, but it still attempted the tuning even with it unset. However, it built fine when I did export SAGE_TUNE_GF2X=no.

Thanks,
Travis

 

François Bissey

unread,
Jun 12, 2017, 12:45:57 AM6/12/17
to sage-r...@googlegroups.com
There are 3 levels of tuning for gf2x in the sage spkg:
no) no tuning
full) full tuning
*) default if unset.

I thought it was only happening on full. But obviously I am wrong.
The fix must have exposed a further bug that was more prevalent
than I thought.
On my machine I have no problem doing a default tuning or a full
tuning with both gcc and clang. And the test suite passes in full
in all configurations.

But given how widespread this is turning out to be, we would be
better reverting https://trac.sagemath.org/ticket/18882 and
wait for the new release of gf2x. The changes on git master are
big enough that cherry-picking is a difficult option, and the
tuning is massively faster.

Francois

Eric Gourgoulhon

unread,
Jun 12, 2017, 5:55:01 AM6/12/17
to sage-release
On Ubuntu 16.04 x86_64 Xeon E5-2623 + 16 GB RAM, from a fresh git clone + pull develop, parallel (-j16) build OK, but make ptestlong failed with four files:

sage -t --long --warn-long 51.6 src/sage/interfaces/expect.py  # 1 doctest failed
sage -t --long --warn-long 51.6 src/sage/repl/interpreter.py  # 3 doctests failed
sage -t --long --warn-long 51.6 src/sage/repl/interface_magic.py  # 3 doctests failed
sage -t --long --warn-long 51.6 src/sage/repl/ipython_tests.py  # 4 doctests failed

All the errors are reproductible separately;

sage -t --long --warn-long 51.6 src/sage/interfaces/expect.py
**********************************************************************
File "src/sage/interfaces/expect.py", line 1117, in sage.interfaces.expect.Expect._expect_expr
Failed example:
    print(sage0.eval("dummy=gp.eval('0'); alarm(1); gp._expect_expr('1')"))  # long time
Expected:
    Control-C pressed.  Interrupting PARI/GP interpreter. Please wait a few seconds...
    ...
    AlarmInterrupt:
Got:
    Control-C pressed. Interrupting PARI/GP interpreter. Please wait a few seconds...
    <CSI-1;31m>---------------------------------------------------------------------------<CSI-0m>
    <CSI-1;31m>AlarmInterrupt<CSI-0m>                            Traceback (most recent call last)
    <CSI-1;32m><ipython-input-2-529203ce1422><CSI-0m> in <CSI-0;36m><module><CSI-1;34m>()<CSI-0m>
    ...

sage -t --long --warn-long 51.6 src/sage/repl/interpreter.py
**********************************************************************

File "src/sage/repl/interpreter.py", line 77, in sage.repl.interpreter
Failed example:
    shell.run_cell('1/0')
Expected:
    ---------------------------------------------------------------------------
    ZeroDivisionError                         Traceback (most recent call last)
    <ipython-input-...> in <module>()
    ----> 1 Integer(1)/Integer(0)
    <BLANKLINE>
    .../src/sage/rings/integer.pyx in sage.rings.integer.Integer.__div__ (.../cythonized/sage/rings/integer.c:...)()
       ...        if type(left) is type(right):
       ...            if mpz_sgn((<Integer>right).value) == 0:
    -> ...                  raise ZeroDivisionError("rational division by zero")
       ...            x = <Rational> Rational.__new__(Rational)
       ...            mpq_div_zz(x.value, (<Integer>left).value, (<Integer>right).value)
    <BLANKLINE>
    ZeroDivisionError: rational division by zero
Got:
    <CSI-1;31m>---------------------------------------------------------------------------<CSI-0m>
    <CSI-1;31m>ZeroDivisionError<CSI-0m>                         Traceback (most recent call last)
    <CSI-1;32m><ipython-input-1-6f88eab09598><CSI-0m> in <CSI-0;36m><module><CSI-1;34m>()<CSI-0m>
    <CSI-1;32m>----> 1<CSI-1;33m> <CSI-0m>Integer<CSI-0m><CSI-1;33m>(<CSI-0m><CSI-1;36m>1<CSI-0m><CSI-1;33m>)<CSI-0m><CSI-1;33m>/<CSI-0m><CSI-0m>Integer<CSI-0m><CSI-1;33m>(<CSI-0m><CSI-1;36m>0<CSI-0m><CSI-1;33m>)<CSI-0m><CSI-1;33m><CSI-0m><CSI-0m>
    <CSI-0m>
...
**********************************************************************
File "src/sage/repl/interpreter.py", line 358, in sage.repl.interpreter.SageTestShell.run_cell
Failed example:
    rc = shell.run_cell('1/0')
Expected:
    ---------------------------------------------------------------------------
    ZeroDivisionError                         Traceback (most recent call last)
    ...
    ZeroDivisionError: rational division by zero
Got:
    <CSI-1;31m>---------------------------------------------------------------------------<CSI-0m>
    <CSI-1;31m>ZeroDivisionError<CSI-0m>                         Traceback (most recent call last)
    <CSI-1;32m><ipython-input-1-6f88eab09598><CSI-0m> in <CSI-0;36m><module><CSI-1;34m>()<CSI-0m>
    <CSI-1;32m>----> 1<CSI-1;33m> <CSI-0m>Integer<CSI-0m><CSI-1;33m>(<CSI-0m><CSI-1;36m>1<CSI-0m><CSI-1;33m>)<CSI-0m><CSI-1;33m>/<CSI-0m><CSI-0m>Integer<CSI-0m>
...
**********************************************************************
File "src/sage/repl/interpreter.py", line 404, in sage.repl.interpreter.SagePreparseTransformer
Failed example:
    shell.run_cell(bad_syntax)
Expected:
      File "<string>", line unknown
    SyntaxError: Mismatched ']'
    <BLANKLINE>
Got:
    <CSI-1;36m>  File <CSI-1;32m>"<string>"<CSI-1;36m>, line <CSI-1;32m>unknown<CSI-0m>
    <CSI-1;31m>SyntaxError<CSI-0m><CSI-1;31m>:<CSI-0m> Mismatched ']'
    <BLANKLINE>


sage -t --long --warn-long 51.6 src/sage/repl/interface_magic.py
**********************************************************************
File "src/sage/repl/interface_magic.py", line 214, in sage.repl.interface_magic.InterfaceMagic.line_magic_factory
Failed example:
    shell.run_cell('%gap?')
Expected:
    Docstring:
    Interact with gap
    <BLANKLINE>
    The line magic %gap sends a single line to the gap interface.
    ...
Got:
    <CSI-1;31m>Docstring:<CSI-0m>
    Interact with gap
    <BLANKLINE>
    The line magic %gap sends a single line to the gap interface.
    <BLANKLINE>
    INPUT:
...
**********************************************************************
File "src/sage/repl/interface_magic.py", line 262, in sage.repl.interface_magic.InterfaceMagic.cell_magic_factory
Failed example:
    shell.run_cell('%%gap foo\n1+1;\n')
Expected:
    File "<string>", line unknown
    SyntaxError: Interface magics have no options, got "foo"
    <BLANKLINE>
Got:
    <CSI-1;36m>  File <CSI-1;32m>"<string>"<CSI-1;36m>, line <CSI-1;32m>unknown<CSI-0m>
    <CSI-1;31m>SyntaxError<CSI-0m><CSI-1;31m>:<CSI-0m> Interface magics have no options, got "foo"
    <BLANKLINE>
**********************************************************************
File "src/sage/repl/interface_magic.py", line 266, in sage.repl.interface_magic.InterfaceMagic.cell_magic_factory
Failed example:
    shell.run_cell('%%gap?')
Expected:
    Docstring:
    Interact with gap
    <BLANKLINE>
    The cell magic %%gap sends multiple lines to the gap interface.
    ...
Got:
    <CSI-1;31m>Docstring:<CSI-0m>
    Interact with gap
    <BLANKLINE>
    The cell magic %%gap sends multiple lines to the gap interface.
    <BLANKLINE>
...

sage -t --long --warn-long 51.6 src/sage/repl/ipython_tests.py
**********************************************************************
File "src/sage/repl/ipython_tests.py", line 10, in sage.repl.ipython_tests
Failed example:
    shell.run_cell(u'%pinfo dummy')
Expected:
    Signature:      dummy(argument, optional=None)
    Docstring:
       Dummy Docstring Title
    <BLANKLINE>
       Dummy docstring explanation.
    <BLANKLINE>
       INPUT:
    <BLANKLINE>
       * "argument" -- anything. Dummy argument.
    <BLANKLINE>
       * "optional" -- anything (optional). Dummy optional.
    <BLANKLINE>
       EXAMPLES:
    <BLANKLINE>
    ...
    Init docstring: x.__init__(...) initializes x; see help(type(x)) for signature
    File:           .../sage/repl/ipython_tests.py
    Type:           function
Got:
    <CSI-1;31m>Signature:<CSI-0m>      <CSI-0m>dummy<CSI-0m><CSI-1;33m>(<CSI-0m><CSI-0m>argument<CSI-0m><CSI-1;33m>,<CSI-0m> <CSI-0m>optional<CSI-0m><CSI-1;33m>=<CSI-0m><CSI-0m>None<CSI-0m><CSI-1;33m>)<CSI-0m><CSI-1;33m><CSI-0m><CSI-0m>
    <CSI-1;31m>Docstring:<CSI-0m>    
       Dummy Docstring Title
...


Eric.





tsc...@ucdavis.edu

unread,
Jun 12, 2017, 8:44:58 AM6/12/17
to sage-release

I tried reverting #18882, but it didn't seem to work. Yet, I didn't delete the partial install so that might have contributed. I will try again. I also looked at my old build logs and it seems that tuning is the default option as far back as at least 7.6.beta2.

Best,
Travis

Dima Pasechnik

unread,
Jun 12, 2017, 1:52:29 PM6/12/17
to sage-release
this should be fixed by https://trac.sagemath.org/ticket/23225
please review

Eric Gourgoulhon

unread,
Jun 15, 2017, 6:14:43 AM6/15/17
to sage-release
Hi,


Le lundi 12 juin 2017 11:55:01 UTC+2, Eric Gourgoulhon a écrit :
On Ubuntu 16.04 x86_64 Xeon E5-2623 + 16 GB RAM, from a fresh git clone + pull develop, parallel (-j16) build OK, but make ptestlong failed with four files:

sage -t --long --warn-long 51.6 src/sage/interfaces/expect.py  # 1 doctest failed
sage -t --long --warn-long 51.6 src/sage/repl/interpreter.py  # 3 doctests failed
sage -t --long --warn-long 51.6 src/sage/repl/interface_magic.py  # 3 doctests failed
sage -t --long --warn-long 51.6 src/sage/repl/ipython_tests.py  # 4 doctests failed


On a different machine (i7-6700HQ + 16 MB RAM), still running Ubuntu 16.04 though, I have the same errors...
(Note: on both machines, 8.0.beta9 was OK).

Eric.  

Justin C. Walker

unread,
Jun 27, 2017, 12:40:57 PM6/27/17
to sage-r...@googlegroups.com

> On Jun 11, 2017, at 13:58 , 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 clone/checkout of develop w/o problems on macOS 10.11.6 (Quad-core Core i7). All tests passed!

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Director
Institute for the Enhancement of the Director's Income
--------
"Weaseling out of things is what separates us from the animals.
Well, except the weasel."
- Homer J Simpson
--------


Reply all
Reply to author
Forward
0 new messages