diff --git a/cookiecutter/{{cookiecutter.github_repo_name}}/pyproject.toml b/cookiecutter/{{cookiecutter.github_repo_name}}/pyproject.toml index ba211d69..cbe3edad 100644 --- a/cookiecutter/{{cookiecutter.github_repo_name}}/pyproject.toml +++ b/cookiecutter/{{cookiecutter.github_repo_name}}/pyproject.toml @@ -11,9 +11,9 @@ requires = [ # sure the code is generated using the minimum supported versions, as older # versions can't work with code that was generated with newer versions. # https://protobuf.dev/support/cross-version-runtime-guarantee/#backwards - "protobuf == 5.29.3", - "grpcio-tools == 1.70.0", - "grpcio == 1.70.0", + "protobuf == 6.33.4", + "grpcio-tools == 1.76.0", + "grpcio == 1.76.0", {%- endif %} ] build-backend = "setuptools.build_meta" @@ -64,11 +64,11 @@ dependencies = [ # We can't widen beyond the current value unless we bump the minimum # requirements too because of protobuf cross-version runtime guarantees: # https://protobuf.dev/support/cross-version-runtime-guarantee/#major - "protobuf >= 6.32.0, < 8", # Do not widen beyond 8! + "protobuf >= 6.33.4, < 8", # Do not widen beyond 8! # We couldn't find any document with a spec about the cross-version runtime # guarantee for grpcio, so unless we find one in the future, we'll assume # major version jumps are not compatible - "grpcio >= 1.74.0, < 2", # Do not widen beyond 2! + "grpcio >= 1.76.0, < 2", # Do not widen beyond 2! ] {%- else %} dependencies = [ diff --git a/pyproject.toml b/pyproject.toml index de8acd10..b80609c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,7 +56,7 @@ compile_proto = "frequenz.repo.config.setuptools.grpc_tools:CompileProto" actor = [] api = [ "grpcio-tools >= 1.47.0, < 2", - "mypy-protobuf >= 3.0.0, < 4", + "mypy-protobuf >= 3.0.0, < 6", "setuptools >= 67.6.0, < 81", ] app = [] diff --git a/tests_golden/integration/test_cookiecutter_generation/api/frequenz-api-test/pyproject.toml b/tests_golden/integration/test_cookiecutter_generation/api/frequenz-api-test/pyproject.toml index 75a78d90..a7a7b4f7 100644 --- a/tests_golden/integration/test_cookiecutter_generation/api/frequenz-api-test/pyproject.toml +++ b/tests_golden/integration/test_cookiecutter_generation/api/frequenz-api-test/pyproject.toml @@ -10,9 +10,9 @@ requires = [ # sure the code is generated using the minimum supported versions, as older # versions can't work with code that was generated with newer versions. # https://protobuf.dev/support/cross-version-runtime-guarantee/#backwards - "protobuf == 5.29.3", - "grpcio-tools == 1.70.0", - "grpcio == 1.70.0", + "protobuf == 6.33.4", + "grpcio-tools == 1.76.0", + "grpcio == 1.76.0", ] build-backend = "setuptools.build_meta" @@ -39,11 +39,11 @@ dependencies = [ # We can't widen beyond the current value unless we bump the minimum # requirements too because of protobuf cross-version runtime guarantees: # https://protobuf.dev/support/cross-version-runtime-guarantee/#major - "protobuf >= 6.32.0, < 8", # Do not widen beyond 8! + "protobuf >= 6.33.4, < 8", # Do not widen beyond 8! # We couldn't find any document with a spec about the cross-version runtime # guarantee for grpcio, so unless we find one in the future, we'll assume # major version jumps are not compatible - "grpcio >= 1.74.0, < 2", # Do not widen beyond 2! + "grpcio >= 1.76.0, < 2", # Do not widen beyond 2! ] dynamic = ["version"]