sagemath/sage

Fix deprecation warning with scipy 1.8.

Closed this issue · 6 comments

Component: packages: standard

Author: Antonio Rojas

Branch/Commit: 9c8235e

Reviewer: Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/33336

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:

9c8235eFix deprecation warning with scipy 1.8

Author: Antonio Rojas

Reviewer: Matthias Koeppe