Skip to content

Failing to pass a value to the 'type_params' parameter of 'typing._eval_type' is deprecated in py3.13 #1111

@tlambert03

Description

@tlambert03

getting this warning in formats.dataclass.typing.evaluate:

E       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.

looks like the usage of the private typing._eval_type needs to be updated for python 3.13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions