From 2541f520653a4bfa57ef116abc4f3773b308d97d Mon Sep 17 00:00:00 2001 From: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> Date: Mon, 17 Jun 2024 12:31:10 +0200 Subject: [PATCH] Set numpy upper version < 2.0.0 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b947d8093178..8f668a7469f5 100644 --- a/setup.py +++ b/setup.py @@ -111,7 +111,7 @@ # For file locking "filelock", # We use numpy>=1.17 to have np.random.Generator (Dataset shuffling) - "numpy>=1.17", + "numpy>=1.17,<2.0.0", # Backend and serialization. # Minimum 15.0.0 to be able to cast dictionary types to their underlying types "pyarrow>=15.0.0",