Sage 4.2.alpha1 released

6 views
Skip to first unread message

Mike Hansen

unread,
Oct 23, 2009, 6:14:25 AM10/23/09
to sage-release, sage-devel
Hello all,

Sage 4.2.alpha1 is out. Source and binary areavailable at

http://sage.math.washington.edu/home/mhansen/release/4.2/alpha1/sage-4.2.alpha1.tar
http://sage.math.washington.edu/home/mhansen/release/4.2/alpha1/sage-4.2.alpha1-sage.math.washington.edu-x86_64-Linux.tar.gz

The upgrade path is

http://sage.math.washington.edu/home/mhansen/release/4.2/alpha1/sage-4.2.alpha1

Tickets merged in 4.2.alpha1:

#6579: David Kirkby: Error building 'modified sage library code' when
including paripriv.h [Reviewed by Mike Hansen]
#7257: William Stein: spike_functions has numerical noise on powerpc
(followup to #6891) [Reviewed by Mike Hansen]
#7263: Mitesh Patel: sage-4.2: jmol plotting on the command line is
completely broken [Reviewed by William Stein]
#5038: Sebastien Labbe: Add support for word path [Reviewed by Mike
Hansen, Franco Saliola]
#5092: William Stein: Primes()?? gets hung in len call; also bring
coverage to 100% for primes.py [Reviewed by Mike Hansen, Karl-Dieter
Crisman]
#5596: Robert Bradshaw: refactor coercion to catch fewer exceptions
[Reviewed by Nicolas M. Thiéry, Mike Hansen]
#5597: Robert Bradshaw: Rename coercion action methods [Reviewed by
Nicolas M. Thiéry]
#5598: Robert Bradshaw: allow post-creation (pre-use) declaration of
coercions [Reviewed by Nick Alexander]
#6809: Nicolas M. Thiéry: abstract_methods_of_class [Reviewed by Florent Hivert]
#7012: Nathann Cohen: clean up sage/numerical/mip.pyx [Reviewed by
Mike Hansen, Minh Van Nguyen]
#7049: Nathann Cohen: GLPK, just minor changes [Reviewed by Minh Van Nguyen]
#7122: Mike Hansen: plot real part and imaginary part of function
sqrt. [Reviewed by Karl-Dieter Crisman]
#7123: Minh Van Nguyen: cryptanalysis of the shift cipher [Reviewed by
Rob Beezer, Mike Hansen]
#7209: Nicolas M. Thiéry: Make `sage -coverage` aware of TestSuite
[Reviewed by Florent Hivert]
#7236: Florent Hivert: Partitions cleanup (box => cell +
indentation fix) [Reviewed by Nicolas M. Thiéry]
#7245: Mike Hansen: sage -merge misses positively reviewed tickets
[Reviewed by Dan Drake]
#7246: Nathann Cohen: digraph.DeBruijn in graph_generators [Reviewed
by Sebastien Labbe]
#7251: Nicolas M. Thiéry: Allow for Integer(3, parent = MyParent)
[Reviewed by Mike Hansen]
#7252: John Palmieri: fix spkg/install [Reviewed by Dan Drake]
#7259: Nicolas M. Thiéry: Revert Sets().category() from Sets() to
Objects() [Reviewed by Mike Hansen]
#6291: Jerome Lefebvre: Missing identity function in AbelianGroup
[Reviewed by Rob Beezer]
#6455: Chris Wuthrich: Bug in twisting for p_primary_bound on
Tate-Shafarevich groups [Reviewed by John Cremona]
#6886: Christian Wuthrich: Elliptic curve isogeny checking can be
expensive [Reviewed by John Cremona]
#6935: Karl-Dieter Crisman: Improve documentation for plots with new
axis code [Reviewed by Jason Grout]
#7077: Alex Ghitza: variables() inconsistently returns a list or tuple
[Reviewed by Karl-Dieter Crisman]
#7228: Anders Jonsson: Generalized Petersen graph generator [Reviewed
by Nathann Cohen]
#7265: Mariah Lenox: typo in symbolic/expression.pyx [Reviewed by Burcin Erocal]

Tests are running on the build farm and skynet. Assuming that they
all run smoothly, this (along with a new sagenb spkg) will be 4.2
final.

--Mike

Jaap Spies

unread,
Oct 23, 2009, 2:57:12 PM10/23/09
to sage-...@googlegroups.com

Upgrading from alpha0 went with hickups, tests on Fedora 11. 32 bits:


sage -t "devel/sage/doc/en/tutorial/tour_algebra.rst"
**********************************************************************
File "/home/jaap/downloads/sage-4.2.alpha0/devel/sage/doc/en/tutorial/tour_algebra.rst", line 87:
sage: find_root(cos(phi)==sin(phi),0,pi/2)
Expected:
0.78539816339744839
Got:
0.78539816339744828
**********************************************************************
1 items had failures:

Same as in alpha0! No ticket yet?

Jaap

Georg S. Weber

unread,
Oct 23, 2009, 2:59:56 PM10/23/09
to sage-devel
Hi,

Sage-4.2.alpha1 doesn't build on my MacIntel OS X 10.4.11, more
precisely the "pil-1.1.6" spkg does not build, highlights:

...
running build_ext
--- using frameworks at /System/Library/Frameworks
building '_imaging' extension
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -DHAVE_LIBJPEG -DHAVE_LIBZ -I/System/Library/Frameworks/
Tcl.framework/Headers -I/System/Library/Frameworks/Tk.framework/
Headers -I/Users/Shared/sage/sage-4.2.alpha1/local/include/freetype2 -
IlibImaging -I/opt/local/include -I/Users/Shared/sage/sage-4.2.alpha1/
local/include -I/usr/local/include -I/usr/include -I/Users/Shared/sage/
sage-4.2.alpha1/local/include/python2.6 -c decode.c -o build/
temp.macosx-10.3-i386-2.6/decode.o
In file included from decode.c:653:
libImaging/Jpeg.h:11:21: error: jpeglib.h: No such file or directory
In file included from decode.c:653:
libImaging/Jpeg.h:17: error: field 'pub' has incomplete type
libImaging/Jpeg.h:26: error: field 'pub' has incomplete type
libImaging/Jpeg.h:49: error: field 'cinfo' has incomplete type
libImaging/Jpeg.h:62: error: field 'pub' has incomplete type
libImaging/Jpeg.h:90: error: field 'cinfo' has incomplete type
error: command 'gcc' failed with exit status 1


The full install.log is at http://sage.math.washington.edu/home/weberg/logs/sage-4.2.alpha1_install.log

Before, e.g. Sage-4.1.2.alpha4 had been building without problems on
this system.
Any ideas?
Should I open a ticket?

Cheers,
Georg

John Cremona

unread,
Oct 23, 2009, 4:02:06 PM10/23/09
to sage-...@googlegroups.com
Built from source and all tests pass on 32-bit ubuntu and 64-bit ubuntu.

John

2009/10/23 Mike Hansen <mha...@gmail.com>:

kcrisman

unread,
Oct 23, 2009, 4:13:42 PM10/23/09
to sage-devel

Upgraded fine from alpha0 on Intel OSX 10.5.

- kcrisman

Georg S. Weber

unread,
Oct 23, 2009, 4:56:08 PM10/23/09
to sage-devel
Hi,

I digged a bit around, and the problem with the newly added
"pil-1.1.6.spkg" is even greater than I thought at first. See trac
ticket #7273 for more details. I'm not inclined to work on this,
however.

Cheers,
Georg

mhampton

unread,
Oct 23, 2009, 5:36:06 PM10/23/09
to sage-devel
Built from source on a 10.4.11 intel mac. All tests passed except
for

sage -t "devel/sage/sage/server/notebook/cell.py"
**********************************************************************
File "/Volumes/E/sage-4.2.alpha1/devel/sage/sage/server/notebook/
cell.py", line 1601:
sage: C.introspect_html()
Expected:
'<div class="docstring">...<span class="math">foobar</span>...</
div>'
Got:
'<pre class="introspection">`foobar`</pre>'
**********************************************************************
1 items had failures:
1 of 13 in __main__.example_71
***Test Failed*** 1 failures.

...which is a known issue, perhaps fixed in #7078? That is marked as
closed but I guess not applied in this alpha.

-Marshall

On Oct 23, 5:14 am, Mike Hansen <mhan...@gmail.com> wrote:
> Hello all,
>
> Sage 4.2.alpha1 is out. Source and binary areavailable at
>
> http://sage.math.washington.edu/home/mhansen/release/4.2/alpha1/sage-...http://sage.math.washington.edu/home/mhansen/release/4.2/alpha1/sage-...
>
> The upgrade path is
>
> http://sage.math.washington.edu/home/mhansen/release/4.2/alpha1/sage-...

John H Palmieri

unread,
Oct 23, 2009, 5:45:38 PM10/23/09
to sage-devel
On Oct 23, 11:57 am, Jaap Spies <j.sp...@hccnet.nl> wrote:
> Mike Hansen wrote:
> > Hello all,
>
> > Sage 4.2.alpha1 is out.  Source and binary areavailable at
>
> >http://sage.math.washington.edu/home/mhansen/release/4.2/alpha1/sage-...
> >http://sage.math.washington.edu/home/mhansen/release/4.2/alpha1/sage-...
>
> > The upgrade path is
>
> >http://sage.math.washington.edu/home/mhansen/release/4.2/alpha1/sage-...
>
> Upgrading from alpha0 went with hickups, tests on Fedora 11. 32 bits:
>
> sage -t  "devel/sage/doc/en/tutorial/tour_algebra.rst"
> **********************************************************************
> File "/home/jaap/downloads/sage-4.2.alpha0/devel/sage/doc/en/tutorial/tour_algeb ra.rst", line 87:
>      sage: find_root(cos(phi)==sin(phi),0,pi/2)
> Expected:
>      0.78539816339744839
> Got:
>      0.78539816339744828
> **********************************************************************
> 1 items had failures:
>
> Same as in alpha0! No ticket yet?

I assume this is a 32-bit vs. 64-bit issue or something similar. Try
this:

<http://trac.sagemath.org/sage_trac/ticket/7275>

John

William Stein

unread,
Oct 23, 2009, 8:01:29 PM10/23/09
to sage-...@googlegroups.com
Build report for sage-4.2.alpha1:

* Cygwin: Error building sqlite. (i.e., Sage gets essentially nowhere).
No released sage has ever been built on this machine.

* sage.math (ubuntu 64-bit): Builds fine and all tests pass

* OS X 10.6: Builds fine, but all of the following tests fail:
sage -t -long "devel/sage/sage/calculus/calculus.py"
sage -t -long "devel/sage/sage/calculus/tests.py"
sage -t -long "devel/sage/sage/calculus/wester.py"
sage -t -long "devel/sage/sage/functions/hyperbolic.py"
sage -t -long "devel/sage/sage/functions/other.py"
sage -t -long "devel/sage/sage/functions/trig.py"
sage -t -long "devel/sage/sage/gsl/interpolation.pyx"
sage -t -long "devel/sage/sage/interfaces/sage0.py"
sage -t -long "devel/sage/sage/matrix/matrix_symbolic_dense.pyx"
sage -t -long "devel/sage/sage/rings/polynomial/pbori.pyx"
sage -t -long "devel/sage/sage/symbolic/constants.py"
sage -t -long "devel/sage/sage/symbolic/expression.pyx"
sage -t -long "devel/sage/sage/symbolic/function.pyx"

* Atom N270 with Ubuntu Linux: builds fine, testing isn't done yet,
but nothing failed so far.

* OS X 10.5 PPC G5: builds fine, testing isn't done yet

* Itanium RHEL 5: Fails to build with Fortan compiler error in prereq
script, which is good because the Fortran install on that machine had
changed systemwide, so I had to update my environment variables. Now
build testing.

* Itanium SUSE: Fails building Cython symmetrica extension in the
Sage library:
gcc -pthread -shared
build/temp.linux-ia64-2.6/sage/libs/symmetrica/symmetrica.o
-L/home/wstein/screen/iras/build/sage-4.2.alpha1/local//lib -lcsage
-lsymmetrica -lstdc++ -lntl -o
build/lib.linux-ia64-2.6/sage/libs/symmetrica/symmetrica.so
/usr/local/binutils-2.19.1/ia64-Linux-suse-gcc-4.3.3/bin/ld:
/home/wstein/screen/iras/build/sage-4.2.alpha1/local//lib/libsymmetrica.a(mee.o):
Can't relax br (PCREL21B) to `freeself_matrix' at 0x34382 in section
`.text' with size 0x62490 (> 0x1000000).
/usr/local/binutils-2.19.1/ia64-Linux-suse-gcc-4.3.3/bin/ld: final
link failed: Nonrepresentable section on output

This looks like another issue with the compiler environment changing.
I have no clue.

* eno on skynet: Fedora Core 9, one failure:
sage -t -long "devel/sage/sage/coding/guava.py"
A mysterious error (perhaps a memory error?) occurred, which may
have crashed doctest.
Rerunning the test many times doesn't yield that error again.

* disk.math.washington.edu: Open Solaris 11:
Fails building GNUTLS:
sage: An error occurred while installing gnutls-2.2.1.p4
Sage has never been built on this machine.

* OS X 10.4 PPC G5: Builds fine; still testing.

* On the build farm, only some have finished:

- debian64 -- no errors

- fedora64: two failures both "A mysterious error (perhaps a
memory error?) occurred, which may have crashed doctest." which might
just be the result of a heavily loaded system:

sage -t -long "devel/sage/doc/en/reference/modsym.rst"
sage -t -long "devel/sage/sage/categories/category_types.py"

- mandriva32, mandriva64: fail building Python

- opensuse64 -- no errors

- ubuntu32 -- no errors

SUMMARY:

Despite all issues mentioned above, so far sage-4.2.alpha1 seems
no worse than the released sage-4.1.2.

-- William

mhampton

unread,
Oct 24, 2009, 3:11:37 PM10/24/09
to sage-devel
All tests passed on my somewhat flaky AMD Turion TL-50 laptop, on
Ubuntu 9.04.

-Marshall

On Oct 23, 5:14 am, Mike Hansen <mhan...@gmail.com> wrote:
> Hello all,
>
> Sage 4.2.alpha1 is out.  Source and binary areavailable at
>
> http://sage.math.washington.edu/home/mhansen/release/4.2/alpha1/sage-...http://sage.math.washington.edu/home/mhansen/release/4.2/alpha1/sage-...
>
> The upgrade path is
>
> http://sage.math.washington.edu/home/mhansen/release/4.2/alpha1/sage-...
Reply all
Reply to author
Forward
0 new messages