From 5d30b3a9085dbca1518637dae80f06d18702cda7 Mon Sep 17 00:00:00 2001 From: UnCLAS-Prommer Date: Fri, 13 Mar 2026 11:57:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E4=B8=8A=E7=BC=BA=E5=A4=B1=E7=9A=84?= =?UTF-8?q?=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 3 ++- requirements.txt | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2a57ff6e..e2f97d54 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ dependencies = [ "python-dotenv>=1.1.1", "python-multipart>=0.0.20", "python-levenshtein", + "pytz>=2024.1", # Babel 的依赖,需要显式声明 "quick-algo>=0.1.4", "rich>=14.0.0", "ruff>=0.12.2", @@ -67,7 +68,7 @@ select = [ "B", # flake8-bugbear ] -ignore = ["E711","E501"] +ignore = ["E711", "E501"] [tool.ruff.format] docstring-code-format = true diff --git a/requirements.txt b/requirements.txt index 3810bf8f..1b2367db 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ +Babel>=2.17.0 aiohttp-cors>=0.8.1 aiohttp>=3.12.14 -Babel>=2.17.0 colorama>=0.4.6 faiss-cpu>=1.11.0 fastapi>=0.116.0 @@ -10,6 +10,7 @@ json-repair>=0.47.6 maibot-plugin-sdk>=1.2.3 maim-message>=0.6.2 matplotlib>=3.10.3 +msgpack>=1.1.2 numpy>=2.2.6 openai>=1.95.0 pandas>=2.3.1 @@ -20,6 +21,7 @@ pypinyin>=0.54.0 python-dotenv>=1.1.1 python-levenshtein python-multipart>=0.0.20 +pytz>=2024.1 quick-algo>=0.1.4 rich>=14.0.0 ruff>=0.12.2 @@ -31,5 +33,4 @@ toml>=0.10.2 tomlkit>=0.13.3 urllib3>=2.5.0 uvicorn>=0.35.0 -msgpack>=1.1.2 -watchfiles>=1.1.1 +watchfiles>=1.1.1 \ No newline at end of file