From b927b60cc4fb76af84c7f6e3660687f43693f183 Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Sun, 7 Jun 2026 02:58:55 +0200 Subject: [PATCH] docs: note pydub/audioop Python 3.13 constraint at the import pydub imports the stdlib `audioop`, removed in Python 3.13, so audio preprocessing would break there. requires-python is already capped at < 3.13; this one-line pointer flags what to handle (audioop-lts, or drop pydub) before raising that cap. --- backend/open_webui/routers/audio.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/open_webui/routers/audio.py b/backend/open_webui/routers/audio.py index 441915972d..c0e0ee6ccc 100644 --- a/backend/open_webui/routers/audio.py +++ b/backend/open_webui/routers/audio.py @@ -28,6 +28,8 @@ from fastapi import ( ) from fastapi.responses import FileResponse from pydantic import BaseModel + +# pydub needs stdlib audioop (gone in 3.13); keep requires-python capped < 3.13 from pydub import AudioSegment from pydub.silence import split_on_silence from pydub.utils import mediainfo