Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DepreciationWarning and new release #73

Open
MoiseRousseau opened this issue Nov 1, 2023 · 0 comments
Open

DepreciationWarning and new release #73

MoiseRousseau opened this issue Nov 1, 2023 · 0 comments

Comments

@MoiseRousseau
Copy link

I installed PRIMME Python interface from this repo:

git clone https://github.com/primme/primme
cd primme
make
cd Python
pip install .

However, when running example.py, I got into the warning:

DeprecationWarning: Please use `aslinearoperator` from the `scipy.sparse.linalg` namespace, the `scipy.sparse.linalg.interface` namespace is deprecated.

To fix it, changing the scipy.sparse.linalg.interface to scipy.sparse.linalg in primme.c and primme.pyx fixes the problem, something such as:

sed -i 's/scipy\.sparse\.linalg\.interface/scipy\.sparse\.linalg/g' primme.c primme.pyx

Can you fix the problem on the repo ? Also, can you create a new release on GitHub with the latest development ?

Moise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant