From f9534f9b8ca0ff28efed5faf2e464d33036c4cf4 Mon Sep 17 00:00:00 2001 From: Sahas Subramanian Date: Wed, 7 Jan 2026 16:12:08 +0100 Subject: [PATCH] Update to the latest component graph Signed-off-by: Sahas Subramanian --- RELEASE_NOTES.md | 2 +- pyproject.toml | 2 +- tests/test_graph_generator.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index b43e0f0..43a6405 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -6,7 +6,7 @@ ## Upgrading -* Add back support for old active power formula config `AC_ACTIVE_POWER`. +* The minimum required version of `frequenz-microgrid-component-graph` is now `v0.3.4`. ## New Features diff --git a/pyproject.toml b/pyproject.toml index 224d18f..2adcc54 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ dependencies = [ "marshmallow-dataclass >= 8.7.1, < 9", "asyncclick >= 8.3.0.4, < 9", "typing-extensions >= 4.14.1, < 5", - "frequenz-microgrid-component-graph >= 0.2.0, < 0.3", + "frequenz-microgrid-component-graph >= 0.3.4, < 0.4", "frequenz-client-assets >= 0.2.0, < 0.3", ] dynamic = ["version"] diff --git a/tests/test_graph_generator.py b/tests/test_graph_generator.py index 019b235..a5901b3 100644 --- a/tests/test_graph_generator.py +++ b/tests/test_graph_generator.py @@ -63,4 +63,4 @@ async def test_formula_generation() -> None: graph = await g.get_component_graph(MicrogridId(10)) assert graph.grid_formula() == "COALESCE(#2, #4, 0.0) + #3" - assert graph.pv_formula(None) == "COALESCE(#4, #2, 0.0)" + assert graph.pv_formula(None) == "COALESCE(#2, #4, 0.0)"