Skip to content

Commit ef16296

Browse files
committed
Skip orjson on 3.14, stop skipping msgspec
1 parent 356aac1 commit ef16296

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/cattrs/disambiguators.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from dataclasses import MISSING
88
from functools import reduce
99
from operator import or_
10-
from typing import TYPE_CHECKING, Any, Callable, Literal, Union
10+
from typing import TYPE_CHECKING, Any, Callable, Literal, Union, get_origin
1111

1212
from attrs import NOTHING, Attribute, AttrsInstance
1313

@@ -16,7 +16,6 @@
1616
adapted_fields,
1717
fields_dict,
1818
get_args,
19-
get_origin,
2019
has,
2120
is_literal,
2221
is_union_type,

tests/test_preconf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
from cattrs.preconf.tomlkit import make_converter as tomlkit_make_converter
5353
from cattrs.preconf.ujson import make_converter as ujson_make_converter
5454

55-
NO_MSGSPEC: Final = python_implementation() == "PyPy" or sys.version_info[:2] >= (3, 13)
56-
NO_ORJSON: Final = python_implementation() == "PyPy"
55+
NO_MSGSPEC: Final = python_implementation() == "PyPy"
56+
NO_ORJSON: Final = python_implementation() == "PyPy" or sys.version_info[:2] >= (3, 14)
5757

5858

5959
@define

0 commit comments

Comments
 (0)