Skip to content

fix: raise grpcio lower bound to >=1.80.0 (3.9+); pin tts-api to v3.2.2#13

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

fix: raise grpcio lower bound to >=1.80.0 (3.9+); pin tts-api to v3.2.2#13
YASoftwareDev merged 3 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 setup.py
  • Pins tts-api dependency from @v3.2.1@v3.2.2
  • Updates CLAUDE.md dependency constraint notes

Background

grpcio skips the 1.79.x series entirely (releases jump 1.78.01.80.0). When this package is used alongside livekit-agents>=1.5.1, livekit's transitive gRPC stubs require grpcio>=1.80.0 at runtime. The old lower bound (>=1.70.0) allowed pip to resolve grpcio==1.78.x — satisfying the declared constraint but failing at import time.

The upstream fix is in tts-api-python v3.2.2 (techmo-pl/tts-api-python#5), which raises the same bound in pyproject.toml. This PR pins to that release and mirrors the constraint locally so pip enforces it regardless of whether tts-api is installed directly.

⚠️ Dependency note

This PR pins tts-api @ ...@v3.2.2. That tag will be created when techmo-pl/tts-api-python#5 is merged and tagged. Merge this PR after v3.2.2 is tagged in tts-api-python.

Test plan

  • pip install -e . in a Python 3.9+ environment resolves grpcio>=1.80.0
  • pytest passes (unit tests)
  • Python 3.8 constraint unchanged

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).
…und notation

- VERSION.py: 3.2.9 → 3.2.10 so the grpcio fix is traceable by version
- test.yml: fix cache-dependency-glob from non-existent pyproject.toml to setup.py
- CLAUDE.md: normalize <2.0 → <2.0.0 to match setup.py exactly
@YASoftwareDev
Copy link
Copy Markdown
Contributor Author

Re-triggering CI: v3.2.2 tag is now available in tts-api-python.

@YASoftwareDev YASoftwareDev merged commit 337aac2 into main Apr 1, 2026
7 checks passed
@YASoftwareDev YASoftwareDev deleted the fix/grpcio-min-version-py39 branch April 1, 2026 08:35
@YASoftwareDev YASoftwareDev self-assigned this Apr 1, 2026
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.

1 participant