Skip to content

uvicorn-worker requires gunicorn which is not available on Windows #428

Description

@mgorny

The package has an unconditional dependency on uvicorn-worker:

"uvicorn-worker>=0.2.0,<1.0.0; python_version>='3.8'",

However, uvicorn-worker depends on gunicorn which isn't available on Windows:

https://github.com/Kludex/uvicorn-worker/blob/cd29cc6447cff3abc968e930023dc97e5e5080f9/pyproject.toml#L26

FWICS the dependency is actually unconditional:

https://github.com/Kludex/uvicorn-worker/blob/cd29cc6447cff3abc968e930023dc97e5e5080f9/uvicorn_worker/_workers.py#L39-L40

Does that mean that the uvicorn-worker dependency should be also skipped on Windows, like the direct gunicorn dependency is?

"gunicorn>=22.0.0; platform_system!='Windows'",

Activity

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

Metadata

Metadata

Assignees

Labels

P2bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions