Skip to content

Commit a4448d1

Browse files
Do not pin grpc dependencies
Pinning these dependencies to one version complicates installation on different linux distributions. Signed-off-by: Matthias Wende <[email protected]>
1 parent 2ab69c5 commit a4448d1

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

pyproject.toml

Lines changed: 3 additions & 7 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"
@@ -52,7 +48,7 @@ dependencies = [
5248
# We couldn't find any document with a spec about the cross-version runtime
5349
# guarantee for grpcio, so unless we find one in the future, we'll assume
5450
# major version jumps are not compatible
55-
"grpcio >= 1.70.0, < 2", # Do not widen beyond 2!
51+
"grpcio >= 1.71.0, < 2", # Do not widen beyond 2!
5652
]
5753
dynamic = ["version"]
5854

0 commit comments

Comments
 (0)