Re: [sage-release] Sage 4.1.1.rc1 released

2 views
Skip to first unread message
Message has been deleted

Alex Ghitza

unread,
Aug 5, 2009, 7:05:35 AM8/5/09
to sage-r...@googlegroups.com
Built from scratch on

Linux cartan 2.6.28-15-generic #48-Ubuntu SMP Wed Jul 29 08:53:35 UTC
2009 x86_64 GNU/Linux

(MacBook running 64-bit Ubuntu).

Running make test gave one failing doctest, which is repeatable:

[ghitza@cartan sage-4.1.1.rc1]$ ./sage -t devel/sage/sage/misc/sagedoc.py
sage -t "devel/sage/sage/misc/sagedoc.py"
**********************************************************************
File "/opt/sage-4.1.1.rc1/devel/sage/sage/misc/sagedoc.py", line 360:
sage: 'abvar/homology' in _search_src_or_doc('doc', 'homology',
'variety', interact=False)
Expected:
True
Got:
False
**********************************************************************
1 items had failures:
1 of 6 in __main__.example_5
***Test Failed*** 1 failures.
For whitespace errors, see the file /opt/sage-4.1.1.rc1/tmp/.doctest_sagedoc.py
[5.6 s]
exit code: 1024

----------------------------------------------------------------------
The following tests failed:


sage -t "devel/sage/sage/misc/sagedoc.py"
Total time for all tests: 5.6 seconds



Best,
Alex


On Wed, Aug 5, 2009 at 3:14 PM, Minh Nguyen<nguye...@gmail.com> wrote:
>
> Hi folks,
>
> The Sage 4.1.1.rc1 release has been about sorting out a number of
> doctest failures reported in previous alpha and rc releases. Source
> and binary are available at
>
> http://sage.math.washington.edu/home/mvngu/release/sage-4.1.1.rc1.tar
> http://sage.math.washington.edu/home/mvngu/release/sage-4.1.1.rc1-sage.math.washington.edu-x86_64-Linux.tar.gz
>
> and the upgrade path is
>
> http://sage.math.washington.edu/home/mvngu/release/sage-4.1.1.rc1/
>
> With the sage.math only binary version of 4.1.1.rc1, after
> uncompressing it and invoking Sage, you would get a complaint about
> non-ASCII characters in the module SAGE_ROOT/sage/graphs/graph.py as
> described in the session transcript below. A temporary work-around is
> to exit Sage and then load it again with
>
> ./sage -br main
>
> This should get rid of the warning about non-ASCII characters. The
> issue is tracked at ticket #6674
>
> http://trac.sagemath.org/sage_trac/ticket/6674
>
> I have made this a blocker for the 4.1.1 release cycle. Any volunteers
> to review the ticket?
>
> *** Begin transcript ***
>
> [mvngu@sage sage-4.1.1.rc1-sage.math.washington.edu-x86_64-Linux]$ ./sage
> ----------------------------------------------------------------------
> | Sage Version 4.1.1.rc1, Release Date: 2009-08-04                   |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
> **********************************************************************
> *                                                                    *
> * Warning: this is a prerelease version, and it may be unstable.     *
> *                                                                    *
> **********************************************************************
> The Sage install tree may have moved.
> Regenerating Python.pyo and .pyc files that hardcode the install PATH
> (please wait at most a few minutes)...
> Do not interrupt this.
> ---------------------------------------------------------------------------
> SyntaxError                               Traceback (most recent call last)
>
> /scratch/mvngu/sage-4.1.1.rc1-sage.math.washington.edu-x86_64-Linux/local/lib/python2.6/site-packages/IPython/ipmaker.py
> in force_import(modname)
>     64         reload(sys.modules[modname])
>     65     else:
> ---> 66         __import__(modname)
>     67
>     68
>
> /scratch/mvngu/sage-4.1.1.rc1-sage.math.washington.edu-x86_64-Linux/local/bin/ipy_profile_sage.py
> in <module>()
>      5     preparser(True)
>      6
> ----> 7     import sage.all_cmdline
>      8     sage.all_cmdline._init_cmdline(globals())
>      9
>
> /scratch/mvngu/sage-4.1.1.rc1-sage.math.washington.edu-x86_64-Linux/local/lib/python2.6/site-packages/sage/all_cmdline.py
> in <module>()
>     12 try:
>     13
> ---> 14     from sage.all import *
>     15     from sage.calculus.predefined import x
>     16     preparser(on=True)
>
> /scratch/mvngu/sage-4.1.1.rc1-sage.math.washington.edu-x86_64-Linux/local/lib/python2.6/site-packages/sage/all.py
> in <module>()
>     83 from sage.modular.all    import *
>     84 from sage.schemes.all    import *
> ---> 85 from sage.graphs.all     import *
>     86 from sage.groups.all     import *
>     87 from sage.databases.all  import *
>
> /scratch/mvngu/sage-4.1.1.rc1-sage.math.washington.edu-x86_64-Linux/local/lib/python2.6/site-packages/sage/graphs/all.py
> in <module>()
> ----> 1
>      2
>      3 from graph_generators import graphs, digraphs
>      4 from graph_database import GraphDatabase, GenericGraphQuery, GraphQuery
>      5 from graph import Graph, DiGraph
>      6 from bipartite_graph import BipartiteGraph
>      7 from graph_bundle import GraphBundle
>
> /scratch/mvngu/sage-4.1.1.rc1-sage.math.washington.edu-x86_64-Linux/local/lib/python2.6/site-packages/sage/graphs/graph_generators.py
> in <module>()
>    139 ################################################################################
>
>    140
> --> 141 import graph
>    142 from   math import sin, cos, pi
>    143 from sage.misc.randstate import current_randstate
>
> SyntaxError: Non-ASCII character '\xc3' in file
> /scratch/mvngu/sage-4.1.1.rc1-sage.math.washington.edu-x86_64-Linux/local/lib/python2.6/site-packages/sage/graphs/graph.py
> on line 10157, but no encoding declared; see
> http://www.python.org/peps/pep-0263.html for details (graph.py, line
> 10156)
> Error importing ipy_profile_sage - perhaps you should run %upgrade?
> WARNING: Loading of ipy_profile_sage failed.
>
> *** End transcript ***
>
> Another blocker ticket for the 4.1.1 release is #6645
>
> http://trac.sagemath.org/sage_trac/ticket/6645
>
> which concerns a binary version rebuilding the documentation when one does
>
> make test
>
> This should not happen with a binary version of Sage. A patch is
> attached with that ticket, but I haven't got any success with solving
> this issue in 4.1.1.rc1. I'll revisit it again.
>
> If you're upgrading from 4.1.1.rc0, you might be asked to enter a
> commit message for changes in the following files:
>
> sage-README-osx.txt
> sage-banner
> sage-gdb-commands
> sage-maxima.lisp
> sage-verify-pyc
>
> That is due to the executable bits of those files (which are located
> in SAGE_ROOT/local/bin) being removed as suggested by ticket #3687
>
> http://trac.sagemath.org/sage_trac/ticket/3687
>
> A work-around is to enter a sensible commit message and then exit the
> text editor you have been dumped into. It seems that when upgrading,
> the executable bits of the above files would be restored. This issue
> is being tracked at ticket #6625
>
> http://trac.sagemath.org/sage_trac/ticket/6625
>
> Please test and report issues with 4.1.1rc1.
>
> The following tickets were merged in Sage 4.1.1.rc1:
>
> #5793: Nathann Cohen: New algorithm for Max Clique in Graph class
> using Cython [Reviewed by Robert Miller, Minh Van Nguyen]
> #6143: Jason Grout: Upgrade tinyMCE to 3.2.4.1 [Reviewed by Mitesh
> Patel, Marshall Hampton]
> #6243: Burcin Erocal: hashes for derivatives of symbolic functions
> w.r.t. different variables are the same [Reviewed by Golam Mortuza
> Hossain]
> #6355: Nathann Cohen: Cliquer to compute maximum cliques [Reviewed by
> Robert Miller]
> #6377: Burcin Erocal: exp(x) is broken at x=Infinity and x=-Infinity
> [Reviewed by Golam Mortuza Hossain]
> #6401: Burcin Erocal: Typesettings of real() and imag() are broken
> [Reviewed by Golam Mortuza Hossain]
> #6404: Burcin Erocal: Typeseting for conjugate() of symbolic function
> is inadequate [Reviewed by Golam Mortuza Hossain]
> #6491: Simon King: Modular Cohomology Rings of Finite p-Groups
> [Reviewed by David Joyner, William Stein]
> #6602: Nathann Cohen: GLPK for Sage [Reviewed by David Joyner]
> #6622: Bill Cauchois: substitution of a dict into a symbolic
> expression modifies the dict [Reviewed by Burcin Erocal]
> #6632: Steven Hartke: bug in blocks_and_cut_vertices() of a graph that
> occurs when vertex 0 is a cut vertex [Reviewed by Robert Miller]
> #6649: Georg S. Weber: doctest failure in decorate.py (on OS X only)
> [Reviewed by Marshall Hampton, David Joyner]
> #6656: John Palmieri: fix latex method for laurent series element
> [Reviewed by Minh Van Nguyen]
> #6658: Dan Drake: digits() claims it defaults to base 2, but it
> defaults to base 10 [Reviewed by Tim Dumol]
> #6661: Simon King: Misleading warning message of _expect_expr() at
> KeyboardInterrupt [Reviewed by Minh Van Nguyen]
>
> --
> Regards
> Minh Van Nguyen
>
> >
>



--
Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne
-- Australia -- http://www.ms.unimelb.edu.au/~aghitza/

William Stein

unread,
Aug 5, 2009, 2:12:28 PM8/5/09
to sage-r...@googlegroups.com
On Tue, Aug 4, 2009 at 10:14 PM, Minh Nguyen <nguye...@gmail.com> wrote:

Hi folks,

The Sage 4.1.1.rc1 release has been about sorting out a number of
doctest failures reported in previous alpha and rc releases. Source
and binary are available at

http://sage.math.washington.edu/home/mvngu/release/sage-4.1.1.rc1.tar
http://sage.math.washington.edu/home/mvngu/release/sage-4.1.1.rc1-sage.math.washington.edu-x86_64-Linux.tar.gz

and the upgrade path is

http://sage.math.washington.edu/home/mvngu/release/sage-4.1.1.rc1/

The following tests *all* fail on OS X 10.5 PPC:



        sage -t -long "devel/sage/sage/misc/sagedoc.py"
        sage -t -long "devel/sage/sage/rings/number_field/totallyreal_rel.py"
        sage -t -long "devel/sage/sage/schemes/elliptic_curves/ell_rational_field.py"
        sage -t -long "devel/sage/sage/server/simple/twist.py"
        sage -t -long "devel/sage/sage/symbolic/expression.pyx"
Total time for all tests: 19669.6 seconds


The complete test log is here:

http://sage.math.washington.edu/home/wstein/tmp/testlong.log

William

Message has been deleted

John H Palmieri

unread,
Aug 6, 2009, 3:14:03 PM8/6/09
to sage-release
On Aug 5, 1:23 pm, Minh Nguyen <nguyenmi...@gmail.com> wrote:
> Hi William,
>
> On Thu, Aug 6, 2009 at 4:12 AM, William Stein<wst...@gmail.com> wrote:
>
> <SNIP>
>
> > The following tests *all* fail on OS X 10.5 PPC:
>
> >         sage -t -long "devel/sage/sage/misc/sagedoc.py"
>
> *** Begin doctest ***
>
> sage -t -long "devel/sage/sage/misc/sagedoc.py"
> **********************************************************************
> File "/Users/wstein/build/sage-4.1.1.rc1/devel/sage/sage/misc/sagedoc.py",
> line 360:
>     sage: 'abvar/homology' in _search_src_or_doc('doc', 'homology',
> 'variety', interact=False)
> Expected:
>     True
> Got:
>     False
> **********************************************************************
> 1 items had failures:
>    1 of   7 in __main__.example_5
> ***Test Failed*** 1 failures.
> For whitespace errors, see the file
> /Users/wstein/build/sage-4.1.1.rc1/tmp/.doctest_sagedoc.py
>          [65.7 s]
>
> *** End doctest ***
>
> I suspect this failure is because the documentation (especially the
> reference manual) fails to successfully build at all. And the
> reference manual fails to build due to the current Sphinx spkg using a
> feature from Python 2.5.x and Sage has switched to the Python 2.6.x
> series. So once we resolve ticket #6586
>
> http://trac.sagemath.org/sage_trac/ticket/6586
>
> the reference manual should successfully build again (fingers crossed).

You probably saw my messages about this in sage-devel, but for me, on
several different platforms, applying the patch at #6674 (removing non-
ascii characters from graph.py) fixed this problem: I could build the
reference manual, and then sagedoc.py passed its tests.

There is another problem, though: cliquer doesn't seem to be
compatible with 64-bit OS X: see #6681.

John
Reply all
Reply to author
Forward
0 new messages