Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

Remove nest_asyncio dependency #682

Closed

Description

@douglas-raillard-arm

The author of nest_asyncio has passed away and the project is now abandoned: https://github.com/erdewit/nest_asyncio

Unfortunately, nest_asyncio in its current state does not support alternative event loops like uvloop, used by a number of project, e.g. the gunicorn WSGI server. According to this issue, the Python stdlib still does not have any plan on supporting nested event loop, but someone seems to have found a way to run an async function in synchronous world without an event loop at all: https://stackoverflow.com/questions/78170266/python-decorator-for-async-and-sync-function-without-code-duplication/78170267#78170267

I'll have a look tomorrow at that option and try to make a PR to remove the dependency

Activity

  1. douglas-raillard-arm commented on Apr 25, 2024

    @douglas-raillard-arm
    CollaboratorAuthor

    Another possible avenue is: https://github.com/oremanj/greenback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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