fix(deps): numpy is a runtime dependency of packages/retrieval, not spike-only

T8 的 DeterministicEmbedder 在主依赖里 import numpy,但它此前只随 spike
extra 安装——纯 dev 环境(也是 CI 的 uv sync --extra dev)四 个测试文件
直接 ModuleNotFoundError。移入主依赖。
This commit is contained in:
xsl
2026-08-14 20:58:57 +08:00
parent 9c1802130d
commit 07e5197ec4
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -22,6 +22,7 @@ dependencies = [
"prometheus-client>=0.21",
"cos-python-sdk-v5>=1.9.44",
"tencentcloud-sdk-python-sms>=3.1.153",
"numpy>=2.5.2",
]
[project.optional-dependencies]