vanvalenlab / deepcell-tracking

Track cells and build cell lineages
Other
29 stars 6 forks source link

Add support for numpy 1.24.0 #109

Closed msschwartz21 closed 1 year ago

msschwartz21 commented 1 year ago

The recent release of numpy 1.24.0 introduced numerous issues in our tests likely because we have been ignoring deprecation warnings.

rossbar commented 1 year ago

Yes, this affects all the deepcell libraries. Fortunately the fix is straightforward, it's just a matter of getting rid of the deprecated (now removed) numpy scalar aliases see e.g. https://github.com/vanvalenlab/deepcell-toolbox/pull/131/commits/c8ea830c8afd906251e05413ade1bb746ea39cee.

The short-term solution would be to pin numpy<1.24.

rossbar commented 1 year ago

This has been fixed by #112