soft-matter / trackpy

Python particle tracking toolkit
http://soft-matter.github.io/trackpy
Other
437 stars 131 forks source link

Trackpy incompatible with Numpy 2.0 #768

Open SiFroehl opened 1 week ago

SiFroehl commented 1 week ago

Trackpy internally uses np.Inf which was removed in numpy version 2.0.0 (should use np.inf instead) leading in an error in multiple trackpy functions (such as link). To replicate, install numpy 2.0.0 (newest version as of now) and trackpy 0.6.3 (newest version as of now), import both and call trackpy.link