Skip to content

Commit 61df0e2f5e90 introduced a requirement for asgiref 3.6.0+ #1255

Closed
@vainu-arto

Description

@vainu-arto

In commit 61df0e2 the middleware started using function iscoroutinefunction from asgiref.sync. This function is introduced in version 3.6.0.

It seems that this commit also introduced a hard dependency on asgiref which previously didn't exist (the use in models.py is conditional).

The easy fix is to add a versioned requirement for asgiref.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions