Sage 7.4.beta1 released

194 views
Skip to first unread message

Volker Braun

unread,
Aug 17, 2016, 4:28:00 PM8/17/16
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

7b1b3ec Updated SageMath version to 7.4.beta1
3f3bfb1 Trac #21245: again some typos
aeb555a Trac #21241: faq-usage typo 'preparse' should be 'preparser'
dd9944e Trac #21181: Fix typos and a lot of markup/formatting in docstrings of sage/combinat/words/finite_word.py
46c1a6f Trac #19213: Cleaning sage-package-list
27d75dc Trac #21246: py3: do not use file(filename, type)
f63193f Trac #21239: Poset height and width: add "certificate"
2334726 Trac #16325: implicit_plot does not handle color parameter properly
2c04dad Trac #21179: flask-babel depends on babel
f7fb862 Trac #21178: Fix more typos... and /some/ markup
b9c0bc0 Trac #21137: Rational parameterizations for rational curves
582bcbe Trac #21209: Update FriCAS to 1.2.7 (current)
e951def Trac #18266: Conversion from Sage polynomial to gap/libgap
201cca4 Trac #21235: very minor doc issues in calculus
e327957 Trac #21244: Fix formatting in repl/preparse.py
3ba1390 Trac #12962: Implement multi-function plotting options in plot()
65ea457 Trac #21208: remove __cmp__ and cmp() in examples of weak ref dicts
b84e94d Trac #21185: linbox does not find fflas_ffpack on cygwin
8ca74c8 Trac #21220: Typos in "representation"
07efe3f Trac #21119: Fix numerical noise on Haswell (single doctest)
6cbb9e5 Trac #21234: more typos, various
4190b93 Trac #21229: more typos correct
00d229a Trac #21207: typos in "unique"
4cb5ad7 Trac #21183: cleanup hidden doc in schemes
d9d128b Trac #21177: adding many missing links to trac
a4d3291 Trac #21237: Implemention of the oriented connected sum for knots
61f8685 Trac #21230: py3 some removed members of types module
9bbb140 Trac #21216: direct function call to math/cmath/mpmath/numpy
27f3cc9 Trac #21186: Fix overflow error in conversion to PARI finite field element
98080c0 Trac #21176: getting rid of some more cmp() in pyx files
1aebff9 Trac #20892: package polymake 3.0
12b817e Trac #16069: Python 3 preparation: Handle module renames (e.g. in imports)
a11a521 Trac #21168: change_ring function for algebraic curves
f7123eb Trac #21167: Bug with conversion of Singular rings to Sage rings
d98c3df Trac #21138: Standardize latex_name in functions/trig.py
0b8621e Trac #21120: Silence the logging when running "sage -b", for example
d11920b Trac #21029: cat: .../local/bin/sage-banner: No such file or directory
8c2bf5f Trac #18800: Implement a method in ClusterSeed for presenting the upper bound algebra
9ae2515 Trac #21225: py3 import for cPickle (moved)
f93f78c Trac #21224: another bunch of typos
79d17ed Trac #21211: py3: some remaining old-style print
1dc2c81 Trac #21195: cardinality_exhaustive incorrect for general curves of genus 1
036d5ed Trac #21194: Multiple bugs in Polynomial.reverse(degree)
7b5c9cc Trac #21187: Overflow in conversion of polynomials in large characteristic to SymbolicRing
8c2e8bf Trac #21108: Use flattening in quo_rem
f8cafd8 Trac #21080: Cartesian product of posets fails random doctest
aaa9b7f Trac #20961: Fix pycrypto build on Cygwin
62facff Trac #20904: Deprecate Matrix.I
5ded906 Trac #20618: Thematic tutorial on free modules and algebras
0cba751 Trac #19122: cardinality_exhaustive incorrect in genus 1
6eb9a9a Trac #17678: special values of Bessel functions
79735eb Trac #21188: Patch to Singular build to not explicitly link to MPIR
0a80508 Updated SageMath version to 7.4.beta0

leif

unread,
Aug 17, 2016, 6:51:40 PM8/17/16
to sage-r...@googlegroups.com
Volker Braun 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

Except for the weird GAP workspace test in assigned_names.py (which
*always* fails in ptestlong, passes when rerun separately), now all
tests pass for me on Linux x86_64 (Haswell-EP; with Sage's GCC 4.9.3).

Thanks!


-leif

Emmanuel Charpentier

unread,
Aug 19, 2016, 4:45:29 PM8/19/16
to sage-release
Hmmm... On Debian testing running on corei7+16GB RAM, I get three hiccups :

----------------------------------------------------------------------
sage -t --long --warn-long 98.4 src/sage/misc/trace.py  # 1 doctest failed
sage -t --long --warn-long 98.4 src/sage/homology/simplicial_complex.py  # 1 doctest failed
sage -t --long --warn-long 98.4 src/sage/tests/book_stein_modform.py  # Bad exit: 2
----------------------------------------------------------------------
Total time for all tests: 3248.8 seconds
    cpu time: 16373.7 seconds
    cumulative wall time: 22543.6 seconds
Makefile:112 : la recette pour la cible « ptestlong » a échouée
make: *** [ptestlong] Erreur 9

real    56m44.364s
user    355m25.836s
sys    15m51.140s


However, each of them passes standalone :

charpent@asus16-ec:/usr/local/sage-7$ sage -t --long --warn-long 98.4 src/sage/misc/trace.py
Running doctests with ID 2016-08-19-22-33-13-85dc556b.
Git branch: develop
Using --optional=database_gap,mpir,python2,sage,sage_mode
Doctesting 1 file.
sage -t --long --warn-long 98.4 src/sage/misc/trace.py
    [9 tests, 1.88 s]
----------------------------------------------------------------------
All tests passed!
----------------------------------------------------------------------
Total time for all tests: 1.9 seconds
    cpu time: 0.2 seconds
    cumulative wall time: 1.9 seconds
charpent@asus16-ec:/usr/local/sage-7$ sage -t --long --warn-long 98.4 src/sage/homology/simplicial_complex.py 
Running doctests with ID 2016-08-19-22-33-30-9810628f.
Git branch: develop
Using --optional=database_gap,mpir,python2,sage,sage_mode
Doctesting 1 file.
sage -t --long --warn-long 98.4 src/sage/homology/simplicial_complex.py
    [588 tests, 6.59 s]
----------------------------------------------------------------------
All tests passed!
----------------------------------------------------------------------
Total time for all tests: 6.7 seconds
    cpu time: 3.1 seconds
    cumulative wall time: 6.6 seconds
charpent@asus16-ec:/usr/local/sage-7$ sage -t --long --warn-long 98.4 src/sage/tests/book_stein_modform.py
Running doctests with ID 2016-08-19-22-33-55-424feb52.
Git branch: develop
Using --optional=database_gap,mpir,python2,sage,sage_mode
Doctesting 1 file.
sage -t --long --warn-long 98.4 src/sage/tests/book_stein_modform.py
    [240 tests, 1.47 s]
----------------------------------------------------------------------
All tests passed!
----------------------------------------------------------------------
Total time for all tests: 1.5 seconds
    cpu time: 1.5 seconds
    cumulative wall time: 1.5 seconds


Happenstance ? Race condition ?

HTH,

--

Emmanuel Charpentier

Eric Gourgoulhon

unread,
Aug 19, 2016, 4:56:47 PM8/19/16
to sage-release
Hi,

On Ubuntu 16.04.1, after a fresh git clone + git pull origin develop + make, build failed with the message

[sagelib-7.4.beta1] python -c "from sage_setup.autogen.interpreters import rebuild; rebuild('sage/ext/interpreters')"
[sagelib-7.4.beta1] Building interpreters for fast_callable
[sagelib-7.4.beta1] python -u setup.py install
[sagelib-7.4.beta1] ************************************************************************
[sagelib-7.4.beta1] Traceback (most recent call last):
[sagelib-7.4.beta1]   File "setup.py", line 47, in <module>
[sagelib-7.4.beta1]     from module_list import ext_modules, library_order, aliases
[sagelib-7.4.beta1]   File "/home/eric/sage/beta1/src/module_list.py", line 384, in <module>
[sagelib-7.4.beta1]     package = 'mcqd'),
[sagelib-7.4.beta1]   File "/home/eric/sage/beta1/src/sage_setup/optional_extension.py", line 77, in OptionalExtension
[sagelib-7.4.beta1]     condition = is_package_installed(pkg)
[sagelib-7.4.beta1]   File "/home/eric/sage/beta1/src/sage/misc/package.py", line 311, in is_package_installed
[sagelib-7.4.beta1]     return any(p.split('-')[0] == package for p in installed_packages())
[sagelib-7.4.beta1]   File "/home/eric/sage/beta1/src/sage/misc/package.py", line 291, in installed_packages
[sagelib-7.4.beta1]     installed.update(pip_installed_packages())
[sagelib-7.4.beta1]   File "/home/eric/sage/beta1/src/sage/misc/package.py", line 147, in pip_installed_packages
[sagelib-7.4.beta1]     proc = subprocess.Popen(["pip", "list"], stdout=subprocess.PIPE)
[sagelib-7.4.beta1]   File "/home/eric/sage/beta1/local/lib/python/subprocess.py", line 710, in __init__
[sagelib-7.4.beta1]     errread, errwrite)
[sagelib-7.4.beta1]   File "/home/eric/sage/beta1/local/lib/python/subprocess.py", line 1335, in _execute_child
[sagelib-7.4.beta1]     raise child_exception
[sagelib-7.4.beta1] OSError: [Errno 2] No such file or directory
[sagelib-7.4.beta1] ************************************************************************
[sagelib-7.4.beta1] Error building the Sage library
[sagelib-7.4.beta1] ************************************************************************
[sagelib-7.4.beta1] Please email sage-devel (http://groups.google.com/group/sage-devel)
[sagelib-7.4.beta1] explaining the problem and including the relevant part of the log file
[sagelib-7.4.beta1]   /home/eric/sage/beta1/logs/pkgs/sagelib-7.4.beta1.log
[sagelib-7.4.beta1] Describe your computer, operating system, etc.
[sagelib-7.4.beta1] ************************************************************************

(the content of /home/eric/sage/beta1/logs/pkgs/sagelib-7.4.beta1.log is the same as above)

System: Ubuntu 16.04.1 LTS x86_64
gcc 5.4.0
Hardware: Intel Core i5-2410M + 4 GB RAM

Any idea?

Eric.

Vincent Delecroix

unread,
Aug 19, 2016, 5:00:10 PM8/19/16
to sage-r...@googlegroups.com
Hi Eric,

I guess it comes from #19213 (that assumes that pip is installed).
#21291 is likely to solve the issue.

Vincent

leif

unread,
Aug 19, 2016, 6:17:58 PM8/19/16
to sage-r...@googlegroups.com
Again, this one is probably https://trac.sagemath.org/ticket/15585 .


-leif

Eric Gourgoulhon

unread,
Aug 20, 2016, 5:36:18 AM8/20/16
to sage-release
Le vendredi 19 août 2016 23:00:10 UTC+2, vdelecroix a écrit :
Hi Eric,

I guess it comes from #19213 (that assumes that pip is installed).

Thank you Vincent! I've installed the Ubuntu package python-pip and run make again: the build was successfull. I've got some message though:

[sagelib-7.4.beta1] make[3] : on entre dans le répertoire « /home/eric/sage/beta1/src »

[sagelib-7.4.beta1] python -u setup.py install
[sagelib-7.4.beta1] Traceback (most recent call last):
[sagelib-7.4.beta1]   File "/usr/bin/pip", line 9, in <module>
[sagelib-7.4.beta1]     from pip import main
[sagelib-7.4.beta1] ImportError: No module named pip

but it did not halt the compilation and the built sage seems to work fine.

Should python-pip be added to the prerequisites list
http://doc.sagemath.org/html/en/installation/source.html#prerequisites
?

Best regards,

Eric.

Vincent Delecroix

unread,
Aug 20, 2016, 7:26:56 PM8/20/16
to sage-r...@googlegroups.com
On 17/08/16 17:28, Volker Braun 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
>
> 7b1b3ec Updated SageMath version to 7.4.beta1

Several doctest failures

**********************************************************************
File "src/sage/graphs/generic_graph.py", line 20919, in
sage.graphs.generic_graph.GenericGraph.?
Failed example:
G.canonical_label(certify=True)
Expected:
doctest:...: DeprecationWarning: use the option 'certificate'
instead of 'certify'
See http://trac.sagemath.org/21111 for details.
(Graph on 2 vertices, {'a': 0, 'b': 1})
Got:
doctest:1: DeprecationWarning: use the option 'certificate' instead
of 'certify'
See http://trac.sagemath.org/21111 for details.
(Graph on 2 vertices, {'a': 1, 'b': 0})
***********************************************************************

And many of the following kind

**********************************************************************
File "src/sage/tests/cmdline.py", line 108, in
sage.tests.cmdline.test_executable
Failed example:
err
Expected:
''
Got:
":0: UserWarning: You do not have a working installation of the
service_identity module: 'No module named service_identity'. Please
install it from <https://pypi.python.org/pypi/service_identity> and make
sure all of its dependencies are satisfied. Without the
service_identity module and a recent enough pyOpenSSL to support it,
Twisted can perform only rudimentary TLS client hostname verification.
Many valid certificate/hostname mappings may be rejected.\n"
**********************************************************************

Dima Pasechnik

unread,
Aug 21, 2016, 2:19:15 PM8/21/16
to sage-release
yes, I have already seen and reported the latter.
For me, installing said module using "sage --pip   service_identity" helped.
So this seems that sagenb package should take care of installing this, although I'm not 100% sure.

Dima 
**********************************************************************

Daniel Krenn

unread,
Aug 23, 2016, 3:44:10 PM8/23/16
to sage-r...@googlegroups.com
On 2016-08-17 22:28, Volker Braun 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

On Linux Mint 17.3, fresh clone:

sage -t --long src/sage/geometry/cone.py # Killed due to kill signal
sage -t --long src/sage/misc/trace.py # 1 doctest failed
sage -t --long src/sage/modules/tutorial_free_modules.py # 1 doctest failed

1) src/sage/geometry/cone.py passed a second try.

2) This one is always there:
sage -t --long src/sage/misc/trace.py
**********************************************************************
File "src/sage/misc/trace.py", line 66, in sage.misc.trace.trace
Failed example:
print(s.before[s.before.find('--'):])
Expected:
--...
ipdb> c
2 * 5
Got:
--Return--
None
>
/local/dakrenn/sage/7.4.beta1/build/bdist.linux-x86_64/egg/prompt_toolkit/terminal/vt
**********************************************************************

3) This one was there with "make ptestlong", but not when testing the
file with "./sage -t ...." (but only tried once each):

sage -t --long src/sage/modules/tutorial_free_modules.py
**********************************************************************
File "src/sage/modules/tutorial_free_modules.py", line 45, in
sage.modules.tutorial_free_modules
Failed example:
F = CombinatorialFreeModule(ZZ, ['spam', 'eggs', 42]); F.an_element()
Expected:
3*B[42] + 2*B['eggs'] + 2*B['spam']
Got:
2*B['eggs'] + 2*B['spam'] + 3*B[42]
**********************************************************************

Steven Trogdon

unread,
Aug 24, 2016, 1:17:54 AM8/24/16
to sage-release
On Tuesday, August 23, 2016 at 2:44:10 PM UTC-5, Daniel Krenn wrote:
On 2016-08-17 22:28, Volker Braun 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

On Linux Mint 17.3, fresh clone:

sage -t --long src/sage/geometry/cone.py  # Killed due to kill signal
sage -t --long src/sage/misc/trace.py  # 1 doctest failed
sage -t --long src/sage/modules/tutorial_free_modules.py  # 1 doctest failed

 
The trace.py also fails on my Gentoo box:

sage -t --long /usr/lib/python2.7/site-packages/sage/misc/trace.py
**********************************************************************
File "/usr/lib/python2.7/site-packages/sage/misc/trace.py", line 66, in sage.misc.trace.trace
Failed example:
    print(s.before[s.before.find('--'):])
Expected:
    --...
    ipdb> c
    2 * 5
Got:
    --Return--
    None
    > /64bitdev/storage/sage-git_develop/sage/build/bdist.linux-x86_64/egg/prompt_toolkit/terminal/vt
**********************************************************************
1 item had failures:
   1 of  10 in sage.misc.trace.trace
    [9 tests, 1 failure, 4.46 s]
----------------------------------------------------------------------
sage -t --long /usr/lib/python2.7/site-packages/sage/misc/trace.py  # 1 doctest failed
----------------------------------------------------------------------

The portions of trace.py that produce the failure look OK when run from the Sage prompt. There is no such
/64bitdev/storage/sage-git_develop/sage/build/bdist.linux-x86_64/egg/prompt_toolkit/terminal/vt nor is it ever created.

Volker Braun

unread,
Aug 24, 2016, 2:48:26 AM8/24/16
to sage-release

Justin C. Walker

unread,
Aug 27, 2016, 3:03:24 PM8/27/16
to sage-r...@googlegroups.com

> On Aug 17, 2016, at 13: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

Issues on OS X 10.6.11 similar to what I see with sage 7.4-b0:

sage -t --long --warn-long 73.1 src/sage/tests/cmdline.py # 4 doctests failed
sage -t --long --warn-long 73.1 src/sage/structure/sage_object.pyx # 1 doctest failed
sage -t --long --warn-long 73.1 src/sage/repl/interpreter.py # 2 doctests failed
sage -t --long --warn-long 73.1 src/sage/repl/ipython_extension.py # 1 doctest failed
sage -t --long --warn-long 73.1 src/sage/repl/attach.py # 1 doctest failed
sage -t --long --warn-long 73.1 src/sage/typeset/ascii_art.py # 1 doctest failed
sage -t --long --warn-long 73.1 src/sage/repl/display/formatter.py # 1 doctest failed
sage -t --long --warn-long 73.1 src/sage/repl/inputhook.pyx # 1 doctest failed
sage -t --long --warn-long 73.1 src/sage/repl/interface_magic.py # 1 doctest failed
sage -t --long --warn-long 73.1 src/sage/repl/ipython_tests.py # 1 doctest failed
sage -t --long --warn-long 73.1 src/sage/repl/rich_output/backend_ipython.py # 1 doctest failed
sage -t --long --warn-long 73.1 src/sage/modules/tutorial_free_modules.py # 1 doctest f

Have not yet repeated the tests or build.

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds
--------
If you're not confused,
You're not paying attention
--------



Reply all
Reply to author
Forward
0 new messages