Skip to content

Issue warning when gevent used with free-threaded python #811

@LincolnPuzey

Description

@LincolnPuzey

Reading the gevent docs, though, my understanding is that using gevent will simply enable the GIL, so maybe a warning would be more appropriate when dramatiq-gevent is run in a free-threading Python.

Originally posted by @Bogdanp in #785 (comment)


We should add a check to detect free-threaded python in the gevent entry point files (dramatiq-gevent and pytest-gevent.py), and issue a python warning when it is detected.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions