-
Notifications
You must be signed in to change notification settings - Fork 606
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
asgiref
3.8 compatibility?
#2776
Comments
Thanks for reporting. This looks like a bug in the AsgiTestBase class in core though. |
This is not specific to python 3.12. Not sure it's the right approach but
and
makes I guess that at least AsgiTestBase should inherit from IsolatedAsyncioTestCase |
Before:
After applying the two patches:
Then the rest of the tests were broken. |
Good news is that the updated code works for both asgiref 3.7.2 and 3.8.1 |
Describe your environment
OS: Nix/NixOS
Python version: 3.12
Package version: 0.47b0
What happened?
When trying to package
opentelemetry-instrumentation-asgi
, it's failingBuild log
Steps to Reproduce
With Nix:
Without Nix:
With Python ^3.12 and
asgiref
^3.8, run the tests inopentelemetry-instrumentation-asgi
.Expected Result
Tests should pass
Actual Result
Tests are failing
Additional context
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: