From fff45460e56992e142f186c02a57a69ff9d4eb00 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 17 Jun 2024 11:23:06 -0400 Subject: [PATCH] Limiting pint version (#1438) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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