Dependency mismatch between blacksheep 1.2.0 and uvicorn[standard] 0.15.0
See original GitHub issueHi @RobertoPrevato ,
The last release fails on https://github.com/the-benchmarker/web-frameworks/pull/4774.
The backtrace is
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py", line 371, in run_asgi
asgi = app(self.scope)
File "/usr/local/lib/python3.9/site-packages/uvicorn/middleware/message_logger.py", line 33, in __call__
return MessageLoggerResponder(scope, self.app, self.logger, self.task_counter)
File "/usr/local/lib/python3.9/site-packages/uvicorn/middleware/message_logger.py", line 51, in __init__
raise exc from None
File "/usr/local/lib/python3.9/site-packages/uvicorn/middleware/message_logger.py", line 47, in __init__
self.inner = app(scope)
TypeError: __call__() missing 2 required positional arguments: 'receive' and 'send'
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
FastAPI and uvicorn dependencies are not installed ... - GitHub
How can we reproduce it? I have a very simple application with this code: import uvicorn from fastapi import ...
Read more >Uvicorn
This will install uvicorn with minimal (pure Python) dependencies. ... The uvicorn command line tool is the easiest way to run your application....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah, I can see that and I do not understand what is going on
Seems to be the case with Cython-based
uvicorn
dependencies (uvicorn[standard]
)Please read my last comment. 😄 I wrote a stream of comments - sorry for spamming.