diff --git a/setup.py b/setup.py index c45d210b8b4..2077c0ee3d4 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.1", # Temporarily pin <2.1 (see GH-7111) # Backend and serialization. # Minimum 15.0.0 to be able to cast dictionary types to their underlying types "pyarrow>=15.0.0",