Skip to content

fix: raise grpcio lower bound to >=1.80.0 for Python 3.9+#5

Merged
YASoftwareDev merged 2 commits intomainfrom
fix/grpcio-min-version-py39
Apr 1, 2026
Merged

fix: raise grpcio lower bound to >=1.80.0 for Python 3.9+#5
YASoftwareDev merged 2 commits intomainfrom
fix/grpcio-min-version-py39

Conversation

@YASoftwareDev
Copy link
Copy Markdown
Contributor

Summary

  • Raises grpcio lower bound from >=1.70.0 to >=1.80.0 for Python 3.9+ in pyproject.toml
  • Bumps version 3.2.1+13.2.2
  • Updates CHANGELOG

Background

grpcio skips the 1.79.x series entirely (releases jump 1.78.01.80.0). When tts-api is used alongside livekit-agents>=1.5.1, livekit's transitive gRPC stubs require grpcio>=1.80.0 at runtime. With the old lower bound (>=1.70.0), pip could resolve grpcio==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-api in a Python 3.9+ environment resolves grpcio>=1.80.0
  • from techmo.tts.api.v3 import techmo_tts_pb2_grpc imports without RuntimeError with grpcio 1.80.0
  • Python 3.8 constraint unchanged (grpcio>=1.70.0,<1.71.0)

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).
@YASoftwareDev YASoftwareDev self-assigned this Apr 1, 2026
@YASoftwareDev YASoftwareDev merged commit 6b3b65d into main Apr 1, 2026
6 checks passed
@YASoftwareDev YASoftwareDev deleted the fix/grpcio-min-version-py39 branch April 1, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants