nvidia-riva / nvidia-riva/python-clients
nvidia-riva-client 2.25.1: missing `protobuf` dependency causes import-time failure
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 142
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the package metadata that defines install requirements, then run the issue's pip installation and import commands to reproduce the failure. Update the dependency declaration so compatible protobuf versions are selected before installation, and confirm the reproduction no longer fails at import time.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100