From 7db912a50e78281313f48af190e7624efb01cbbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrik=20Sch=C3=B6nfeldt?= Date: Wed, 27 Nov 2024 12:55:58 +0100 Subject: [PATCH] Pin solph version Solph >v0.5.5 requires numpy >= 2.0. However, the CSP facade needs poa_horizontal_ratio, which is no longer available in pvlib >= 0.9.0. And that legacy version of pvlib is not compatible to numpy >= 2.0. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1dc9ac71..01c167e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ classifiers = [ requires-python = ">=3.9" dependencies = [ - 'oemof.solph', + 'oemof.solph <= 0.5.5', 'matplotlib', 'pvlib <= 0.9.0', 'numpy >= 1.16.5',