Replace pytest group reference with explicit dependencies in evaluation

• Remove pytest group dependency
• Add explicit pytest>=8.4.2
• Add pytest-asyncio>=1.2.0
• Add pre-commit directly
• Fix potential circular dependency

(cherry picked from commit 472b498ade)
This commit is contained in:
yangdx 2025-11-18 12:17:21 +08:00 committed by Raphaël MANSUY
parent d790a660cd
commit a6fc87d50e

View file

@ -131,8 +131,10 @@ offline = [
]
evaluation = [
# Test framework (reference pytest group)
"lightrag-hku[pytest]",
# Test framework dependencies (for evaluation)
"pytest>=8.4.2",
"pytest-asyncio>=1.2.0",
"pre-commit",
# RAG evaluation dependencies (RAGAS framework)
"ragas>=0.3.7",
"datasets>=4.3.0",