@@ -6,13 +6,13 @@ requires = [
66 " setuptools == 68.1.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
13- " protobuf == 5.29.0" ,
14- " grpcio-tools == 1.68.0" ,
15- " grpcio == 1.68.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
13+ " protobuf == 5.29.0" ,
14+ " grpcio-tools == 1.68.0" ,
15+ " grpcio == 1.68.0" ,
1616]
1717build-backend = " setuptools.build_meta"
1818
@@ -21,7 +21,17 @@ name = "frequenz-api-dispatch"
2121description = " Frequenz gRPC API to propagate dispatches to microgrids"
2222readme = " README.md"
2323license = { text = " MIT" }
24- keywords = [" frequenz" , " python" , " api" , " grpc" , " protobuf" , " rpc" , " dispatch" , " cloud" , " microgrid" ]
24+ keywords = [
25+ " frequenz" ,
26+ " python" ,
27+ " api" ,
28+ " grpc" ,
29+ " protobuf" ,
30+ " rpc" ,
31+ " dispatch" ,
32+ " cloud" ,
33+ " microgrid" ,
34+ ]
2535classifiers = [
2636 " Development Status :: 3 - Alpha" ,
2737 " Intended Audience :: Developers" ,
@@ -35,14 +45,14 @@ requires-python = ">= 3.11, < 4"
3545dependencies = [
3646 " frequenz-api-common >= 0.5.4, < 0.7" ,
3747 " googleapis-common-protos >= 1.65.0, < 2" ,
38- # We can't widen beyond the current value unless we bump the minimum
39- # requirements too because of protobuf cross-version runtime guarantees:
40- # https://protobuf.dev/support/cross-version-runtime-guarantee/#major
41- " protobuf >= 5.28.0, < 7" , # Do not widen beyond 7!
42- # We couldn't find any document with a spec about the cross-version runtime
43- # guarantee for grpcio, so unless we find one in the future, we'll assume
44- # major version jumps are not compatible
45- " grpcio >= 1.66.1, < 2" , # Do not widen beyond 2!
48+ # We can't widen beyond the current value unless we bump the minimum
49+ # requirements too because of protobuf cross-version runtime guarantees:
50+ # https://protobuf.dev/support/cross-version-runtime-guarantee/#major
51+ " protobuf >= 5.28.0, < 7" , # Do not widen beyond 7!
52+ # We couldn't find any document with a spec about the cross-version runtime
53+ # guarantee for grpcio, so unless we find one in the future, we'll assume
54+ # major version jumps are not compatible
55+ " grpcio >= 1.66.1, < 2" , # Do not widen beyond 2!
4656]
4757dynamic = [" version" ]
4858
@@ -78,10 +88,7 @@ dev-mypy = [
7888 # For checking the noxfile, docs/ script, and tests
7989 " frequenz-api-dispatch[dev-mkdocs,dev-noxfile,dev-pytest]" ,
8090]
81- dev-noxfile = [
82- " nox == 2024.10.9" ,
83- " frequenz-repo-config[api] == 0.11.0" ,
84- ]
91+ dev-noxfile = [" nox == 2024.10.9" , " frequenz-repo-config[api] == 0.11.0" ]
8592dev-pylint = [
8693 " pylint == 3.3.2" ,
8794 # For checking the noxfile, docs/ script, and tests
0 commit comments