fix: raise grpcio lower bound to >=1.80.0 for Python 3.9+#5
Merged
YASoftwareDev merged 2 commits intomainfrom Apr 1, 2026
Merged
fix: raise grpcio lower bound to >=1.80.0 for Python 3.9+#5YASoftwareDev merged 2 commits intomainfrom
YASoftwareDev merged 2 commits intomainfrom
Conversation
grpcio skips 1.79.x (releases jump 1.78.0 → 1.80.0). Environments combining tts-api with livekit-agents>=1.5.1 fail at runtime with grpcio 1.78.x because livekit's transitive gRPC stubs require >=1.80.0. No stub regeneration needed: the generated stubs (GRPC_GENERATED_VERSION ='1.70.0') are forward-compatible with grpcio 1.80.0. Bumps version to 3.2.2.
YASoftwareDev
added a commit
to techmo-pl/tts-client-python
that referenced
this pull request
Apr 1, 2026
grpcio skips 1.79.x (1.78.0 → 1.80.0). Environments using tts-client-python alongside livekit-agents>=1.5.1 fail at runtime with grpcio 1.78.x. Aligns with tts-api-python v3.2.2 which carries the same fix upstream (techmo-pl/tts-api-python#5).
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
grpciolower bound from>=1.70.0to>=1.80.0for Python 3.9+ inpyproject.toml3.2.1+1→3.2.2Background
grpcioskips the1.79.xseries entirely (releases jump1.78.0→1.80.0). Whentts-apiis used alongsidelivekit-agents>=1.5.1, livekit's transitive gRPC stubs requiregrpcio>=1.80.0at runtime. With the old lower bound (>=1.70.0), pip could resolvegrpcio==1.78.0— satisfying the declared constraint but breaking at runtime.The generated stubs (
GRPC_GENERATED_VERSION='1.70.0') are forward-compatible with grpcio 1.80.0, so no stub regeneration is required.Test plan
pip install tts-apiin a Python 3.9+ environment resolvesgrpcio>=1.80.0from techmo.tts.api.v3 import techmo_tts_pb2_grpcimports without RuntimeError with grpcio 1.80.0grpcio>=1.70.0,<1.71.0)