Skip to content

Commit b52905b

Browse files
✅ CI: 测试矩阵加入 Python 3.13 (#3605)
1 parent 9e9c1a2 commit b52905b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
python-version: ["3.9", "3.10", "3.11", "3.12"]
28+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2929
os: [ubuntu-latest, windows-latest, macos-latest]
3030
env: [pydantic-v1, pydantic-v2]
3131
env:

tests/test_param.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242

4343

4444
@pytest.mark.anyio
45+
@pytest.mark.xfail(
46+
(3, 13) <= sys.version_info < (3, 14),
47+
reason="CPython Bug, see python/cpython#137317, python/cpython#137862",
48+
)
4549
async def test_depend(app: App):
4650
from plugins.param.param_depend import (
4751
ClassDependency,

0 commit comments

Comments
 (0)