python3Packages.google_api_core: disable nox tests
This commit is contained in:
parent
713ac20898
commit
252da2ff4c
@ -1,5 +1,5 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy27
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy27
|
||||||
, google_auth, protobuf, googleapis_common_protos, requests, setuptools, grpcio, futures, mock, pytest }:
|
, google_auth, protobuf, googleapis_common_protos, requests, setuptools, grpcio, futures, mock }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-api-core";
|
pname = "google-api-core";
|
||||||
@ -15,11 +15,16 @@ buildPythonPackage rec {
|
|||||||
googleapis_common_protos protobuf
|
googleapis_common_protos protobuf
|
||||||
google_auth requests setuptools grpcio
|
google_auth requests setuptools grpcio
|
||||||
] ++ lib.optional (pythonOlder "3.2") futures;
|
] ++ lib.optional (pythonOlder "3.2") futures;
|
||||||
checkInputs = [ mock pytest ];
|
|
||||||
|
|
||||||
checkPhase = ''
|
# requires nox
|
||||||
py.test
|
doCheck = false;
|
||||||
'';
|
checkInputs = [ mock ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"google.auth"
|
||||||
|
"google.protobuf"
|
||||||
|
"google.api"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "This library is not meant to stand-alone. Instead it defines common helpers used by all Google API clients.";
|
description = "This library is not meant to stand-alone. Instead it defines common helpers used by all Google API clients.";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user