This is an automated email from the ASF dual-hosted git repository.
jin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-ai.git
The following commit(s) were added to refs/heads/main by this push:
new 0bf31d2 fix(llm): limit the deps version to handle critical init
problems (#279)
0bf31d2 is described below
commit 0bf31d23b327606fbb3ccf38ec0971793560de1a
Author: imbajin <[email protected]>
AuthorDate: Thu Jun 19 21:35:55 2025 +0800
fix(llm): limit the deps version to handle critical init problems (#279)
Note:
DON'T USE `xxx > x.x` in python deps management (This would lead to
unforeseeable disaster:👿)
refer:
https://github.com/gradio-app/gradio/issues/10649#issuecomment-2764623464
---
hugegraph-llm/pyproject.toml | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/hugegraph-llm/pyproject.toml b/hugegraph-llm/pyproject.toml
index 8d2a83c..4ab5d09 100644
--- a/hugegraph-llm/pyproject.toml
+++ b/hugegraph-llm/pyproject.toml
@@ -35,18 +35,19 @@ dependencies = [
"ollama~=0.4.8",
"qianfan~=0.3.18",
"retry~=0.9.2",
- "tiktoken>=0.7.0",
+ "tiktoken~=0.7.0",
"nltk~=3.9.1",
- "gradio>5.0.0",
- "jieba>=0.42.1",
+ "gradio~=5.20.0",
+ "jieba~=0.42.1",
"numpy~=1.24.4",
"python-docx~=1.1.2",
"langchain-text-splitters~=0.2.2",
"faiss-cpu~=1.8.0",
- "python-dotenv>=1.0.1",
+ "python-dotenv~=1.0.1",
"pyarrow~=17.0.0",
"pandas<2.2.2",
"openpyxl~=3.1.5",
+ "pydantic~=2.10.6",
"pydantic-settings~=2.6.1",
"decorator~=5.1.1",
"requests~=2.32.0",
@@ -55,7 +56,7 @@ dependencies = [
"rich~=13.9.4",
"apscheduler~=3.10.4",
"litellm~=1.61.13",
- "hugegraph-python-client"
+ "hugegraph-python-client",
]
[project.urls]
homepage = "https://hugegraph.apache.org/"