diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45cfa569f..8d33e7dfe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,7 +68,6 @@ jobs: - '3.11' - '3.12' - '3.13' - - '3.13t' - '3.14' - '3.14t' - 'pypy3.10' diff --git a/tests/validators/test_dataclasses.py b/tests/validators/test_dataclasses.py index 4b5b4afa6..6ae9f54f9 100644 --- a/tests/validators/test_dataclasses.py +++ b/tests/validators/test_dataclasses.py @@ -10,7 +10,7 @@ from pydantic_core import ArgsKwargs, SchemaValidator, ValidationError, core_schema -from ..conftest import Err, PyAndJson, assert_gc, is_free_threaded +from ..conftest import Err, PyAndJson, assert_gc @pytest.mark.parametrize( @@ -1516,7 +1516,6 @@ def test_dataclass_wrap_json(): assert v.validate_json('{"a": "hello", "b": true}', strict=True) == FooDataclass(a='hello', b=True) -@pytest.mark.xfail(is_free_threaded and sys.version_info < (3, 14), reason='GC leaks on free-threaded (<3.14)') @pytest.mark.xfail( condition=platform.python_implementation() == 'PyPy', reason='https://foss.heptapod.net/pypy/pypy/-/issues/3899' ) diff --git a/tests/validators/test_model_init.py b/tests/validators/test_model_init.py index c15f8970d..463a9a48a 100644 --- a/tests/validators/test_model_init.py +++ b/tests/validators/test_model_init.py @@ -1,5 +1,4 @@ import platform -import sys import weakref import pytest @@ -7,7 +6,7 @@ from pydantic_core import CoreConfig, SchemaValidator, core_schema -from ..conftest import assert_gc, is_free_threaded +from ..conftest import assert_gc class MyModel: @@ -412,7 +411,6 @@ def __init__(self, **kwargs): assert calls == ["{'a': '1'}", "{'a': '1', 'x': 4}"] -@pytest.mark.xfail(is_free_threaded and sys.version_info < (3, 14), reason='GC leaks on free-threaded (<3.14)') @pytest.mark.xfail( condition=platform.python_implementation() == 'PyPy', reason='https://foss.heptapod.net/pypy/pypy/-/issues/3899' ) diff --git a/tests/validators/test_with_default.py b/tests/validators/test_with_default.py index 2559305a8..bb8775305 100644 --- a/tests/validators/test_with_default.py +++ b/tests/validators/test_with_default.py @@ -16,7 +16,7 @@ core_schema, ) -from ..conftest import PyAndJson, assert_gc, is_free_threaded +from ..conftest import PyAndJson, assert_gc def test_typed_dict_default(): @@ -642,7 +642,6 @@ def val_func(v: Any, handler: core_schema.ValidatorFunctionWrapHandler) -> Any: validator.validate_python('') -@pytest.mark.xfail(is_free_threaded and sys.version_info < (3, 14), reason='GC leaks on free-threaded (<3.14)') @pytest.mark.xfail( condition=platform.python_implementation() == 'PyPy', reason='https://foss.heptapod.net/pypy/pypy/-/issues/3899' )