You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug is reproducible against the latest release and/or master.
There are no similar issues or pull requests to fix it yet.
Describe the bug
After #666 , uvloop and and httptools are no longer installed unless you specify to install the 'standard' extra. Because of this when running with loop='auto' and http='auto' the application fails to start due to 'uvloop' and 'httptools' being selected. NOTE: This only happens when running the uvicorn.workers.UvicornWorker through something like Gunicorn.
'auto' should pick 'asyncio' and 'h11' for their respective settings on Linux if the 'standard' extra is not installed.
Actual behavior
Application starts up but immediately throws ModuleNotFoundError: No module named 'uvloop'. If you install uvloop it then complains about not finding httptools. After installing both, no more issues occur.
Debugging material
Environment
Running uvicorn 0.12.1 with CPython 3.7.6 on Linux
Additional context
The text was updated successfully, but these errors were encountered:
Checklist
master
.Describe the bug
After #666 , uvloop and and httptools are no longer installed unless you specify to install the 'standard' extra. Because of this when running with
loop='auto'
andhttp='auto'
the application fails to start due to 'uvloop' and 'httptools' being selected. NOTE: This only happens when running theuvicorn.workers.UvicornWorker
through something like Gunicorn.To reproduce
Expected behavior
'auto' should pick 'asyncio' and 'h11' for their respective settings on Linux if the 'standard' extra is not installed.
Actual behavior
Application starts up but immediately throws
ModuleNotFoundError: No module named 'uvloop'
. If you install uvloop it then complains about not finding httptools. After installing both, no more issues occur.Debugging material
Environment
Additional context
The text was updated successfully, but these errors were encountered: