Skip to content

Commit 50a75a9

Browse files
committed
Bump frequenz-client-microgrid to v0.4.0
This new version uses betterproto and grpclib but provides wrappers so we don't need to rely directly on those libraries anymore. We'll need to adapt the code a bit as the SDK uses some of the auto-generated bindings directly and uses `grpc.aio.AioRpcError` for error handling. We also need to adapt to use a server URL for connecting to the API. All this adaptation will be done in subsequent commits. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent d5d74a3 commit 50a75a9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

RELEASE_NOTES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
## Upgrading
88

9+
- The `frequenz-client-microgrid` dependency was bumped to v0.4.0. If you are using the client directly in your code, you will need to upgrade too.
10+
911
- Calls to `microgrid.*_pool` methods now always need to specified a priority value, corresponding to the requirements/priority of the actor making the call.
1012

1113
- The `microgrid.*_pool` methods would only accept keyword arguments from now on.

mkdocs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,8 @@ plugins:
114114
import:
115115
# See https://mkdocstrings.github.io/python/usage/#import for details
116116
- https://docs.python.org/3/objects.inv
117-
- https://frequenz-floss.github.io/frequenz-api-common/v0.3/objects.inv
118117
- https://frequenz-floss.github.io/frequenz-channels-python/v0.16/objects.inv
119-
- https://frequenz-floss.github.io/frequenz-api-microgrid/v0.15/objects.inv
118+
- https://frequenz-floss.github.io/frequenz-client-microgrid-python/v0.4/objects.inv
120119
- https://grpc.github.io/grpc/python/objects.inv
121120
- https://networkx.org/documentation/stable/objects.inv
122121
- https://numpy.org/doc/stable/objects.inv

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,11 @@ classifiers = [
2626
]
2727
requires-python = ">= 3.11, < 4"
2828
dependencies = [
29-
"frequenz-api-microgrid >= 0.15.3, < 0.16.0",
3029
# Make sure to update the mkdocs.yml file when
3130
# changing the version
3231
# (plugins.mkdocstrings.handlers.python.import)
32+
"frequenz-client-microgrid >= 0.4.0, < 0.5.0",
3333
"frequenz-channels >= 1.0.0-rc1, < 2.0.0",
34-
"frequenz-client-microgrid >= 0.3.0, < 0.4.0",
3534
"google-api-python-client >= 2.71, < 3",
3635
"grpcio >= 1.60.1, < 2",
3736
"grpcio-tools >= 1.60.1, < 2",

0 commit comments

Comments
 (0)