fix: 修正 typing-extensions 依赖条件为 python_version < '3.13'
CI / Lint & Typecheck (push) Failing after 15m3s
CI / Test (Python 3.11) (push) Failing after 24m15s
CI / Test (Python 3.13) (push) Failing after 27m17s
CI / Test (Python 3.8) (push) Failing after 5m56s
CI / Docs Build (push) Failing after 31s

task.py 在 Python < 3.13 时需要 typing_extensions 的 TypeVar
(PEP 696 default= 参数), 此前条件 < '3.10' 导致 3.10-3.12
环境 import 失败, ReadTheDocs (Python 3.11) 构建报
ModuleNotFoundError: No module named 'typing_extensions'.
This commit is contained in:
2026-07-05 13:16:24 +08:00
parent fbd17536fd
commit 3afb25bb5e
+1 -1
View File
@@ -14,7 +14,7 @@ classifiers = [
dependencies = [
"graphlib_backport >= 1.0.0; python_version < '3.9'",
"pyyaml>=6.0.1",
"typing-extensions>=4.13.2; python_version < '3.10'",
"typing-extensions>=4.13.2; python_version < '3.13'",
]
description = "Lightweight, type-safe DAG task scheduler with multi-strategy execution."
keywords = ["async", "dag", "scheduler", "task", "workflow"]