diff --git a/setup.py b/setup.py index 1d914cb421..46139e3629 100644 --- a/setup.py +++ b/setup.py @@ -133,7 +133,7 @@ def __getitem__(self, key): # Concrete dependencies go in requirements[-dev].txt install_requires=[ "pyomo >= 6.7.3", - "pint", # required to use Pyomo units + "pint<0.24", # required to use Pyomo units. Pint 0.24 only supported on Python >=3.10 "networkx", # required to use Pyomo network "numpy<2", # pandas constraint added on 2023-08-30 b/c bug in v2.1