python3Packages.starlette: fix build

This commit is contained in:
Fabian Affolter 2021-07-06 21:33:37 +02:00
parent e6fb1bb60e
commit edabf1806a

View file

@ -53,9 +53,13 @@ buildPythonPackage rec {
typing-extensions
];
# fails to import graphql, but integrated graphql support is about to
# be removed in 0.15, see https://github.com/encode/starlette/pull/1135.
disabledTestPaths = [ "tests/test_graphql.py" ];
disabledTestPaths = [
# fails to import graphql, but integrated graphql support is about to
# be removed in 0.15, see https://github.com/encode/starlette/pull/1135.
"tests/test_graphql.py"
# contextfunction was removed in Jinja 3.1
"tests/test_templates.py"
];
pythonImportsCheck = [ "starlette" ];