✨ 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 0040972c9f53817f64e7b401c9a62b2d32cbae69 at: https://60f6b586a187b6c97290d32d--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 |
to simplify migrations for people. I'll make a release with this, and then a new release with Starlette 0.16.0
later it will be required by Starlette 0.16.0
|
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 Kludex/starlette#1157