[SciPy-dev] make 0.7.0b1 lintian clean

Ondrej Certik ondrej@certik...
Mon Dec 8 11:23:52 CST 2008


On Mon, Dec 8, 2008 at 5:31 PM, Ondrej Certik <ondrej@certik.cz> wrote:
> Hi,
>
> I am testing the debian packaging of 0.7.0b1 and lintian says:
>
> $ lintian python-scipy_0.7.0b1-1_amd64.changes
> W: python-scipy: unusual-interpreter
> ./usr/share/pyshared/scipy/sparse/linalg/eigen/lobpcg/tests/test_lobpcg.py
> #!pytho
> W: python-scipy: executable-not-elf-or-script
> ./usr/share/pyshared/scipy/io/matlab/tests/gen_mat5files.m
> W: python-scipy: executable-not-elf-or-script
> ./usr/share/pyshared/scipy/io/matlab/tests/gen_mat4files.m
> W: python-scipy: executable-not-elf-or-script
> ./usr/share/pyshared/scipy/io/matlab/tests/save_matfile.m
>
> The attached patch fixes this in the scipy trunk. If you agree, please apply.
>
> You can also pull from here:
>
> http://github.com/certik/scipy/tree/ondrej
>
> I am now compiling numpy 1.2.0 necessary to run scipy, I'll report
> back. If I have time, I'll try to send svn di commits as well.

Ok, so all tests in numpy 1.2.1 pass and one test in scipy 0.7.0b1 fail:

======================================================================
FAIL: test_pbdv (test_basic.TestCephes)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/scipy/special/tests/test_basic.py",
line 357, in test_pbdv
    assert_equal(cephes.pbdv(1,0),(0.0,0.0))
  File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line
176, in assert_equal
    assert_equal(actual[k], desired[k], 'item=%r\n%s' % (k,err_msg), verbose)
  File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line
183, in assert_equal
    raise AssertionError(msg)
AssertionError:
Items are not equal:
item=1

 ACTUAL: 1.0
 DESIRED: 0.0

----------------------------------------------------------------------
Ran 2973 tests in 289.632s

FAILED (KNOWNFAIL=2, SKIP=12, failures=1)
Out[2]: <nose.result.TextTestResult run=2973 errors=0 failures=1>






Ondrej


More information about the Scipy-dev mailing list