Skip to content

Commit d709103

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 ff70e91 commit d709103

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.54.2, < 2",
43-
"protobuf >= 4.21.6, < 6",
43+
"protobuf >= 4.25.3, < 6",
4444
"timezonefinder >= 6.2.0, < 7",
4545
"typing-extensions >= 4.5.0, < 5",
4646
]

src/frequenz/client/microgrid/_client.py

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

11-
from frequenz.api.microgrid import microgrid_pb2_grpc
11+
from frequenz.api.microgrid.v1 import microgrid_pb2_grpc
1212
from frequenz.client.base import channel, client, retry, streaming
1313

1414
from ._exception import ClientNotConnected

0 commit comments

Comments
 (0)