Skip to content

nvidia-riva-client 2.25.1: missing protobuf dependency causes import-time failure #172

Description

@markbackman

Summary

v2.25.1 wheel ships _pb2.py files compiled with protoc 6.31.1, but does not declare protobuf as a dependency. pip can
install the package alongside an incompatible protobuf runtime, and the failure surfaces only at import.

Adding protobuf>=6.31.1,<7 to install requirements would let the resolver catch this before installation.

Repro

Run:

pip install "protobuf~=5.29.6" "nvidia-riva-client==2.25.1"                                                                     
python -c "import riva.client"

Produces an error:

google.protobuf.runtime_version.VersionError: Detected incompatible Protobuf Gencode/Runtime versions when loading riva/proto/riva_asr.proto: gencode 6.31.1 runtime 5.29.6.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions