From e944d4fe3dea48360f3efa2ac9301438da0a3927 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 16 Sep 2022 19:12:53 +0200 Subject: [PATCH] python3Packages.gql: 3.1.0 -> 3.4.0 --- pkgs/development/python-modules/gql/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/development/python-modules/gql/default.nix b/pkgs/development/python-modules/gql/default.nix index 0c8b2bd9378a..2adcf894dcca 100644 --- a/pkgs/development/python-modules/gql/default.nix +++ b/pkgs/development/python-modules/gql/default.nix @@ -1,6 +1,7 @@ { lib , aiofiles , aiohttp +, backoff , botocore , buildPythonPackage , fetchFromGitHub @@ -8,6 +9,7 @@ , mock , parse , pytest-asyncio +, pytest-console-scripts , pytestCheckHook , pythonOlder , requests @@ -34,6 +36,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ aiohttp + backoff botocore graphql-core requests @@ -48,10 +51,19 @@ buildPythonPackage rec { mock parse pytest-asyncio + pytest-console-scripts pytestCheckHook vcrpy ]; + preCheck = '' + export PATH=$out/bin:$PATH + ''; + + pytestFlagsArray = [ + "--asyncio-mode=legacy" + ]; + disabledTests = [ # Tests requires network access "test_execute_result_error"