Filter warning from deprecated call in scipy
Filter warning from deprecated call in scipy

scipy.optimize.fmin_lbfgs_b calls the method numpy.ndarray.tostring in
SciPy 1.4, where tostring() has been deprecated since Numpy 1.19.  This
is the only function in scipy.optimize that makes the call, and since
Numpy 1.9 it's just been a wrapper around the tobytes() method.  We
can't change the behaviour of SciPy, and by the time we're supporting
the version of Numpy that removes tostring (at least Numpy 1.22), we'll
be able to drop support for SciPy, and anyway, really it's a package
manager problem if SciPy 1.4 is incompatible with Numpy 1.22.

cgranade/qutip,cgranade/qutip,qutip/qutip,qutip/qutip