Moved functions from ndimage submodules to ndimage namespace#325
Conversation
|
This is great, thank you @m-albert I think we need a note somewhere in the docs that says what the minimum supported version of cupy is. |
I've searched through the repo, and it looks like we mostly put that information in the release notes ( And before we merge and make a new release, can I get you to check whether the pytest importerskip lines need to be updated with a different minimum version of cupy? There are 8 lines like this across the codebase |
|
Thanks you both! 🙏 Do these tests run on CI cover those function changes? Or is there something more we need? |
|
Thanks @GenevieveBuckley
Good point. @rgommers mentioned that all filters were always also (and mainly) available in the I checked when cupyx functions first became available and updated the minversion lines. If I'm not mistaken, some versions were off, e.g. most filters were only added to cupyx in version 9.0.0 (instead of 7.7.0) and affine_transform was already available in 5.0.0 (instead of 6.0.0).
Would this be the minimum version that provides at least some functionality or the minimum version that provides all dask-image related cupy functionality?
@jakirkham The function changes should be covered! The reason for why the removal of |
|
Probably it'd be useful to have these fixes for #324 included in the upcoming release. Do you guys think this PR is mergeable? |
Sure, I'm on board with that. |
Filed issue ( #328 ) |
This PR moves functions from the
cupyx.scipy.ndimage.filtersnamespace tocupyx.scipy.ndimage, fixing #324.Secondly it changes a reference to
scipy.ndimage.fourierintoscipy.ndimagein test functions, anticipating the removal ofscipy.ndimage.fourierin scipy version 2.