-
Notifications
You must be signed in to change notification settings - Fork 211
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
Added Python 3.12 support. #412
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me code-wise, we're good to merge if the rebase onto #414 gets everything passing.
Great, all 🟢 I still have some warnings to investigate:
|
Warning are caused by diff --git a/asgiref/server.py b/asgiref/server.py
index 43c28c6..ae81150 100644
--- a/asgiref/server.py
+++ b/asgiref/server.py
@@ -144,6 +144,8 @@ class StatelessServer:
except KeyError:
# Exception handling might have already got here before us. That's fine.
pass
+ else:
+ details["future"].cancel()
async def application_exception(self, exception, application_details):
""" I'd like to be more fluent in |
There's an error in the
The |
FWIW I don't think this is a PY312 issue. |
Yeah I think that's been there for a while. Happy to fix it as part of this PR or we can work on it separately. |
TBH, I don't know how to fix it (and I really tried), so it'd be great if we can do it separately. |
Yes, that is almost certainly why I did not get it fixed before; there's a whole range of issues like this that only really arise in the CI scenario when things are being rapidly created and deleted. |
No description provided.