flatironinstitute / CaImAn

Computational toolbox for large scale Calcium Imaging Analysis, including movie handling, motion correction, source extraction, spike deconvolution and result visualization.
https://caiman.readthedocs.io
GNU General Public License v2.0
639 stars 370 forks source link

Breaking: Upstream tensorflow 2.16 breaks caiman #1355

Closed pgunn closed 5 months ago

pgunn commented 5 months ago

Tensorflow 2.16 (newly available on conda-forge) breaks the keras compatibility API.

For now, we need to cut a new release pinning tensorflow 2.15 as a dependency. Longer-term, we should see if porting to tensorflow 2.16 (and the new keras APIs) is trivial and something we want to do before we finish the move to pytorch.

This is urgent because it is affecting users.

pgunn commented 5 months ago

Fixed for now in dev for compiled versions, but will need to cut a release (and adjust the feedstock first)

pgunn commented 5 months ago

Adjusted pin on feedstock so next release will unbreak this (will cut a new release within the next few days).

https://github.com/conda-forge/caiman-feedstock/commit/a32daa15a8d5f0e02b78348ffdde280e9d87ba6c

pgunn commented 5 months ago

Release is made; for now we'll consider this closed as there's an active effort to port us off of tensorflow. We'll need to revisit if that doesn't work out.