See related issue [#21061](https://github.com/scipy/scipy/issues/21061) to determine if action is needed here.