Closed seidlj closed 3 years ago
In version 1.6.0, scipy renamed some methods in scipy.integrate. It has kept the old methods for backward compatibility, but changed their docstrings. This is a problem for xr-scipy, because it assumes that the docstrings contain parameter y https://github.com/fujiisoup/xr-scipy/blob/8ff001ded269c37a7edafd09535c49c04670a48f/xrscipy/integrate.py#L47 which is not true for the deprecated methods.
1.6.0
scipy.integrate
xr-scipy
y
As a result, import of xr-scipy with scipy >= 1.6.0 fails with KeyError: 'y'.
scipy >= 1.6.0
KeyError: 'y'
I can send a PR that fixes this issue and adds the new method names into xr-scipy, if you are interested.
@seidlj Thank you for pointing this out.
It would be very nice!
In version
1.6.0
, scipy renamed some methods inscipy.integrate
. It has kept the old methods for backward compatibility, but changed their docstrings. This is a problem forxr-scipy
, because it assumes that the docstrings contain parametery
https://github.com/fujiisoup/xr-scipy/blob/8ff001ded269c37a7edafd09535c49c04670a48f/xrscipy/integrate.py#L47 which is not true for the deprecated methods.As a result, import of
xr-scipy
withscipy >= 1.6.0
fails withKeyError: 'y'
.I can send a PR that fixes this issue and adds the new method names into
xr-scipy
, if you are interested.