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
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
cache-dependency-glob: "pyproject.toml"
cache-dependency-glob: "setup.py"

- name: Run tests via tox
run: |
Expand All @@ -45,7 +45,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
cache-dependency-glob: "pyproject.toml"
cache-dependency-glob: "setup.py"

- name: Run tests via tox
run: uvx --with "tox-uv>=1" tox -e py314
7 changes: 5 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,12 @@ Integration tests are excluded by default (`pytest.ini`). They require a running
## Dependency Constraints

Python 3.8 requires tighter bounds:
- `grpcio>=1.70.0,<1.71.0` (3.8) vs `grpcio>=1.70.0,<2.0` (3.9+)
- `grpcio>=1.70.0,<1.71.0` (3.8) vs `grpcio>=1.80.0,<2.0.0` (3.9+)

`tts-api` is pinned to a GitHub tag: `git+https://github.com/techmo-pl/tts-api-python.git@v3.2.1`.
The 3.9+ lower bound is `1.80.0` (not `1.70.0`) because grpcio skips `1.79.x` and environments
combining tts-api with `livekit-agents>=1.5.1` fail at runtime with `1.78.x`.

`tts-api` is pinned to a GitHub tag: `git+https://github.com/techmo-pl/tts-api-python.git@v3.2.2`.
Update the tag in `setup.py` when a new `tts-api-python` release is tagged.

Do not widen grpcio bounds without verifying Python 3.8 compatibility.
Expand Down
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@
install_requires=[
# gRPC stubs come from tts-api; grpcio is also needed directly for channel creation.
# grpcio 1.71.0 dropped Python 3.8; keep <1.71.0 for 3.8 compatibility.
"grpcio>=1.70.0,<2.0.0; python_version>='3.9'",
# grpcio 1.80.0 is the minimum for Python 3.9+: grpcio skips 1.79.x, and
# environments combining tts-api with livekit-agents fail at runtime with 1.78.x
# due to livekit-agents' transitive stubs requiring grpcio>=1.80.0.
"grpcio>=1.80.0,<2.0.0; python_version>='3.9'",
"grpcio>=1.70.0,<1.71.0; python_version=='3.8'",
# Pre-built gRPC stubs for the Techmo TTS API.
"tts-api @ git+https://github.com/techmo-pl/tts-api-python.git@v3.2.1",
"tts-api @ git+https://github.com/techmo-pl/tts-api-python.git@v3.2.2",
"lxml>=4.6.4",
"numpy>=1.19.5",
"sounddevice>=0.4.0",
Expand Down
2 changes: 1 addition & 1 deletion tts_client_python/VERSION.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
TTS_CLIENT_PYTHON_VERSION = "3.2.9"
TTS_CLIENT_PYTHON_VERSION = "3.2.10"
Loading