Skip to content

Commit e9b261d

Browse files
committed
Stop testing free-threaded on 3.13
1 parent 6ecf7f9 commit e9b261d

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ jobs:
6868
- '3.11'
6969
- '3.12'
7070
- '3.13'
71-
- '3.13t'
7271
- '3.14'
7372
- '3.14t'
7473
- 'pypy3.10'

tests/validators/test_dataclasses.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
from pydantic_core import ArgsKwargs, SchemaValidator, ValidationError, core_schema
1212

13-
from ..conftest import Err, PyAndJson, assert_gc, is_free_threaded
13+
from ..conftest import Err, PyAndJson, assert_gc
1414

1515

1616
@pytest.mark.parametrize(
@@ -1516,7 +1516,6 @@ def test_dataclass_wrap_json():
15161516
assert v.validate_json('{"a": "hello", "b": true}', strict=True) == FooDataclass(a='hello', b=True)
15171517

15181518

1519-
@pytest.mark.xfail(is_free_threaded and sys.version_info < (3, 14), reason='GC leaks on free-threaded (<3.14)')
15201519
@pytest.mark.xfail(
15211520
condition=platform.python_implementation() == 'PyPy', reason='https://foss.heptapod.net/pypy/pypy/-/issues/3899'
15221521
)

tests/validators/test_model_init.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from pydantic_core import CoreConfig, SchemaValidator, core_schema
99

10-
from ..conftest import assert_gc, is_free_threaded
10+
from ..conftest import assert_gc
1111

1212

1313
class MyModel:
@@ -412,7 +412,6 @@ def __init__(self, **kwargs):
412412
assert calls == ["{'a': '1'}", "{'a': '1', 'x': 4}"]
413413

414414

415-
@pytest.mark.xfail(is_free_threaded and sys.version_info < (3, 14), reason='GC leaks on free-threaded (<3.14)')
416415
@pytest.mark.xfail(
417416
condition=platform.python_implementation() == 'PyPy', reason='https://foss.heptapod.net/pypy/pypy/-/issues/3899'
418417
)

tests/validators/test_with_default.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
core_schema,
1717
)
1818

19-
from ..conftest import PyAndJson, assert_gc, is_free_threaded
19+
from ..conftest import PyAndJson, assert_gc
2020

2121

2222
def test_typed_dict_default():
@@ -642,7 +642,6 @@ def val_func(v: Any, handler: core_schema.ValidatorFunctionWrapHandler) -> Any:
642642
validator.validate_python('')
643643

644644

645-
@pytest.mark.xfail(is_free_threaded and sys.version_info < (3, 14), reason='GC leaks on free-threaded (<3.14)')
646645
@pytest.mark.xfail(
647646
condition=platform.python_implementation() == 'PyPy', reason='https://foss.heptapod.net/pypy/pypy/-/issues/3899'
648647
)

0 commit comments

Comments
 (0)