From 9517033d959a22ef884d69ffbca299a73e944e0b Mon Sep 17 00:00:00 2001 From: StarHeartHunt Date: Wed, 30 Jul 2025 14:58:17 +0800 Subject: [PATCH 1/3] :construction_worker: add py313 and py313t to test matrix --- .github/workflows/codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 8d5b840a0062..ee440846dca7 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", "3.13t"] os: [ubuntu-latest, windows-latest, macos-latest] env: [pydantic-v1, pydantic-v2] env: From f50929fe64d89391b73cc39b8b92413af30ef586 Mon Sep 17 00:00:00 2001 From: StarHeartHunt Date: Fri, 1 Aug 2025 09:56:06 +0800 Subject: [PATCH 2/3] :fire: remove 3.13t --- .github/workflows/codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index ee440846dca7..7e42ae11ef27 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", "3.13", "3.13t"] + 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: From e82c7635cc03d7e67294893c530cc876787e176c Mon Sep 17 00:00:00 2001 From: StarHeartHunt Date: Tue, 26 Aug 2025 10:23:42 +0800 Subject: [PATCH 3/3] :white_check_mark: expect fail on 3.13 --- tests/test_param.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_param.py b/tests/test_param.py index bf561c9ecb87..76d28b477112 100644 --- a/tests/test_param.py +++ b/tests/test_param.py @@ -1,5 +1,6 @@ from contextlib import suppress import re +import sys from exceptiongroup import BaseExceptionGroup from nonebug import App @@ -41,6 +42,10 @@ @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,