Merge pull request #102403 from jonringer/pubsub

python3Packages.google_cloud_pubsub: disable tests
This commit is contained in:
Benjamin Hipple 2020-11-01 19:12:07 -05:00 committed by GitHub
commit 6a563e121f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";