#9808: Upgrade numpy to 1.5.0 and scipy to 0.8
--------------------------------------------------------------------------------------------------+
Reporter: maldun
| Owner: maldun
Type: task
| Status: needs_work
Priority: major
| Milestone: sage-4.6
Component: packages
| Keywords: numpy, scipy
Author: Stefan Reiterer, Francois Bissey, John Palmieri, David Kirkby,
Karl-Dieter Crisman | Upstream: Fixed upstream, but not in a stable
release.
Reviewer: Karl-Dieter Crisman, David Kirkby, Leif Leonhardy, Francois
Bissey | Merged:
Work_issues:
|
--------------------------------------------------------------------------------------------------+
Changes (by jhpalmieri):
* status: needs_review => needs_work
Comment:
I built this on a unix box (eno), an OS X 10.6 box, an !OpenSolaris box
(hawk), and a Solaris on x86 box (fulvia). (By "built", I mean I built
from scratch based on Sage 4.6.alpha3, replacing the numpy and scipy
packages with the ones on this ticket, and I also applied the doctest
patch.)
- On some machines, the doctest patch didn't apply cleanly: the patch to
doc/en/faq/faq-usage.rst didn't apply, because it seems to already have
been applied. Maybe the tar file for 4.6.alpha3 changed? The patch
didn't apply cleanly on the machines where I downloaded it more recently.
- On linux, all tests passed.
- On Mac and !OpenSolaris, two doctest failures:
{{{
sage -t -long -force_lib devel/sage/sage/matrix/matrix1.pyx
**********************************************************************
File "/Applications/sage_builds/numpy/sage-4.6.alpha3/devel/sage-
main/sage/matrix/matrix1.pyx", line 448:
sage: sorted(numpy.typecodes.items())
Expected:
[('All', '?bhilqpBHILQPfdgFDGSUVOMm'), ('AllFloat', 'fdgFDG'),
('AllInteger', 'bBhHiIlLqQpP'), ('Character', 'c'), ('Complex', 'FDG'),
('Datetime', 'Mm'), ('Float', 'fdg'), ('Integer', 'bhilqp'),
('UnsignedInteger', 'BHILQP')]
Got:
[('All', '?bhilqpBHILQPfdgFDGSUVO'), ('AllFloat', 'fdgFDG'),
('AllInteger', 'bBhHiIlLqQpP'), ('Character', 'c'), ('Complex', 'FDG'),
('Float', 'fdg'), ('Integer', 'bhilqp'), ('UnsignedInteger', 'BHILQP')]
**********************************************************************
}}}
and
{{{
sage -t -long -force_lib devel/sage/sage/misc/citation.pyx
**********************************************************************
File "/Applications/sage_builds/numpy/sage-4.6.alpha3/devel/sage-
main/sage/misc/citation.pyx", line 60:
sage: get_systems('integrate(x^2, x)')
Expected:
['ginac', 'Maxima']
Got:
['numpy', 'ginac', 'Maxima']
**********************************************************************
File "/Applications/sage_builds/numpy/sage-4.6.alpha3/devel/sage-
main/sage/misc/citation.pyx", line 64:
sage: get_systems('I.primary_decomposition()')
Expected:
['Singular']
Got:
['Singular', 'numpy']
**********************************************************************
}}}
- the bad news: scipy doesn't build on fulvia. After listing all of the
files extracted, this is basically all of the log file:
{{{
Finished extraction
****************************************************
Host system
uname -a:
SunOS fulvia 5.10 Generic_127128-11 i86pc i386 i86pc
****************************************************
****************************************************
CC Version
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc-4.5.1/x86_64-SunOS-core2-sun-
ld/libexec/gcc/i386-pc-solaris2.10\
/4.5.1/lto-wrapper
Target: i386-pc-solaris2.10
Configured with: /usr/local/gcc-4.5.1/src/gcc-4.5.1/configure --enable-
languages=c,c++,fortran --w\
ith-gnu-as --with-as=/usr/local/binutils-2.20.1/x86_64-SunOS-
core2-gcc-4.4.3/bin/as --with-ld=/usr\
/ccs/bin/ld --with-gmp=/usr/local/gmp-5.0.1/x86_64-SunOS-
core2-gcc-4.5.0-abi32 --with-mpfr=/usr/lo\
cal/mpfr-3.0.0/x86_64-SunOS-core2-gmp-5.0.1-gcc-4.5.0-abi32 --with-
mpc=/usr/local/mpc-0.8.2/x86_64\
-SunOS-core2-mpfr-3.0.0-gmp-5.0.1-gcc-4.5.0-abi32
--prefix=/usr/local/gcc-4.5.1/x86_64-SunOS-core2\
-sun-ld
Thread model: posix
gcc version 4.5.1 (GCC)
****************************************************
./spkg-install: LDFLAGS=-shared: is not an identifier
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9808#comment:279>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.