-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
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
Drop support for Python v3.8 and remove asgiref from non Django code #1222
Comments
I took a quick look at replacing |
I think it is more nuanced than that.
However, there is no need to make it a dependency for any consumer that is not using Django.
That should be fine. Beside Django integration, it seems it is only used in tests. That could stay there or it would be trivial to update to not use a decorator and explicitly wrap the function. |
Ok, good point. I will give it a try. |
So shall I close this as #1224 was merged or do we keep it open for the replacement of sync_to_async ? |
As discussed on Discord, we want to drop support for Python v3.8 as it reached its end-of-life. We then can use
asyncio.to_thread
(available in Python >= 3.9) instead ofasgiref.sync.sync_to_async
(we should then do this together in the 3.0 release).The text was updated successfully, but these errors were encountered: