本次同步 09-12 至 09-28 的代码变更,主要内容: 新增功能 - 修改密码:后端新增 ChangePasswordRequest DTO 与UserController/UserService 对应接口,前端新增 ChangePasswordDialog 并在 Header 接入入口 - 文件预览组件重构:file-preview 目录拆分出 VideoPreview(支持 blobUrl 直传)、 ImagePreview、AudioPreview,index.tsx 统一调度各类型预览器 - 新增 my_ops 算子模块:markitdown_parser、mineru_pdf_parser、text_quality_evaluator - 新增 tools/minio-file-server MinIO 文件服务 功能增强 - 数据清洗:cleaning_task_service/scheduler/routes 重构, data_juicer_executor 与 wrapper 增强,OperatorTable/LogsTable/TaskDetail 同步调整 - 数据标注:annotation sync.py、project.py 接口与schema 更新 - 数据采集、算子市场、首页与菜单路由相关页面调整 - DataJuicer 算子接入(useOperatorOperations、dj_ops_schema) 结构调整 - deepflow/ 更名为 deep-flow/(419 个文件重命名) - 新增 helm 部署编排、GitHub Actions 之外的自建镜像构建脚本 未纳入本次提交 - scripts-backup/、runtime/python-executor-backup/、components_backup/(备份目录) - *.backup*、__pycache__ 产物 - zh_core_web_sm-3.8.0-py3-none-any.whl(46MB 构建产物) - DataX/(内嵌独立仓库,远程亦未收录其源码)
92 lines
1.9 KiB
TOML
92 lines
1.9 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "deep-flow"
|
|
version = "0.1.0"
|
|
description = "DeerFlow project"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"httpx>=0.28.1",
|
|
"langchain-community>=0.3.19",
|
|
"langchain-experimental>=0.3.4",
|
|
"langchain-openai>=0.3.8",
|
|
"langgraph>=0.3.5",
|
|
"readabilipy>=0.3.0",
|
|
"python-dotenv>=1.0.1",
|
|
"socksio>=1.0.0",
|
|
"markdownify>=1.1.0",
|
|
"fastapi>=0.110.0",
|
|
"uvicorn>=0.27.1",
|
|
"sse-starlette>=1.6.5",
|
|
"pandas>=2.2.3",
|
|
"numpy>=2.2.3",
|
|
"yfinance>=0.2.54",
|
|
"litellm>=1.63.11",
|
|
"json-repair>=0.7.0",
|
|
"jinja2>=3.1.3",
|
|
"duckduckgo-search>=8.0.0",
|
|
"inquirerpy>=0.3.4",
|
|
"arxiv>=2.2.0",
|
|
"mcp>=1.11.0",
|
|
"langchain-mcp-adapters>=0.0.9",
|
|
"langchain-deepseek>=0.1.3",
|
|
"langchain-google-genai>=2.0.6",
|
|
"wikipedia>=1.4.0",
|
|
"langchain-tavily<0.3",
|
|
"langgraph-checkpoint-mongodb>=0.1.4",
|
|
"langgraph-checkpoint-postgres==2.0.21",
|
|
"pymilvus>=2.3.0",
|
|
"langchain-milvus>=0.2.1",
|
|
"psycopg[binary]>=3.2.9",
|
|
"qdrant-client>=1.15.1",
|
|
"langchain-qdrant>=0.2.0,<1.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"ruff",
|
|
"langgraph-cli[inmem]>=0.2.10",
|
|
]
|
|
test = [
|
|
"pytest>=7.4.0",
|
|
"pytest-cov>=4.1.0",
|
|
"pytest-asyncio>=1.0.0",
|
|
"pytest-cov>=6.0.0",
|
|
"asyncpg-stubs>=0.30.2",
|
|
"mongomock>=4.3.0",
|
|
"pytest-postgresql>=7.0.2",
|
|
]
|
|
|
|
[tool.uv]
|
|
required-version = ">=0.6.15"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
addopts = "-v --cov=src --cov-report=term-missing"
|
|
filterwarnings = [
|
|
"ignore::DeprecationWarning",
|
|
"ignore::UserWarning",
|
|
]
|
|
|
|
[tool.coverage.report]
|
|
fail_under = 25
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src"]
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
indent-width = 4
|
|
target-version = "py312"
|
|
extend-include = ["*.pyi"]
|
|
|
|
[tool.ruff.format]
|
|
indent-style = "space"
|
|
line-ending = "auto"
|
|
exclude = ['^/build/']
|
|
|