PGelss / scikit_tt

Tensor Train Toolbox
GNU Lesser General Public License v3.0
99 stars 24 forks source link

Restrict Numpy version <2.0 #33

Closed resting-dove closed 1 week ago

resting-dove commented 2 weeks ago

Situation

Currently, Scikit-tt can't be run as-is after pulling the repo, since it uses np.infty, which was removed in numpy 2.0. At least on my machine the requirements get evaluated to use numpy>=2.0.

Solution

Fixing the numpy version is very easy to do manually but I figure it might be nicer to have it in the requirements and done automatically.

PGelss commented 1 week ago

Thank you, Henri, for the quick solution!