From b52905b8ee8576791f6f21e974c28e7583767c24 Mon Sep 17 00:00:00 2001 From: StarHeart Date: Tue, 26 Aug 2025 10:29:11 +0800 Subject: [PATCH] =?UTF-8?q?:white=5Fcheck=5Fmark:=20CI:=20=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=9F=A9=E9=98=B5=E5=8A=A0=E5=85=A5=20Python=203.13?= =?UTF-8?q?=20(#3605)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/codecov.yml | 2 +- tests/test_param.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 0e7b8d0f..9a95abbe 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -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: diff --git a/tests/test_param.py b/tests/test_param.py index 9276865f..05924a75 100644 --- a/tests/test_param.py +++ b/tests/test_param.py @@ -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,