-
Notifications
You must be signed in to change notification settings - Fork 416
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
Update outdated aiohttp middleware #651
Comments
Hi @halfdanrump, thanks for taking some time to look into this issue. We will look into it as soon as possible. No workarounds are currently needed, as I can tell, as this is just a deprecation and it still work (based on aio-libs/aiohttp#2252). Something we want to address, though! In the meantime, any PR is well welcomed 😄 |
Also, this PR will resolve this issue: https://github.com/DataDog/dd-trace-py/pull/294/files#diff-4486ecdada144080e284937d7892bd76L16 |
Hi @labbati , Thanks for getting back to me! Cool, I don't mind to wait for the PR. As you say it's just a deprecation warning, so it's not a big deal. Mostly makes our test suite yellow instead of nice and green 😆 Will the PR work for aiohttp 3.x though? The PR code seems to have an extra |
hey @halfdanrump:
I know that feeling, it hurts 😄 but will come soon
Support for 3.x is in our radar, but it probably goes beyond the PR i linked. BTW, while we do not officially test such version, did you try to use it? Any specific error?
Actually that could be removed, I guess, as a part of 3.x support, as it is not required and is deprecated |
Created PR #805, with a different approach (it duplicates more code). Happy to address any feedback. Next release of aiohttp will drop the old style middleware, would like to get dd-trace-py into a state that will allow us to update and test against aiohttp master. |
#294 has begun work on this. We will update this issue once it is merged. |
Done! #3362 |
This:
causes this
when running
pytest
. I confirmed that the code is indeed using outdated middleware. See aiohttp docs for new-style middleware.The text was updated successfully, but these errors were encountered: