python3Packages.cross-web: ignore starlette httpx2 warning

This commit is contained in:
Martin Weinelt
2026-07-15 03:12:29 +02:00
parent 2f27e7cf49
commit c59b05508f
@@ -70,6 +70,11 @@ buildPythonPackage (finalAttrs: {
]
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
pytestFlags = [
# Using `httpx` with `starlette.testclient` is deprecated; install `httpx2` instead.
"-Wignore::starlette.exceptions.StarletteDeprecationWarning"
];
pythonImportsCheck = [ "cross_web" ];
preCheck = ''