From 47781e95ab3489bc8efaeed92498e37aa1e96765 Mon Sep 17 00:00:00 2001 From: Paul Kompfner Date: Fri, 9 Jan 2026 16:42:24 -0500 Subject: [PATCH] Add a workaround for an issue in a specific `av` library version (16.1.0). `av` is depended on by `aiortc`, which is necessary for `pipecat-ai[webrtc]`. --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f75673cb6..f2469aa70 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -111,7 +111,8 @@ tavus=[] together = [] tracing = [ "opentelemetry-sdk>=1.33.0", "opentelemetry-api>=1.33.0", "opentelemetry-instrumentation>=0.54b0" ] ultravox = [ "pipecat-ai[websockets-base]" ] -webrtc = [ "aiortc>=1.13.0,<2", "opencv-python>=4.11.0.86,<5" ] +# av not allowed to be 16.1.0 because Python >3.12 wheels missing from that version (see https://github.com/PyAV-Org/PyAV/actions/runs/20863131608/job/59951744895) +webrtc = [ "aiortc>=1.13.0,<2", "opencv-python>=4.11.0.86,<5", "av!=16.1.0" ] websocket = [ "pipecat-ai[websockets-base]", "fastapi>=0.115.6,<0.122.0" ] websockets-base = [ "websockets>=13.1,<16.0" ] whisper = [ "faster-whisper~=1.1.1" ]