From 9d5b01eb5700c45f72c93b56e7d76a1ed2507f46 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sun, 1 Nov 2020 14:45:03 -0800 Subject: [PATCH] python3Packages.google_cloud_pubsub: disable tests tests fail due to file handle issues, then just loops in an invalid state until timing out on hydra https://hydra.nixos.org/build/129081889 --- .../python-modules/google_cloud_pubsub/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/google_cloud_pubsub/default.nix b/pkgs/development/python-modules/google_cloud_pubsub/default.nix index b1e4eae52ad..56a95692846 100644 --- a/pkgs/development/python-modules/google_cloud_pubsub/default.nix +++ b/pkgs/development/python-modules/google_cloud_pubsub/default.nix @@ -20,10 +20,14 @@ buildPythonPackage rec { checkInputs = [ pytest mock ]; propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ]; + # tests don't clean up file descriptors correctly + doCheck = false; checkPhase = '' pytest tests/unit ''; + pythonImportsCheck = [ "google.cloud.pubsub" ]; + meta = with stdenv.lib; { description = "Google Cloud Pub/Sub API client library"; homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";