diff --git a/tools/pip/setup.py b/tools/pip/setup.py index 3905a69fb94d..f0a3e37fd3c3 100644 --- a/tools/pip/setup.py +++ b/tools/pip/setup.py @@ -52,8 +52,8 @@ def has_ext_modules(self): DEPENDENCIES = [ - 'numpy>1.16.0,<2.0.0', - 'requests>=2.20.0', + 'numpy<2.0.0,>1.16.0', + 'requests>=2.20.0,<3', 'graphviz<0.9.0,>=0.8.1' ]