We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It looks like uvloop is not a dependency of uvicorn but only of uvicorn[standard as per the documentation of uvicorn:
uvloop
uvicorn
uvicorn[standard
$ pip install uvicorn This will install uvicorn with minimal (pure Python) dependencies. $ pip install uvicorn[standard] This will install uvicorn with "Cython-based" dependencies (where possible) and other "optional extras". In this context, "Cython-based" means the following: the event loop uvloop will be installed and used if possible.
$ pip install uvicorn
This will install uvicorn with minimal (pure Python) dependencies.
$ pip install uvicorn[standard]
This will install uvicorn with "Cython-based" dependencies (where possible) and other "optional extras".
In this context, "Cython-based" means the following:
the event loop uvloop will be installed and used if possible.
https://www.uvicorn.org/#quickstart
Originally posted by @fkaleo in #9216 (comment)
The text was updated successfully, but these errors were encountered:
I could verify this on Docker image rayproject/ray:1.12.1-py39 with: python -c "import uvloop"
rayproject/ray:1.12.1-py39
python -c "import uvloop"
Sorry, something went wrong.
This is a "new" behaviour of uvicorn since august 2020 introduced in release 0.12.0 by encode/uvicorn#666
Looks you have a pending PR for this. Thanks for making the contribution!
Fix was reverted by #25530
@simon-mo can we reponen?
sihanwang41
Successfully merging a pull request may close this issue.
It looks like
uvloop
is not a dependency ofuvicorn
but only ofuvicorn[standard
as per the documentation ofuvicorn
:https://www.uvicorn.org/#quickstart
Originally posted by @fkaleo in #9216 (comment)
The text was updated successfully, but these errors were encountered: