From fdedc437b3ff91225d74e29e06a095533b57a70e Mon Sep 17 00:00:00 2001 From: Ludovico Bianchi Date: Thu, 29 Feb 2024 20:38:18 -0600 Subject: [PATCH] Add upper versions constraints for numpy and pandas (#1361) --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index cc5a5b535b..bf1676ecd3 100644 --- a/setup.py +++ b/setup.py @@ -135,10 +135,10 @@ def __getitem__(self, key): "pyomo >= 6.7.1", "pint", # required to use Pyomo units "networkx", # required to use Pyomo network - "numpy", + "numpy<2", # pandas constraint added on 2023-08-30 b/c bug in v2.1 # see IDAES/idaes-pse#1253 - "pandas!=2.1.0", + "pandas!=2.1.0,<3", "scipy", "sympy", # idaes.core.util.expr_doc "matplotlib",