nvidia-riva-client 2.25.1: missing `protobuf` dependency causes import-time failure
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
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.
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.
- Dominant language
- Python
- Stars
- 142
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from nvidia-riva/python-clients
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
nvidia-riva/python-clients#145 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
nvidia-riva/python-clients#110 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
nvidia-riva/python-clients#100 · 1 comment ·
-
Connection_RefuseOpen
Difficulty 4/5 3-5 days Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
nvidia-riva/python-clients#93 · 1 reaction ·
All issues in nvidia-riva/python-clients
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 91/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 92/100
-
enhancement P2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Toloka/tolokaforge#1776 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
TencentCloud/Octop#1622 ·
Maintainers usually reply within 1 day
-
[arch] gate_sync.sh: stale remote tmp files on install failure; overlapping cron runs unguardedOpenarch area:fleet priority:p3 severity:low track:hosted-product
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day