chore: 调整Python版本与依赖适配,新增性能报告测试与工具函数

1.  将Python版本从3.13降级到3.11
2.  为typing-extensions添加版本适配标记
3.  简化dev依赖组,移除pysnooper
4.  重构perf_timer,提取_generate_report独立函数
5.  新增性能报告生成与测试用例
This commit is contained in:
2026-06-27 20:47:29 +08:00
parent d58fc5536e
commit b62a544569
5 changed files with 71 additions and 24 deletions
+2 -5
View File
@@ -13,7 +13,7 @@ classifiers = [
]
dependencies = [
"graphlib_backport >= 1.0.0; python_version < '3.9'",
"typing-extensions>=4.13.2",
"typing-extensions>=4.13.2; python_version < '3.10'",
]
description = "Lightweight, type-safe DAG task scheduler with multi-strategy execution."
keywords = ["async", "dag", "scheduler", "task", "workflow"]
@@ -93,10 +93,7 @@ packages = ["src/pyflowx"]
pyflowx = { workspace = true }
[dependency-groups]
dev = [
"pyflowx[dev,office,llm]",
"pysnooper>=1.2.3",
]
dev = ["pyflowx[dev,office,llm]"]
[tool.coverage.run]
branch = true