Skip to content

python3.14 crashes: AttributeError: 'AuthConfig' object has no attribute '__annotations__'. #95

@purarue

Description

@purarue
File "~/.local/lib/python3.14/site-packages/trakt/api.py", line 206, in get_token
    self.config.load()
    ~~~~~~~~~~~~~~~~^^
  File "~/.local/lib/python3.14/site-packages/trakt/config.py", line 58, in load
    for key in self.__annotations__.keys():
               ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'AuthConfig' object has no attribute '__annotations__'. Did you mean: '__annotate_func__'?

When migrating to python3.14, I get the following. I imagine __annotations__ has been removed from the base object class

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