Skip to content

FIX deprecated scipy APIs#609

Merged
mvdoc merged 2 commits intogallantlab:mainfrom
kroq-gar78:scipy-deprecated-api
Mar 25, 2026
Merged

FIX deprecated scipy APIs#609
mvdoc merged 2 commits intogallantlab:mainfrom
kroq-gar78:scipy-deprecated-api

Conversation

@kroq-gar78
Copy link
Copy Markdown
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
Copy Markdown
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.

@kroq-gar78 kroq-gar78 force-pushed the scipy-deprecated-api branch from 0b256a6 to ce3adda Compare March 25, 2026 00:08
@mvdoc mvdoc merged commit bd53700 into gallantlab:main Mar 25, 2026
13 checks passed
@kroq-gar78 kroq-gar78 deleted the scipy-deprecated-api branch March 25, 2026 01:50
mvdoc added a commit to mvdoc/pycortex that referenced this pull request Apr 4, 2026
…widget-dvTkg

* origin/main:
  FIX NaN values in Volume/Vertex rendering as black instead of transparent (gallantlab#612)
  Fix docs version display and update copyright to Gallant Lab (gallantlab#614)
  Disable flatmap tilt by default; respect allow_tilt checkbox in controls (gallantlab#618)
  Split 'r' hotkey: fold-only vs full view reset (gallantlab#617)
  Bump codecov/codecov-action from 5 to 6 (gallantlab#615)
  FIX deprecated scipy APIs (gallantlab#609)

# Conflicts:
#	docs/conf.py
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