Case in point: in scipy/scipy#24670,
FAILED scipy/ndimage/tests/test_filters.py::TestNdimageFilters::test_correlate_mode_sequence[cupy] - Failed: DID NOT RAISE <class 'RuntimeError'>
is due to a CuPy enhancement, cupy/cupy#8339, which only landed in CuPy 14. Now, SciPy might want to xfail a test depending on the cupy version.
cross-ref #366