python3Packages.openapi-core: ignore starlette & pytest deprecations

This commit is contained in:
Martin Weinelt
2026-07-13 23:23:38 +02:00
parent e5ffb383ad
commit 05a5c121eb

View File

@@ -85,6 +85,12 @@ buildPythonPackage rec {
]
++ lib.concatAttrValues optional-dependencies;
pytestFlags = [
"-Wignore::pytest.PytestRemovedIn10Warning"
# Using `httpx` with `starlette.testclient` is deprecated; install `httpx2` instead.
"-Wignore::starlette.exceptions.StarletteDeprecationWarning"
];
disabledTestPaths = [
# Requires secrets and additional configuration
"tests/integration/contrib/django/"