GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-python

`uvicorn-worker` requires `gunicorn` which is not available on Windows

Đang mở
#428 0 bình luận 0 reaction 1 người được giao Được @taeold nhận Xem trên GitHub
bug P2
Ngôn ngữ chính
Python
Star
968
Fork
128
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

The package has an unconditional dependency on `uvicorn-worker`:

https://github.com/GoogleCloudPlatform/functions-framework-python/blob/d13d9aa4666b553e0e435813ab799c6f43e96bd8/pyproject.toml#L35

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?

https://github.com/GoogleCloudPlatform/functions-framework-python/blob/d13d9aa4666b553e0e435813ab799c6f43e96bd8/pyproject.toml#L29

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.