PGelss / scikit_tt

Tensor Train Toolbox
GNU Lesser General Public License v3.0
104 stars 25 forks source link

Restrict Numpy version <2.0 #33

Closed resting-dove closed 2 months ago

resting-dove commented 2 months 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 2 months ago

Thank you, Henri, for the quick solution!