-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
✨ Add support for Trio via AnyIO #3372
Conversation
* `TestClient.websocket_connect()` now must be used as a context manager: https://github.com/encode/starlette/blame/119c427474a45bd1297f5adcde864b2874dd8c4f/docs/release-notes.md#L13
|
@tiangolo can you enable my CI builds? |
Codecov Report
@@ Coverage Diff @@
## master #3372 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 410 409 -1
Lines 10281 10264 -17
=========================================
- Hits 10281 10264 -17
Continue to review full report at Codecov.
|
📝 Docs preview for commit 327cfd0 at: https://60f5d124cc234109837cf232--fastapi.netlify.app |
📝 Docs preview for commit 17ed7ea at: https://60f5d4a51fb0c609691189c3--fastapi.netlify.app |
📝 Docs preview for commit 0040972c9f53817f64e7b401c9a62b2d32cbae69 at: https://60f6b586a187b6c97290d32d--fastapi.netlify.app |
📝 Docs preview for commit 7af1e84 at: https://60f6b6716548bbcdf708fea8--fastapi.netlify.app |
📝 Docs preview for commit 0c7195f at: https://60fbddc1d5d642d3e7109471--fastapi.netlify.app |
📝 Docs preview for commit ada7c74 at: https://61090286422fcaca80ac71ea--fastapi.netlify.app |
Hi! Thanks for such an amazing work 🙌🏼 , I cannot wait to try |
You'll need to pip install this branch from git |
Antony to the rescue 😉 https://www.youtube.com/watch?v=AQrskWh-F5E |
As a |
I think the only thing missing is review from @tiangolo |
📝 Docs preview for commit a539aa6 at: https://614e064a38c62108f4aa04d4--fastapi.netlify.app |
to simplify migrations for people. I'll make a release with this, and then a new release with Starlette 0.16.0
📝 Docs preview for commit 51c5edd at: https://615db50772917d315e65389c--fastapi.netlify.app |
📝 Docs preview for commit 9b52693 at: https://615dba62e9b158384170e013--fastapi.netlify.app |
📝 Docs preview for commit 96cb5b2 at: https://615dbd0e3c862141e444a469--fastapi.netlify.app |
later it will be required by Starlette 0.16.0
📝 Docs preview for commit 7c19efb at: https://615dbeb18d64483d2c550e56--fastapi.netlify.app |
Thanks for all the work @graingert! 👏 🍰 I refactored a couple of things, to keep the same style of import/reexports in the rest of the places (without I also pinned Starlette to the minimum version that supports AnyIO ( This will be available in a couple of hours in FastAPI |
You should definitely pin to 0.16.0, the breaking change is around the TestClient(async_backend) kwarg which didn't exist before 0.15.0 |
Fixes #310
see also encode/starlette#1157