-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
42 lines (36 loc) · 1.68 KB
/
pyproject.toml
File metadata and controls
42 lines (36 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[build-system]
# 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"
[project]
name = "tts-api"
description = "Techmo TTS Service API"
dynamic = ["version"]
readme = { file = "README.md", content-type = "text/markdown" }
authors = [{ name = "Techmo sp. z o.o", email = "kontakt@techmo.pl" }]
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 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'",
]
[project.urls]
repository = "https://github.com/techmo-pl/tts-api-python"
[tool.setuptools.dynamic]
version = { attr = "tts_service_api.VERSION.__version__" }
[tool.setuptools.packages.find]
include = ["tts_service_api*", "techmo*"]
[tool.mypy]
[[tool.mypy.overrides]]
module = ["techmo.*"]
ignore_errors = true