sfepy/sfepy — Issue #122: scipy.linsolve gives depreciation warning
Author: rc
Created: 2012-01-30 10:26:44+00:00
State: open

grassy@workdog:~/sfepy_dev/sfepy$ ./simple.py -q ./pyfem/its2Df.py
/usr/lib/python2.6/dist-packages/scipy/linsolve/__init__.py:4:
DeprecationWarning: scipy.linsolve has moved to scipy.sparse.linalg.dsolve
warn('scipy.linsolve has moved to scipy.sparse.linalg.dsolve',
DeprecationWarning)

Migrated from http://code.google.com/p/sfepy/issues/detail?id=120

earlier comments

robert.cimrman said, at 2010-04-21T12:52:22.000Z:

This could be silenced from your its2Df.py using [1].

Brute force way: put this at the beginning of your file:

import warnings; warnings.filterwarnings('ignore')

I am not sure what scipy versions people use, so I would rather not used the new
interface yet.

[1] http://docs.python.org/library/warnings.html

freevryheid said, at 2010-04-22T01:58:30.000Z:

gotcha