Skip to content

Runtime version cannot be older than the linked gencode version. #404

Closed
@zhengdechang

Description

@zhengdechang

Issue Description

google.protobuf.runtime_version.VersionError: Detected incompatible Protobuf Gencode/Runtime versions when loading protos/brand_inference.proto: gencode 5.29.2 runtime 5.27.2. Runtime version cannot be older than the linked gencode version. See Protobuf version guarantees at https://protobuf.dev/support/cross-version-runtime-guarantee.

bazel_dep(name = "rules_proto_grpc_python", version = "5.0.1") # 5.27.2

bazel_dep(name = "protobuf", version = "29.2", repo_name = "com_google_protobuf") # 5.29.2

Log Output


rules_proto_grpc Version

5.0.1

Bazel Version

8.0.0.0

OS

linux

Link to Demo Repo

No response

MODULE.bazel or WORKSPACE Content

BUILD Content

Proto Content

Any Other Content


Activity

aaliddell

aaliddell commented on Jul 2, 2025

@aaliddell
Member

This should be resolved since 5.2.0, as the plugin and runtime are sourced from the same version locked repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglang-pythonPython rules specific

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @aaliddell@zhengdechang

        Issue actions

          Runtime version cannot be older than the linked gencode version. · Issue #404 · rules-proto-grpc/rules_proto_grpc