Skip to content

Commit 6b3b65d

Browse files
Merge pull request #5 from techmo-pl/fix/grpcio-min-version-py39
fix: raise grpcio lower bound to >=1.80.0 for Python 3.9+
2 parents d978ed0 + 6590734 commit 6b3b65d

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ The major version of this package tracks the TTS Service API major version.
77

88
## [Unreleased]
99

10+
## [3.2.2] - 2026-04-01
11+
12+
### Fixed
13+
- Raised `grpcio` lower bound to `>=1.80.0` for Python 3.9+ (grpcio skips 1.79.x;
14+
grpcio 1.78.x causes runtime failures when combined with livekit-agents>=1.5.1).
15+
No stub regeneration required — generated stubs (GRPC_GENERATED_VERSION='1.70.0')
16+
are forward-compatible with grpcio 1.80.0.
17+
1018
## [3.2.1+1] - 2026-03-30
1119

1220
### Added

pyproject.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[build-system]
2-
# grpcio-tools 1.71.0+ ships protobuf 6.x which generates stubs requiring Python>=3.9.
3-
# Keep <1.71.0 so generated stubs stay compatible with Python 3.8 (protobuf 5.29.x).
2+
# grpcio-tools is the BUILD-TIME stub generator only — its version is independent of
3+
# the runtime grpcio lower bound (>=1.80.0 for 3.9+) set in [project.dependencies].
4+
# Keep <1.71.0: grpcio-tools 1.71.0+ ships protobuf 6.x which generates stubs
5+
# requiring Python>=3.9, breaking our Python 3.8 support.
46
requires = ["setuptools>=61", "grpcio-tools>=1.70.0,<1.71.0"]
57
build-backend = "setuptools.build_meta"
68

@@ -14,7 +16,11 @@ requires-python = ">=3.8"
1416
dependencies = [
1517
# Generated stubs embed GRPC_GENERATED_VERSION='1.70.0'; grpcio 1.71.0 dropped Python 3.8.
1618
"grpcio>=1.70.0,<1.71.0; python_version=='3.8'",
17-
"grpcio>=1.70.0; python_version>='3.9'",
19+
# grpcio skips 1.79.x (jumps 1.78.0→1.80.0); environments combining tts-api with
20+
# livekit-agents>=1.5.1 fail at runtime with 1.78.x due to livekit's transitive stubs
21+
# requiring grpcio>=1.80.0. The generated stubs (GRPC_GENERATED_VERSION='1.70.0') are
22+
# forward-compatible with 1.80.0, so no stub regeneration is needed.
23+
"grpcio>=1.80.0; python_version>='3.9'",
1824
# Stubs generated with protobuf 5.29.x; protobuf 6.x requires Python>=3.9.
1925
"protobuf>=5.29.0,<6.0.0; python_version=='3.8'",
2026
"protobuf>=5.29.0; python_version>='3.9'",

tts_service_api/VERSION.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.2.1+1"
1+
__version__ = "3.2.2"

0 commit comments

Comments
 (0)