Skip to content

Commit

Permalink
python3Packages.google_cloud_pubsub: disable tests
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jonringer committed Nov 1, 2020
1 parent 9436457 commit 9d5b01e
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -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";
Expand Down

0 comments on commit 9d5b01e

Please sign in to comment.