From 0733f1c351afb9c81c96d844a8a8fa188da8284d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 3 Dec 2022 16:01:01 +0100 Subject: [PATCH] python310Packages.gql: disable failing tests --- pkgs/development/python-modules/gql/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pkgs/development/python-modules/gql/default.nix b/pkgs/development/python-modules/gql/default.nix index dae5fb3438e..6ce977d5595 100644 --- a/pkgs/development/python-modules/gql/default.nix +++ b/pkgs/development/python-modules/gql/default.nix @@ -93,6 +93,22 @@ buildPythonPackage rec { # Exclude linter tests "gql-checker/tests/test_flake8_linter.py" "gql-checker/tests/test_pylama_linter.py" + # Tests require network access + "tests/custom_scalars/test_money.py" + "tests/test_aiohttp.py" + "tests/test_appsync_http.py" + "tests/test_appsync_websockets.py" + "tests/test_async_client_validation.py" + "tests/test_graphqlws_exceptions.py" + "tests/test_graphqlws_subscription.py" + "tests/test_phoenix_channel_exceptions.py" + "tests/test_phoenix_channel_exceptions.py" + "tests/test_phoenix_channel_query.py" + "tests/test_phoenix_channel_subscription.py" + "tests/test_requests.py" + "tests/test_websocket_exceptions.py" + "tests/test_websocket_query.py" + "tests/test_websocket_subscription.py" ]; pythonImportsCheck = [ @@ -102,6 +118,7 @@ buildPythonPackage rec { meta = with lib; { description = "GraphQL client in Python"; homepage = "https://github.com/graphql-python/gql"; + changelog = "https://github.com/graphql-python/gql/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };