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 , databases
, pytestCheckHook , pytestCheckHook
, pytest-asyncio , pytest-asyncio
, pytestcov
, typing-extensions , typing-extensions
, ApplicationServices , ApplicationServices
}: }:
@ -46,12 +45,14 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
aiosqlite aiosqlite
databases databases
pytest-asyncio
pytestCheckHook pytestCheckHook
typing-extensions 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" ]; pythonImportsCheck = [ "starlette" ];
meta = with lib; { meta = with lib; {