[SciPy-dev] 0.7 release schedule

Nils Wagner nwagner@iam.uni-stuttgart...
Sat Jun 21 05:06:45 CDT 2008


On Sat, 21 Jun 2008 04:39:26 -0500
  "Nathan Bell" <wnbell@gmail.com> wrote:
> On Sat, Jun 21, 2008 at 3:16 AM, Nils Wagner
> <nwagner@iam.uni-stuttgart.de> wrote:
>>
>> P.S. There are still some annoying test errors/failures 
>>in
>> current svn
>>
>> http://projects.scipy.org/scipy/scipy/ticket/611
> 
> Should be fixed in r4455
> 
>> http://projects.scipy.org/scipy/scipy/ticket/584
> 
> I have no idea how to solve this one
> 
>> http://projects.scipy.org/scipy/scipy/ticket/586
> 
> It appears that the _bspline extension module is being 
>built (or
> rather not being built) with weave in a fairly 
>convoluted manner.
> 
>> http://projects.scipy.org/scipy/scipy/ticket/587
> 
> I suspect the self.axis = ..... on line 100 is the 
>source of the
> error.  It sets axis to an array of floats, which is 
>certainly wrong.
> 
> I tried replacing self.axis with 'mu' but that failed 
>too.  I have no
> idea what the code is doing.
> 
> 
> -- 
> Nathan Bell wnbell@gmail.com
> http://graphics.cs.uiuc.edu/~wnbell/
  
Hi Nathan,

Here comes the output of scipy.test() '0.7.0.dev4455'

======================================================================
ERROR: test_mio.test_gzip_simple
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/nose-0.10.3-py2.4.egg/nose/case.py", 
line 182, in runTest
     self.test(*self.arg)
   File 
"/usr/lib/python2.4/site-packages/scipy/io/matlab/tests/test_mio.py", 
line 263, in test_gzip_simple
     actual = loadmat(mat_stream)
   File 
"/usr/lib/python2.4/site-packages/scipy/io/matlab/mio.py", 
line 96, in loadmat
     matfile_dict = MR.get_variables()
   File 
"/usr/lib/python2.4/site-packages/scipy/io/matlab/miobase.py", 
line 270, in get_variables
     getter = self.matrix_getter_factory()
   File 
"/usr/lib/python2.4/site-packages/scipy/io/matlab/mio4.py", 
line 199, in matrix_getter_factory
     return self._array_reader.matrix_getter_factory()
   File 
"/usr/lib/python2.4/site-packages/scipy/io/matlab/mio4.py", 
line 66, in matrix_getter_factory
     header['name'] = self.read_ztstring(data['namlen'])
   File 
"/usr/lib/python2.4/site-packages/scipy/io/matlab/miobase.py", 
line 81, in read_ztstring
     return self.mat_stream.read(num_bytes).strip('\x00')
   File "/usr/lib/python2.4/gzip.py", line 230, in read
     chunk = self.extrabuf[:size]
TypeError: slice indices must be integers

======================================================================
ERROR: Failure: ImportError (cannot import name _bspline)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/nose-0.10.3-py2.4.egg/nose/loader.py", 
line 363, in loadTestsFromName
     module = self.importer.importFromPath(
   File 
"/usr/lib/python2.4/site-packages/nose-0.10.3-py2.4.egg/nose/importer.py", 
line 39, in importFromPath
     return self.importFromDir(dir_path, fqname)
   File 
"/usr/lib/python2.4/site-packages/nose-0.10.3-py2.4.egg/nose/importer.py", 
line 84, in importFromDir
     mod = load_module(part_fqname, fh, filename, desc)
   File 
"/usr/lib/python2.4/site-packages/scipy/stats/models/tests/test_bspline.py", 
line 9, in ?
     import scipy.stats.models.bspline as B
   File 
"/usr/lib/python2.4/site-packages/scipy/stats/models/bspline.py", 
line 23, in ?
     from scipy.stats.models import _bspline
ImportError: cannot import name _bspline

======================================================================
ERROR: test_huber (test_scale.TestScale)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/stats/models/tests/test_scale.py", 
line 35, in test_huber
     m = scale.huber(X)
   File 
"/usr/lib/python2.4/site-packages/scipy/stats/models/robust/scale.py", 
line 82, in __call__
     for donothing in self:
   File 
"/usr/lib/python2.4/site-packages/scipy/stats/models/robust/scale.py", 
line 102, in next
     scale = N.sum(subset * (a - mu)**2, axis=self.axis) / 
(self.n * Huber.gamma - N.sum(1. - subset, axis=self.axis) 
* Huber.c**2)
   File 
"/usr/lib/python2.4/site-packages/numpy/core/fromnumeric.py", 
line 994, in sum
     return sum(axis, dtype, out)
TypeError: only length-1 arrays can be converted to Python 
scalars

======================================================================
ERROR: test_huberaxes (test_scale.TestScale)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/stats/models/tests/test_scale.py", 
line 40, in test_huberaxes
     m = scale.huber(X, axis=0)
   File 
"/usr/lib/python2.4/site-packages/scipy/stats/models/robust/scale.py", 
line 82, in __call__
     for donothing in self:
   File 
"/usr/lib/python2.4/site-packages/scipy/stats/models/robust/scale.py", 
line 102, in next
     scale = N.sum(subset * (a - mu)**2, axis=self.axis) / 
(self.n * Huber.gamma - N.sum(1. - subset, axis=self.axis) 
* Huber.c**2)
   File 
"/usr/lib/python2.4/site-packages/numpy/core/fromnumeric.py", 
line 994, in sum
     return sum(axis, dtype, out)
TypeError: only length-1 arrays can be converted to Python 
scalars

======================================================================
FAIL: test_imresize (test_pilutil.TestPILUtil)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/testing/decorators.py", 
line 81, in skipper
     return f(*args, **kwargs)
   File 
"/usr/lib/python2.4/site-packages/scipy/misc/tests/test_pilutil.py", 
line 25, in test_imresize
     assert_equal(im1.shape,(11,22))
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 137, in assert_equal
     assert_equal(len(actual),len(desired),err_msg,verbose)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 145, in assert_equal
     assert desired == actual, msg
AssertionError:
Items are not equal:
  ACTUAL: 0
  DESIRED: 2

======================================================================
FAIL: test_autoalign_nmi_value_2
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/ndimage/tests/test_registration.py", 
line 176, in test_autoalign_nmi_value_2
     assert_almost_equal(cost, -1.7973048186515352, 
decimal=6)
   File 
"/usr/lib/python2.4/site-packages/numpy/testing/utils.py", 
line 158, in assert_almost_equal
     assert round(abs(desired - actual),decimal) == 0, msg
AssertionError:
Items are not equal:
  ACTUAL: -1.797321600138216
  DESIRED: -1.7973048186515352

======================================================================
FAIL: test_namespace (test_formula.TestFormula)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/lib/python2.4/site-packages/scipy/stats/models/tests/test_formula.py", 
line 119, in test_namespace
     self.assertEqual(xx.namespace, Y.namespace)
AssertionError: {} != {'Y': array([ 0,  2,  4,  6,  8, 10, 
12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 
40,
        42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 
66, 68, 70, 72, 74, 76, 78, 80, 82,
        84, 86, 88, 90, 92, 94, 96, 98]), 'X': array([ 0, 
 1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 
15, 16, 17, 18, 19, 20,
        21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 
33, 34, 35, 36, 37, 38, 39, 40, 41,
        42, 43, 44, 45, 46, 47, 48, 49])}

----------------------------------------------------------------------
Ran 2259 tests in 178.150s

FAILED (errors=4, failures=3)
>>>
>>>
>>> scipy.__version__
'0.7.0.dev4455'


More information about the Scipy-dev mailing list