test(client): filter known Starlette portal deprecation

This commit is contained in:
2026-10-06 18:29:50 -03:00
parent fa00b36e49
commit 1146dec1ac
3 changed files with 14 additions and 0 deletions
+6
View File
@@ -6,6 +6,12 @@ own tooling. Runtime dependency versions match the environment used to capture
the pre-migration server; framework upgrades require a separate compatibility
review.
Pytest filters only the known `anyio.abc.BlockingPortal` deprecation emitted by
Starlette's test client ([upstream issue](https://github.com/Kludex/starlette/issues/3497)).
The filter matches the exact message, warning category, and module; other
warnings remain visible. Remove it when a compatible Starlette upgrade replaces
the deprecated alias. Runtime dependencies and warning handling are unchanged.
## Commands
From the repository root: