From 012c8e8e4a97ee50cb7d8e886053bc44bf83c1dd Mon Sep 17 00:00:00 2001 From: Wenjie Zhang Date: Wed, 25 Jun 2025 02:12:01 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20Python=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=92=8C=E4=BE=9D=E8=B5=96=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 Python 版本从 3.11 更新至 3.12。 - 修改 mineru 依赖版本至 2.0.6。 - 移除不再需要的 sentencepiece 依赖。 - 新增开发依赖组,包含 vllm 依赖。 --- .python-version | 2 +- pyproject.toml | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.python-version b/.python-version index 2c073331..e4fba218 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.11 +3.12 diff --git a/pyproject.toml b/pyproject.toml index 111add48..21166fdf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ dependencies = [ "langsmith>=0.3.37", "llama-index>=0.12.33", "llama-index-readers-file>=0.4.7", - "mineru[all]>=2.0.3", + "mineru>=2.0.6", "neo4j>=5.28.1", "openai>=1.76.0", "opencv-python-headless>=4.11.0.86", @@ -36,7 +36,6 @@ dependencies = [ "pyyaml>=6.0.2", "qianfan>=0.4.12.3", "rapidocr-onnxruntime>=1.4.4", - "sentencepiece>=0.2.0", "tavily-python>=0.7.0", "unstructured>=0.17.2", "uvicorn[standard]>=0.34.2", @@ -51,3 +50,8 @@ lint.select = [ # 选择的规则 "UP", ] lint.ignore = ["F401"] # 忽略的规则 + +[dependency-groups] +dev = [ + "vllm>=0.8.5.post1", +]