mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-10-14 14:46:58 +00:00
🐛 Fix: 兼容 pydantic v2.12 FieldInfo
改动 (#3722)
This commit is contained in:
@@ -42,6 +42,8 @@ all = [
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
{ include-group = "test" },
|
||||
{ include-group = "docs" },
|
||||
"ruff >=0.14.0, <0.15.0",
|
||||
"nonemoji >=0.1.2, <0.2.0",
|
||||
"pre-commit >=4.0.0, <5.0.0",
|
||||
@@ -51,7 +53,7 @@ test = [
|
||||
"nonebug >=0.4.1, <0.5.0",
|
||||
"wsproto >=1.2.0, <2.0.0",
|
||||
"werkzeug >=2.3.6, <4.0.0",
|
||||
"pytest-cov >=6.0.0, <7.0.0",
|
||||
"pytest-cov >=7.0.0, <8.0.0",
|
||||
"pytest-xdist >=3.0.2, <4.0.0",
|
||||
"coverage-conditional-plugin >=0.9.0, <0.10.0",
|
||||
]
|
||||
@@ -69,7 +71,6 @@ Funding = "https://afdian.com/@nonebot"
|
||||
|
||||
[tool.uv]
|
||||
required-version = ">=0.8.0"
|
||||
default-groups = ["dev", "test", "docs"]
|
||||
conflicts = [[{ group = "pydantic-v1" }, { group = "pydantic-v2" }]]
|
||||
|
||||
[tool.uv.build-backend]
|
||||
@@ -143,5 +144,5 @@ reportShadowedImports = false
|
||||
disableBytesTypePromotions = true
|
||||
|
||||
[build-system]
|
||||
requires = ["uv_build >=0.8.3, <0.9.0"]
|
||||
requires = ["uv_build >=0.8.3, <0.10.0"]
|
||||
build-backend = "uv_build"
|
||||
|
Reference in New Issue
Block a user