Closed dcermak closed 2 months ago
Type checking currently fails due to https://github.com/encode/httpx/pull/3109 not being in the httpx 0.27 release
You can add
# type: ignore
on those.
Done. Should I add FIXMEs to remove this once the next httpx release is out?
You can add
# type: ignore
on those.Done. Should I add FIXMEs to remove this once the next httpx release is out?
No. We already error on unused type: ignore
s.
@dcermak Thanks! 🙏
Summary
httpx version 0.27.0 deprecated the
app=
shortcut, which makes uvicorn's testsuite now fail in openSUSE. This PR fixes the tests for httpx 0.27.0 by relying onASGITransport(app=app)
instead.Checklist