CI: 测试矩阵加入 Python 3.13 (#3605)

This commit is contained in:
StarHeart
2025-08-26 10:29:11 +08:00
committed by GitHub
parent 9e9c1a27e5
commit b52905b8ee
2 changed files with 5 additions and 1 deletions

View File

@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
os: [ubuntu-latest, windows-latest, macos-latest]
env: [pydantic-v1, pydantic-v2]
env:

View File

@ -42,6 +42,10 @@ UNKNOWN_PARAM = "Unknown parameter"
@pytest.mark.anyio
@pytest.mark.xfail(
(3, 13) <= sys.version_info < (3, 14),
reason="CPython Bug, see python/cpython#137317, python/cpython#137862",
)
async def test_depend(app: App):
from plugins.param.param_depend import (
ClassDependency,