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
This commit is contained in:
Jonathan Ringer 2020-11-01 14:45:03 -08:00
parent 9436457542
commit 9d5b01eb57
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -20,10 +20,14 @@ buildPythonPackage rec {
checkInputs = [ pytest mock ]; checkInputs = [ pytest mock ];
propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ]; propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ];
# tests don't clean up file descriptors correctly
doCheck = false;
checkPhase = '' checkPhase = ''
pytest tests/unit pytest tests/unit
''; '';
pythonImportsCheck = [ "google.cloud.pubsub" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Google Cloud Pub/Sub API client library"; description = "Google Cloud Pub/Sub API client library";
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python"; homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";