Inline local-smart-turn-v3 deps for Poetry compatibility
Replace self-referential `pipecat-ai[local-smart-turn-v3]` extra in core dependencies with the actual packages (`transformers`, `onnxruntime`). Self-referential extras are not supported by Poetry and cause dependency resolution failures. Since these are required by the default turn stop strategy (LocalSmartTurnAnalyzerV3), they belong in core dependencies. - Remove `local-smart-turn-v3` optional extra from pyproject.toml - Remove try/except ModuleNotFoundError guard (now always installed) - Remove `--extra local-smart-turn-v3` from CI workflows
This commit is contained in:
@@ -38,8 +38,10 @@ dependencies = [
|
||||
# Pinning numba to resolve package dependencies
|
||||
"numba==0.61.2",
|
||||
"wait_for2>=0.4.1; python_version<'3.12'",
|
||||
# Pipecat optionals
|
||||
"pipecat-ai[local-smart-turn-v3]",
|
||||
# Required by LocalSmartTurnAnalyzerV3
|
||||
# Inlined here instead of using a self-referential extra for Poetry compatibility.
|
||||
"transformers",
|
||||
"onnxruntime~=1.23.2",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
@@ -84,7 +86,6 @@ livekit = [ "livekit~=1.0.13", "livekit-api~=1.0.5", "tenacity>=8.2.3,<10.0.0",
|
||||
lmnt = [ "pipecat-ai[websockets-base]" ]
|
||||
local = [ "pyaudio~=0.2.14" ]
|
||||
local-smart-turn = [ "coremltools>=8.0", "transformers", "torch>=2.5.0,<3", "torchaudio>=2.5.0,<3" ]
|
||||
local-smart-turn-v3 = [ "transformers", "onnxruntime~=1.23.2" ]
|
||||
mcp = [ "mcp[cli]>=1.11.0,<2" ]
|
||||
mem0 = [ "mem0ai~=0.1.94" ]
|
||||
mistral = []
|
||||
|
||||
Reference in New Issue
Block a user