build: 更新依赖版本并添加pytest配置
将langchain相关依赖升级至1.x版本并添加版本范围限制 添加pytest的pythonpath和testpaths配置
This commit is contained in:
parent
f517cc06ee
commit
31abb735c6
|
|
@ -9,13 +9,13 @@ description = "TradingAgents: Multi-Agents LLM Financial Trading Framework"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"langchain-core>=0.3.81",
|
"langchain-core>=1.0.0,<2.0.0",
|
||||||
"backtrader>=1.9.78.123",
|
"backtrader>=1.9.78.123",
|
||||||
"chainlit>=2.5.5",
|
"chainlit>=2.5.5",
|
||||||
"langchain-anthropic>=0.3.15",
|
"langchain-anthropic>=1.0.0,<2.0.0",
|
||||||
"langchain-experimental>=0.3.4",
|
|
||||||
"langchain-google-genai>=2.1.5",
|
"langchain-google-genai>=2.1.5",
|
||||||
"langchain-openai>=0.3.23",
|
"langchain-openai>=1.0.0,<2.0.0",
|
||||||
|
"langchain-codex-oauth>=1.0,<1.1",
|
||||||
"langgraph>=0.4.8",
|
"langgraph>=0.4.8",
|
||||||
"pandas>=2.3.0",
|
"pandas>=2.3.0",
|
||||||
"parsel>=1.10.0",
|
"parsel>=1.10.0",
|
||||||
|
|
@ -38,3 +38,7 @@ tradingagents = "cli.main:app"
|
||||||
|
|
||||||
[tool.setuptools.packages.find]
|
[tool.setuptools.packages.find]
|
||||||
include = ["tradingagents*", "cli*"]
|
include = ["tradingagents*", "cli*"]
|
||||||
|
|
||||||
|
[tool.pytest.ini_options]
|
||||||
|
pythonpath = ["."]
|
||||||
|
testpaths = ["tests"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue