Skip to content

Commit f8c24a1

Browse files
Pigbibiclaude
andauthored
chore: bump requires-python from 3.9 to 3.10, ruff target-version py39→py310 (#117)
QPK 代码已使用 X | Y pipe union 语法(Python 3.10+),但声明的是 >=3.9。 CI 只测 3.11,所以 py39 这个声明不实。修正并同步 ruff target。 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0b2ba10 commit f8c24a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "quant-platform-kit"
77
version = "0.7.41"
88
description = "QuantStrategyLab shared runtime: broker adapters, domain models, execution ports, cloud provider abstraction, and notification utilities."
99
readme = "README.md"
10-
requires-python = ">=3.9"
10+
requires-python = ">=3.10"
1111
license = { text = "MIT" }
1212
authors = [
1313
{ name = "QuantStrategyLab" }
@@ -21,4 +21,4 @@ package-dir = { "" = "src" }
2121
where = ["src"]
2222

2323
[tool.ruff]
24-
target-version = "py39"
24+
target-version = "py310"

0 commit comments

Comments
 (0)