Skip to content

Commit c018f36

Browse files
authored
Update to common-proto api v0.8.0 (#259)
Still keeps the v1 types. This PR is blocked until the microgrid-client updates to common-api 0.8.0. We want to ensure that all clients are using the same version of the common-api before merging this PR.
2 parents 5e64b57 + 7f7896c commit c018f36

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

pyproject.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ requires = [
1010
# sure the code is generated using the minimum supported versions, as older
1111
# versions can't work with code that was generated with newer versions.
1212
# https://protobuf.dev/support/cross-version-runtime-guarantee/#backwards
13-
"protobuf == 5.29.5",
14-
"grpcio-tools == 1.70.0",
15-
"grpcio == 1.70.0",
13+
"protobuf == 6.31.1",
14+
"grpcio-tools == 1.72.1",
15+
"grpcio == 1.72.1",
1616
]
1717
build-backend = "setuptools.build_meta"
1818

@@ -43,16 +43,16 @@ classifiers = [
4343
]
4444
requires-python = ">= 3.11, < 4"
4545
dependencies = [
46-
"frequenz-api-common >= 0.5.4, < 0.7",
47-
"googleapis-common-protos >= 1.65.0, < 2",
46+
"frequenz-api-common >= 0.8.0, < 1.0",
47+
"googleapis-common-protos >= 1.70.0, < 2",
4848
# We can't widen beyond the current value unless we bump the minimum
4949
# requirements too because of protobuf cross-version runtime guarantees:
5050
# https://protobuf.dev/support/cross-version-runtime-guarantee/#major
51-
"protobuf >= 5.29.3, < 7", # Do not widen beyond 7!
51+
"protobuf >= 6.31.1, < 8", # Do not widen beyond 8!
5252
# We couldn't find any document with a spec about the cross-version runtime
5353
# guarantee for grpcio, so unless we find one in the future, we'll assume
5454
# major version jumps are not compatible
55-
"grpcio >= 1.70.0, < 2", # Do not widen beyond 2!
55+
"grpcio >= 1.72.1, < 2", # Do not widen beyond 2!
5656
]
5757
dynamic = ["version"]
5858

submodules/frequenz-api-common

Submodule frequenz-api-common updated 85 files

0 commit comments

Comments
 (0)