[SciPy-user] failurs with running scipy inplace
josef.pktd at gmail.com
josef.pktd at gmail.com
Sat Apr 11 14:17:45 EDT 2009
I was trying to see if working inplace with bzr branches, can improve
the workflow, but I got some errors that I'm not sure are because of
my setup or "real"
I did python setup.py build_ext -i
and added it to the python path
scipy.stsci doesn't have a proper package structure in the source
tree, no __init__.py in convolve and image. there are no problems with
a regular, non-inplace build
I don't know anything about the other test failures, and I would like
to know if someone else also gets these or if they are setup specific.
working from a bzr branch doesn't add the revision number
Josef
>>> scipy.test()
Running unit tests for scipy
NumPy version 1.3.0b1
NumPy is installed in c:\programs\python25\lib\site-packages\numpy
SciPy version 0.8.0.dev
SciPy is installed in C:\Josef\eclipsegworkspace\scipy-branch\scipy
======================================================================
ERROR: Failure: ImportError (No module named convolve)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\programs\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\loader
.py", line 364, in loadTestsFromName
addr.filename, addr.module)
File "c:\programs\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\import
er.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "c:\programs\python25\lib\site-packages\nose-0.10.4-py2.5.egg\nose\import
er.py", line 84, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "C:\Josef\eclipsegworkspace\scipy-branch\scipy\stsci\__init__.py", line 1
, in <module>
import convolve
ImportError: No module named convolve
======================================================================
FAIL: test whether all methods converge
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Josef\eclipsegworkspace\scipy-branch\scipy\sparse\linalg\isolve\tests
\test_iterative.py", line 101, in test_convergence
assert_equal(info,0)
File "C:\Programs\Python25\Lib\site-packages\numpy\testing\utils.py", line 190
, in assert_equal
raise AssertionError(msg)
AssertionError:
Items are not equal:
ACTUAL: -10
DESIRED: 0
======================================================================
FAIL: test whether maxiter is respected
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Josef\eclipsegworkspace\scipy-branch\scipy\sparse\linalg\isolve\tests
\test_iterative.py", line 82, in test_maxiter
assert_equal(len(residuals), 3)
File "C:\Programs\Python25\Lib\site-packages\numpy\testing\utils.py", line 190
, in assert_equal
raise AssertionError(msg)
AssertionError:
Items are not equal:
ACTUAL: 1
DESIRED: 3
======================================================================
FAIL: test whether all methods accept a trivial preconditioner
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Josef\eclipsegworkspace\scipy-branch\scipy\sparse\linalg\isolve\tests
\test_iterative.py", line 132, in test_precond
assert_equal(info,0)
File "C:\Programs\Python25\Lib\site-packages\numpy\testing\utils.py", line 190
, in assert_equal
raise AssertionError(msg)
AssertionError:
Items are not equal:
ACTUAL: -10
DESIRED: 0
======================================================================
FAIL: test_yv_cephes_vs_amos (test_basic.TestBessel)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Josef\eclipsegworkspace\scipy-branch\scipy\special\tests\test_basic.p
y", line 1664, in test_yv_cephes_vs_amos
self.check_cephes_vs_amos(yv, yn, rtol=1e-11, atol=1e-305)
File "C:\Josef\eclipsegworkspace\scipy-branch\scipy\special\tests\test_basic.p
y", line 1653, in check_cephes_vs_amos
assert c2.imag != 0, (v, z)
AssertionError: (301, 1.0)
----------------------------------------------------------------------
Ran 3514 tests in 69.891s
FAILED (KNOWNFAIL=2, SKIP=29, errors=1, failures=4)
<nose.result.TextTestResult run=3514 errors=1 failures=4>
More information about the SciPy-User
mailing list