Skip to content

Commit 7b84559

Browse files
committed
Bump the frequenz-api-microgrid dependency to 0.17.1
We need to bump the minimum supported version of the `protobuf` to adapt to the mimimum requirements of the new api version. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent a14e19d commit 7b84559

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ classifiers = [
3636
]
3737
requires-python = ">= 3.11, < 4"
3838
dependencies = [
39-
"frequenz-api-microgrid >= 0.15.3, < 0.16.0",
39+
"frequenz-api-microgrid >= 0.17.1, < 0.18.0",
4040
"frequenz-channels >= 1.0.0-rc1, < 2.0.0",
4141
"frequenz-client-base >= 0.8.0, < 0.10.0",
4242
"grpcio >= 1.59.0, < 2",
43-
"protobuf >= 4.21.6, < 7",
43+
"protobuf >= 4.25.3, < 6",
4444
"timezonefinder >= 6.2.0, < 7",
4545
"typing-extensions >= 4.6.0, < 5",
4646
]

src/frequenz/client/microgrid/_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from dataclasses import replace
1111
from typing import Any
1212

13-
from frequenz.api.microgrid import microgrid_pb2_grpc
13+
from frequenz.api.microgrid.v1 import microgrid_pb2_grpc
1414
from frequenz.client.base import channel, client, retry, streaming
1515
from typing_extensions import override
1616

0 commit comments

Comments
 (0)