Update qdrant-client minimum version from 1.7.0 to 1.11.0
• Bump qdrant-client to >=1.11.0
• Update pyproject.toml dependency
• Update requirements files
• Sync uv.lock with new version
• Maintain <2.0.0 upper bound
(cherry picked from commit e8f5f57ec7)
This commit is contained in:
parent
00d51f9dba
commit
8bb23b9bfa
4 changed files with 2176 additions and 1043 deletions
|
|
@ -23,13 +23,14 @@ classifiers = [
|
|||
dependencies = [
|
||||
"aiohttp",
|
||||
"configparser",
|
||||
"dotenv",
|
||||
"future",
|
||||
"google-api-core>=2.0.0,<3.0.0",
|
||||
"google-genai>=1.0.0,<2.0.0",
|
||||
"json_repair",
|
||||
"nano-vectordb",
|
||||
"networkx",
|
||||
"numpy",
|
||||
"pandas>=2.0.0",
|
||||
"pandas>=2.0.0,<2.4.0",
|
||||
"pipmaster",
|
||||
"pydantic",
|
||||
"pypinyin",
|
||||
|
|
@ -45,14 +46,13 @@ api = [
|
|||
# Core dependencies
|
||||
"aiohttp",
|
||||
"configparser",
|
||||
"dotenv",
|
||||
"future",
|
||||
"json_repair",
|
||||
"nano-vectordb",
|
||||
"networkx",
|
||||
"numpy",
|
||||
"openai",
|
||||
"pandas>=2.0.0",
|
||||
"openai>=1.0.0,<3.0.0",
|
||||
"pandas>=2.0.0,<2.4.0",
|
||||
"pipmaster",
|
||||
"pydantic",
|
||||
"pypinyin",
|
||||
|
|
@ -61,6 +61,8 @@ api = [
|
|||
"tenacity",
|
||||
"tiktoken",
|
||||
"xlsxwriter>=3.1.0",
|
||||
"google-api-core>=2.0.0,<3.0.0",
|
||||
"google-genai>=1.0.0,<2.0.0",
|
||||
# API-specific dependencies
|
||||
"aiofiles",
|
||||
"ascii_colors",
|
||||
|
|
@ -72,7 +74,7 @@ api = [
|
|||
"jiter",
|
||||
"passlib[bcrypt]",
|
||||
"psutil",
|
||||
"PyJWT",
|
||||
"PyJWT>=2.8.0,<3.0.0",
|
||||
"python-jose[cryptography]",
|
||||
"python-multipart",
|
||||
"pytz",
|
||||
|
|
@ -82,35 +84,34 @@ api = [
|
|||
# Offline deployment dependencies (layered design for flexibility)
|
||||
offline-docs = [
|
||||
# Document processing dependencies
|
||||
"docling>=1.0.0",
|
||||
"openpyxl>=3.0.0,<4.0.0",
|
||||
"pycryptodome>=3.0.0,<4.0.0",
|
||||
"pypdf2>=3.0.0",
|
||||
"python-docx>=0.8.11",
|
||||
"python-pptx>=0.6.21",
|
||||
"openpyxl>=3.0.0",
|
||||
"python-docx>=0.8.11,<2.0.0",
|
||||
"python-pptx>=0.6.21,<2.0.0",
|
||||
]
|
||||
|
||||
offline-storage = [
|
||||
# Storage backend dependencies
|
||||
"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",
|
||||
"redis>=5.0.0,<8.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.11.0,<2.0.0",
|
||||
]
|
||||
|
||||
offline-llm = [
|
||||
# LLM provider dependencies
|
||||
"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",
|
||||
"openai>=1.0.0,<3.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",
|
||||
"google-api-core>=2.0.0,<3.0.0",
|
||||
"google-genai>=1.0.0,<2.0.0",
|
||||
]
|
||||
|
||||
offline = [
|
||||
|
|
@ -118,6 +119,20 @@ offline = [
|
|||
"lightrag-hku[offline-docs,offline-storage,offline-llm]",
|
||||
]
|
||||
|
||||
evaluation = [
|
||||
# RAG evaluation dependencies (RAGAS framework)
|
||||
"ragas>=0.3.7",
|
||||
"datasets>=4.3.0",
|
||||
"httpx>=0.28.1",
|
||||
"pytest>=8.4.2",
|
||||
"pytest-asyncio>=1.2.0",
|
||||
]
|
||||
|
||||
observability = [
|
||||
# LLM observability and tracing dependencies
|
||||
"langfuse>=3.8.1",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
lightrag-server = "lightrag.api.lightrag_server:main"
|
||||
lightrag-gunicorn = "lightrag.api.run_with_gunicorn:main"
|
||||
|
|
@ -131,6 +146,7 @@ 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
|
||||
|
|
@ -139,7 +155,7 @@ include-package-data = true
|
|||
version = {attr = "lightrag.__version__"}
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
lightrag = ["api/webui/**/*"]
|
||||
lightrag = ["api/webui/**/*", "api/static/**/*"]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py310"
|
||||
|
|
|
|||
|
|
@ -3,12 +3,14 @@
|
|||
# For offline installation:
|
||||
# pip download -r requirements-offline-storage.txt -d ./packages
|
||||
# pip install --no-index --find-links=./packages -r requirements-offline-storage.txt
|
||||
#
|
||||
# Recommended: Use pip install lightrag-hku[offline-storage] for the same effect
|
||||
# Or use constraints: pip install --constraint constraints-offline.txt -r requirements-offline-storage.txt
|
||||
|
||||
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
|
||||
redis>=5.0.0
|
||||
# Storage backend dependencies (with version constraints matching pyproject.toml)
|
||||
asyncpg>=0.29.0,<1.0.0
|
||||
neo4j>=5.0.0,<7.0.0
|
||||
pymilvus>=2.6.2,<3.0.0
|
||||
pymongo>=4.0.0,<5.0.0
|
||||
qdrant-client>=1.11.0,<2.0.0
|
||||
redis>=5.0.0,<8.0.0
|
||||
|
|
|
|||
|
|
@ -4,30 +4,30 @@
|
|||
# pip download -r requirements-offline.txt -d ./packages
|
||||
# pip install --no-index --find-links=./packages -r requirements-offline.txt
|
||||
#
|
||||
# Or use pip install lightrag-hku[offline] for the same effect
|
||||
# Recommended: Use pip install lightrag-hku[offline] for the same effect
|
||||
# Or use constraints: pip install --constraint constraints-offline.txt -r requirements-offline.txt
|
||||
|
||||
aioboto3>=12.0.0
|
||||
anthropic>=0.18.0
|
||||
asyncpg>=0.29.0
|
||||
# Document processing dependencies
|
||||
docling>=1.0.0
|
||||
llama-index>=0.9.0
|
||||
neo4j>=5.0.0
|
||||
ollama>=0.1.0
|
||||
|
||||
# LLM provider dependencies
|
||||
openai>=1.0.0
|
||||
openpyxl>=3.0.0
|
||||
pymilvus>=2.6.2
|
||||
pymongo>=4.0.0
|
||||
pypdf2>=3.0.0
|
||||
python-docx>=0.8.11
|
||||
python-pptx>=0.6.21
|
||||
qdrant-client>=1.7.0
|
||||
# LLM provider dependencies (with version constraints matching pyproject.toml)
|
||||
aioboto3>=12.0.0,<16.0.0
|
||||
anthropic>=0.18.0,<1.0.0
|
||||
|
||||
# Storage backend dependencies
|
||||
redis>=5.0.0
|
||||
torch>=2.0.0
|
||||
transformers>=4.30.0
|
||||
voyageai>=0.2.0
|
||||
zhipuai>=2.0.0
|
||||
asyncpg>=0.29.0,<1.0.0
|
||||
google-genai>=1.0.0,<2.0.0
|
||||
|
||||
# Document processing dependencies
|
||||
llama-index>=0.9.0,<1.0.0
|
||||
neo4j>=5.0.0,<7.0.0
|
||||
ollama>=0.1.0,<1.0.0
|
||||
openai>=1.0.0,<3.0.0
|
||||
openpyxl>=3.0.0,<4.0.0
|
||||
pycryptodome>=3.0.0,<4.0.0
|
||||
pymilvus>=2.6.2,<3.0.0
|
||||
pymongo>=4.0.0,<5.0.0
|
||||
pypdf2>=3.0.0
|
||||
python-docx>=0.8.11,<2.0.0
|
||||
python-pptx>=0.6.21,<2.0.0
|
||||
qdrant-client>=1.11.0,<2.0.0
|
||||
redis>=5.0.0,<8.0.0
|
||||
voyageai>=0.2.0,<1.0.0
|
||||
zhipuai>=2.0.0,<3.0.0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue