diff --git a/setup.py b/setup.py index 743f4562..7b295b11 100755 --- a/setup.py +++ b/setup.py @@ -48,9 +48,10 @@ def read(*names, **kwargs): "geopandas", "matplotlib >= 3.0.3", "oedialect", + "pandas == 1.5.3", # PyPSA uses a deprecated import that errors with Pyomo 6.4.3. # Upstream has a fix but it's not yet released. - "pyomo != 6.4.3", + "pyomo == 6.4.1", "pypsa == 0.20.1", "rtree", "saio",