#10887: Upgrade scipy to 0.9
------------------------+---------------------------------------------------
Reporter: jason | Owner: tbd
Type: task | Status: new
Priority: major | Milestone: sage-4.7
Component: packages | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Comment(by fbissey):
{{{
sage -t -long -force_lib "devel/sage/sage/numerical/test.py"
sage -t -long -force_lib "devel/sage/sage/numerical/test.py"
**********************************************************************
File "/usr/share/sage/devel/sage/sage/numerical/test.py", line 12:
sage: from scipy.sparse.linalg.eigen.arpack import speigs
Exception raised:
Traceback (most recent call last):
File "/usr/bin/ncadoctest.py", line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/usr/bin/sagedoctest.py", line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/usr/bin/ncadoctest.py", line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_0[10]>", line 1, in <module>
from scipy.sparse.linalg.eigen.arpack import speigs###line 12:
sage: from scipy.sparse.linalg.eigen.arpack import speigs
ImportError: cannot import name speigs
**********************************************************************
File "/usr/share/sage/devel/sage/sage/numerical/test.py", line 27:
sage: e,v=speigs.ARPACK_eigs(A.matvec,500,6,which='SM')
Exception raised:
Traceback (most recent call last):
File "/usr/bin/ncadoctest.py", line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/usr/bin/sagedoctest.py", line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/usr/bin/ncadoctest.py", line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_0[19]>", line 1, in <module>
e,v=speigs.ARPACK_eigs(A.matvec,Integer(500),Integer(6),which='SM')###line
27:
sage: e,v=speigs.ARPACK_eigs(A.matvec,500,6,which='SM')
NameError: name 'speigs' is not defined
**********************************************************************
File "/usr/share/sage/devel/sage/sage/numerical/test.py", line 28:
sage: e[0]*float(501/pi)**2
Exception raised:
Traceback (most recent call last):
File "/usr/bin/ncadoctest.py", line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/usr/bin/sagedoctest.py", line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/usr/bin/ncadoctest.py", line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_0[20]>", line 1, in <module>
e[Integer(0)]*float(Integer(501)/pi)**Integer(2)###line 28:
sage: e[0]*float(501/pi)**2
TypeError: 'sage.symbolic.constants_c.E' object does not support
indexing
**********************************************************************
}}}
From scipy-0.9 release notes
[http://docs.scipy.org/doc/scipy-0.9.0/reference/release.0.9.0.html] this
is probably a real problem as the arpack interface changed.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10887#comment:5>
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.