[Python-modules-team] Bug#519440: python-scipy: take care about deprecation warnings from numpy

Ondrej Certik ondrej at certik.cz
Thu Mar 12 17:35:23 UTC 2009


On Thu, Mar 12, 2009 at 10:17 AM, Yaroslav Halchenko
<debian at onerussian.com> wrote:
> Package: python-scipy
> Version: 0.6.0-12
> Severity: normal
>
> Any code which uses scipy and numpy on debian sid now provokes a flood of deprecation warnings like:
>
> In [1]:import scipy
> /usr/lib/python2.5/site-packages/scipy/misc/__init__.py:25: DeprecationWarning: NumpyTest will be removed in the next release; please update your code to use nose or unittest
>  test = NumpyTest().test
>
> In [4]:mimport scipy.linalg
> /usr/lib/python2.5/site-packages/scipy/linalg/__init__.py:32: DeprecationWarning: NumpyTest will be removed in the next release; please update your code to use nose or unittest
>  test = NumpyTest().test
>
>
> and more of scipy you import more you get of those... why should I
> care about receiving these ones if I don't use NumpyTest per se?
>
> If you are aware of this issue I would humbly appreciate if some
> action is taken... my little mind finds only a cruel suggestion to wrap
> those test instantiations within

Thanks for the bug report, indeed, this is extremely annoying.

I am aware of this, but I don't have time to fix it. I would
appreciate if you could help us with it. We just need to patch numpy
so that it doesn't emmit those warnings. Or patch scipy.

Thanks for any work you do,
Ondrej





More information about the Python-modules-team mailing list