Skip to content

Secondary dependency with authlib #11

@cdce8p

Description

@cdce8p

The Home Assistant integration uses PointSession.ensure_active_token which is inherited from AsyncOAuth2Client (authlib).
Unfortunately, authlib 1.0 changed the function signature which means that the existing code is silently incompatible. pypoint itself doesn't pin authlib.

I've added a constraint for authlib to HA in home-assistant/core#68176. However, ideally pypoint would manage the dependency itself. So that HA doesn't need that constraint anymore.

Either by pinning authlib<1.0 or authlib>1.0 and updating the function signature / creating a wrapper function.

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