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
When I use granian with --opt, aiohttp's use of sniffio gets unhappy when trying to detect the async library, without --opt it works just fine. How I trigger this is by going to /docs in my FastAPI project, which produces an HTTP 500 - Internal Server Error with the below traceback.
Linux amd64
Python 3.13 with the project managed by uv + pyenv
Yeah, this falls into the same category of #387 and #323.
There's no plan to fix this: in fact I'm planning to just remove the --opt option at all given the actual performance gain in latest Python versions is somewhat unclear.
Gonna keep this opened until the option is removed.
When I use granian with
--opt
,aiohttp
's use ofsniffio
gets unhappy when trying to detect the async library, without--opt
it works just fine. How I trigger this is by going to /docs in myFastAPI
project, which produces an HTTP 500 - Internal Server Error with the below traceback.uv
+pyenv
The text was updated successfully, but these errors were encountered: