Skip to content

Commit b5e6f7b

Browse files
Do not pin grpc dependencies
Pinning these dependencies to one version complicates installation on different linux distributions. Also this API runs against a tokio based API and thus the backward guarantee commit doesn't apply. Signed-off-by: Matthias Wende <[email protected]>
1 parent 2ab69c5 commit b5e6f7b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

pyproject.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,9 @@ requires = [
66
"setuptools == 75.8.0",
77
"setuptools_scm[toml] == 8.1.0",
88
"frequenz-repo-config[api] == 0.11.0",
9-
# We need to pin the protobuf, grpcio and grpcio-tools dependencies to make
10-
# sure the code is generated using the minimum supported versions, as older
11-
# versions can't work with code that was generated with newer versions.
12-
# https://protobuf.dev/support/cross-version-runtime-guarantee/#backwards
139
"protobuf == 5.29.3",
14-
"grpcio-tools == 1.70.0",
15-
"grpcio == 1.70.0",
10+
"grpcio-tools >= 1.71.0, < 2",
11+
"grpcio >= 1.71.0, < 2",
1612

1713
]
1814
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)