[staging-next] treewide: Google Cloud Python fixes for Protobuf update (#497977)
This commit is contained in:
@@ -38,6 +38,8 @@ buildPythonPackage rec {
|
||||
requests
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "protobuf" ];
|
||||
|
||||
optional-dependencies = {
|
||||
async_rest = [ google-auth ] ++ google-auth.optional-dependencies.aiohttp;
|
||||
grpc = [
|
||||
|
||||
@@ -37,6 +37,8 @@ buildPythonPackage rec {
|
||||
]
|
||||
++ google-api-core.optional-dependencies.grpc;
|
||||
|
||||
pythonRelaxDeps = [ "protobuf" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aiounittest
|
||||
freezegun
|
||||
|
||||
@@ -41,6 +41,8 @@ buildPythonPackage rec {
|
||||
]
|
||||
++ google-api-core.optional-dependencies.grpc;
|
||||
|
||||
pythonRelaxDeps = [ "protobuf" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
pytest-asyncio
|
||||
|
||||
@@ -37,6 +37,8 @@ buildPythonPackage rec {
|
||||
]
|
||||
++ google-api-core.optional-dependencies.grpc;
|
||||
|
||||
pythonRelaxDeps = [ "protobuf" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
pytest-asyncio
|
||||
|
||||
@@ -33,6 +33,8 @@ buildPythonPackage (finalAttrs: {
|
||||
]
|
||||
++ google-api-core.optional-dependencies.grpc;
|
||||
|
||||
pythonRelaxDeps = [ "protobuf" ];
|
||||
|
||||
optional-dependencies = {
|
||||
pandas = [ pandas ];
|
||||
};
|
||||
|
||||
@@ -43,6 +43,8 @@ buildPythonPackage rec {
|
||||
]
|
||||
++ google-api-core.optional-dependencies.grpc;
|
||||
|
||||
pythonRelaxDeps = [ "protobuf" ];
|
||||
|
||||
optional-dependencies = {
|
||||
libcst = [ libcst ];
|
||||
};
|
||||
|
||||
@@ -29,6 +29,8 @@ buildPythonPackage rec {
|
||||
googleapis-common-protos
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "protobuf" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
||||
@@ -11,20 +11,22 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "proto-plus";
|
||||
version = "1.27.0";
|
||||
version = "1.27.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "googleapis";
|
||||
repo = "proto-plus-python";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Ya7BY0ZyAAEzomJVExd1cF5r11gTHXeHcjPRqkBjeuQ=";
|
||||
hash = "sha256-B+CkOLzbpu3XXnH7MND5GCljG/bUyPPU57zXIIXoRiU=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ protobuf ];
|
||||
|
||||
pythonRelaxDeps = [ "protobuf" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytz
|
||||
|
||||
Reference in New Issue
Block a user