type evaluation needs to be updated for python 3.13
Closed this issue · 0 comments
tlambert03 commented
I noticed you mark xsdata as ready for python 3.13. I was updating one of my packages and hit a test error based on a warning that appears from xsdata:
DeprecationWarning("Failing to pass a value to the 'type_params' parameter of
'typing._eval_type' is deprecated, as it leads to incorrect behaviour when calling
typing._eval_type on a stringified annotation that references a PEP 695 type
parameter. It will be disallowed in Python 3.15.")
I typing._eval_type
needs to be updated inside of formats.dataclass.typing
to special case >=3.13