Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ The major version of this package tracks the TTS Service API major version.

## [Unreleased]

## [3.2.2] - 2026-04-01

### Fixed
- Raised `grpcio` lower bound to `>=1.80.0` for Python 3.9+ (grpcio skips 1.79.x;
grpcio 1.78.x causes runtime failures when combined with livekit-agents>=1.5.1).
No stub regeneration required — generated stubs (GRPC_GENERATED_VERSION='1.70.0')
are forward-compatible with grpcio 1.80.0.

## [3.2.1+1] - 2026-03-30

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

Expand All @@ -14,7 +16,11 @@ requires-python = ">=3.8"
dependencies = [
# Generated stubs embed GRPC_GENERATED_VERSION='1.70.0'; grpcio 1.71.0 dropped Python 3.8.
"grpcio>=1.70.0,<1.71.0; python_version=='3.8'",
"grpcio>=1.70.0; python_version>='3.9'",
# grpcio skips 1.79.x (jumps 1.78.0→1.80.0); environments combining tts-api with
# livekit-agents>=1.5.1 fail at runtime with 1.78.x due to livekit's transitive stubs
# requiring grpcio>=1.80.0. The generated stubs (GRPC_GENERATED_VERSION='1.70.0') are
# forward-compatible with 1.80.0, so no stub regeneration is needed.
"grpcio>=1.80.0; python_version>='3.9'",
# Stubs generated with protobuf 5.29.x; protobuf 6.x requires Python>=3.9.
"protobuf>=5.29.0,<6.0.0; python_version=='3.8'",
"protobuf>=5.29.0; python_version>='3.9'",
Expand Down
2 changes: 1 addition & 1 deletion tts_service_api/VERSION.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.2.1+1"
__version__ = "3.2.2"
Loading