Skip to content

FIX deprecated scipy APIs#609

Open
kroq-gar78 wants to merge 1 commit intogallantlab:mainfrom
kroq-gar78:scipy-deprecated-api
Open

FIX deprecated scipy APIs#609
kroq-gar78 wants to merge 1 commit intogallantlab:mainfrom
kroq-gar78:scipy-deprecated-api

Conversation

@kroq-gar78
Copy link
Contributor

@kroq-gar78 kroq-gar78 commented Mar 23, 2026

SciPy 1.8.0 deprecated the use of of several internal APIs in favor of a consistent public API. This PR uses the new public API, and enforces a minimum version of SciPy to make sure it exists.

If we want to maintain support for SciPy < 1.8.0 (released Feb. 2022), we can add additional logic.

@mvdoc
Copy link
Contributor

mvdoc commented Mar 23, 2026

I think here it would be nice to be backward compatible with old scipy versions. It should be straightforward by creating and using a _factorized function that tries and catches the import error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants