python3Packages.starlette: fix build

This commit is contained in:
Fabian Affolter 2021-02-10 21:32:08 +01:00
parent 26f6af373e
commit 2a8bf55892

View File

@ -15,7 +15,6 @@
, databases
, pytestCheckHook
, pytest-asyncio
, pytestcov
, typing-extensions
, ApplicationServices
}:
@ -46,12 +45,14 @@ buildPythonPackage rec {
checkInputs = [
aiosqlite
databases
pytest-asyncio
pytestCheckHook
typing-extensions
];
pytestFlagsArray = [ "--ignore=tests/test_graphql.py" ];
disabledTestFiles = [ "tests/test_graphql.py" ];
# https://github.com/encode/starlette/issues/1131
disabledTests = [ "test_debug_html" ];
pythonImportsCheck = [ "starlette" ];
meta = with lib; {