From 9487585aae4bd9a05f46504c8c3b5befb5e4688d Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Thu, 18 Sep 2025 22:20:54 +0800 Subject: [PATCH] feat: add audioop-lts dependencies pydub needs audioop as a requirement but this builtin package has been removed in 3.13 --- pyproject.toml | 2 ++ requirements.txt | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index fbd85c6bf..b1ca762f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,6 +49,8 @@ dependencies = [ "watchfiles>=1.0.5", "websockets>=15.0.1", "wechatpy>=1.8.18", + "audioop-lts ; python_full_version >= '3.13'", + "click>=8.2.1", ] [project.scripts] diff --git a/requirements.txt b/requirements.txt index ef778d226..7ab79a34b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -42,4 +42,5 @@ slack-sdk pydub sqlmodel deprecated -sqlalchemy[asyncio] \ No newline at end of file +sqlalchemy[asyncio] +audioop-lts; python_version>='3.13' \ No newline at end of file