Fix deprecation warning with scipy 1.8.
Closed this issue · 6 comments
antonio-rojas commented
Component: packages: standard
Author: Antonio Rojas
Branch/Commit: 9c8235e
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/33336
antonio-rojas commented
antonio-rojas commented
comment:2
Fixes
**********************************************************************
File "/usr/lib/python3.10/site-packages/sage/tests/books/computational-mathematics-with-sagemath/linsolve_doctest.py", line 359, in sage.tests.books.computational-mathematics-with-sagemath.linsolve_doctest
Failed example:
from scipy.sparse.linalg.dsolve import *
Expected nothing
Got:
[...]
DeprecationWarning: Please use `MatrixRankWarning` from the `scipy.sparse.linalg` namespace, the `scipy.sparse.linalg.eigen` namespace is deprecated.
doctest:warning
[...]
New commits:
9c8235e | Fix deprecation warning with scipy 1.8 |
antonio-rojas commented
Author: Antonio Rojas
antonio-rojas commented
Commit: 9c8235e
mkoeppe commented
Reviewer: Matthias Koeppe
vbraun commented
Changed branch from u/arojas/fix_deprecation_warning_with_scipy_1_8_ to 9c8235e