Update pymilvus to >=2.6.2 and add protobuf compatibility constraint
(cherry picked from commit 49197fbfc0)
This commit is contained in:
parent
de011c99a4
commit
7525c7836c
2 changed files with 28 additions and 24 deletions
|
|
@ -23,12 +23,13 @@ classifiers = [
|
|||
dependencies = [
|
||||
"aiohttp",
|
||||
"configparser",
|
||||
"dotenv",
|
||||
"future",
|
||||
"json_repair",
|
||||
"nano-vectordb",
|
||||
"networkx",
|
||||
"numpy",
|
||||
"pandas>=2.0.0,<2.3.0",
|
||||
"pandas>=2.0.0",
|
||||
"pipmaster",
|
||||
"pydantic",
|
||||
"pypinyin",
|
||||
|
|
@ -44,13 +45,14 @@ api = [
|
|||
# Core dependencies
|
||||
"aiohttp",
|
||||
"configparser",
|
||||
"dotenv",
|
||||
"future",
|
||||
"json_repair",
|
||||
"nano-vectordb",
|
||||
"networkx",
|
||||
"numpy",
|
||||
"openai>=1.0.0,<2.0.0",
|
||||
"pandas>=2.0.0,<2.3.0",
|
||||
"openai",
|
||||
"pandas>=2.0.0",
|
||||
"pipmaster",
|
||||
"pydantic",
|
||||
"pypinyin",
|
||||
|
|
@ -70,7 +72,7 @@ api = [
|
|||
"jiter",
|
||||
"passlib[bcrypt]",
|
||||
"psutil",
|
||||
"PyJWT>=2.8.0,<3.0.0",
|
||||
"PyJWT",
|
||||
"python-jose[cryptography]",
|
||||
"python-multipart",
|
||||
"pytz",
|
||||
|
|
@ -80,33 +82,35 @@ api = [
|
|||
# Offline deployment dependencies (layered design for flexibility)
|
||||
offline-docs = [
|
||||
# Document processing dependencies
|
||||
"docling>=1.0.0",
|
||||
"pypdf2>=3.0.0",
|
||||
"python-docx>=0.8.11,<2.0.0",
|
||||
"python-pptx>=0.6.21,<2.0.0",
|
||||
"openpyxl>=3.0.0,<4.0.0",
|
||||
"python-docx>=0.8.11",
|
||||
"python-pptx>=0.6.21",
|
||||
"openpyxl>=3.0.0",
|
||||
]
|
||||
|
||||
offline-storage = [
|
||||
# Storage backend dependencies
|
||||
"redis>=5.0.0,<7.0.0",
|
||||
"neo4j>=5.0.0,<7.0.0",
|
||||
"pymilvus>=2.6.2,<3.0.0",
|
||||
"pymongo>=4.0.0,<5.0.0",
|
||||
"asyncpg>=0.29.0,<1.0.0",
|
||||
"qdrant-client>=1.7.0,<2.0.0",
|
||||
"redis>=5.0.0",
|
||||
"neo4j>=5.0.0",
|
||||
"pymilvus>=2.6.2",
|
||||
"protobuf>=5.27.2,<6.0.0", # Required for pymilvus compatibility
|
||||
"pymongo>=4.0.0",
|
||||
"asyncpg>=0.29.0",
|
||||
"qdrant-client>=1.7.0",
|
||||
]
|
||||
|
||||
offline-llm = [
|
||||
# LLM provider dependencies
|
||||
"openai>=1.0.0,<2.0.0",
|
||||
"anthropic>=0.18.0,<1.0.0",
|
||||
"ollama>=0.1.0,<1.0.0",
|
||||
"zhipuai>=2.0.0,<3.0.0",
|
||||
"aioboto3>=12.0.0,<16.0.0",
|
||||
"voyageai>=0.2.0,<1.0.0",
|
||||
"llama-index>=0.9.0,<1.0.0",
|
||||
"transformers>=4.30.0,<5.0.0",
|
||||
"torch>=2.0.0,<2.3.0",
|
||||
"openai>=1.0.0",
|
||||
"anthropic>=0.18.0",
|
||||
"ollama>=0.1.0",
|
||||
"zhipuai>=2.0.0",
|
||||
"aioboto3>=12.0.0",
|
||||
"voyageai>=0.2.0",
|
||||
"llama-index>=0.9.0",
|
||||
"transformers>=4.30.0",
|
||||
"torch>=2.0.0",
|
||||
]
|
||||
|
||||
offline = [
|
||||
|
|
@ -127,7 +131,6 @@ Repository = "https://github.com/HKUDS/LightRAG"
|
|||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["lightrag*"]
|
||||
exclude = ["data*", "tests*", "scripts*", "examples*", "dickens*", "reproduce*", "output_complete*", "rag_storage*", "inputs*"]
|
||||
|
||||
[tool.setuptools]
|
||||
include-package-data = true
|
||||
|
|
@ -136,7 +139,7 @@ include-package-data = true
|
|||
version = {attr = "lightrag.__version__"}
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
lightrag = ["api/webui/**/*", "api/static/**/*"]
|
||||
lightrag = ["api/webui/**/*"]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py310"
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
asyncpg>=0.29.0
|
||||
neo4j>=5.0.0
|
||||
pymilvus>=2.6.2
|
||||
protobuf>=5.27.2,<6.0.0 # Required for pymilvus compatibility
|
||||
pymongo>=4.0.0
|
||||
qdrant-client>=1.7.0
|
||||
# Storage backend dependencies
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue