Merge pull request #208101 from fabaff/google-cloud-iam-logging-bump

python310Packages.google-auth: 2.14.0 -> 2.15.0, python310Packages.google-api-core: 2.10.2 -> 2.11.0
This commit is contained in:
Fabian Affolter 2023-01-02 09:53:11 +01:00 committed by GitHub
commit 39de769024
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 646 additions and 293 deletions

View file

@ -22,7 +22,7 @@ buildPythonPackage rec {
cirq-core
google-api-core
protobuf
];
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
freezegun

View file

@ -4,38 +4,50 @@
, google-auth
, googleapis-common-protos
, grpcio
, grpcio-gcp
, grpcio-status
, protobuf
, proto-plus
, requests
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "google-api-core";
version = "2.10.2";
version = "2.11.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-EMBvdzn+V3gfh1Izdejho6RnS/Y5LNYTGjIiGCuXEyA=";
hash = "sha256-S5u11aOAoL76BXOzAmUbipqJJiwXMON79CPOxRGATCI=";
};
propagatedBuildInputs = [
googleapis-common-protos
google-auth
grpcio
grpcio-status
protobuf
proto-plus
requests
];
passthru.optional-dependencies = {
grpc = [
grpcio
grpcio-status
];
grpcgcp = [
grpcio-gcp
];
grpcio-gcp = [
grpcio-gcp
];
};
checkInputs = [
mock
pytest-asyncio

View file

@ -5,17 +5,21 @@
, google-auth
, httplib2
, mock
, pytestCheckHook
, pytest-localserver
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-auth-httplib2";
version = "0.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "a07c39fd632becacd3f07718dfd6021bf396978f03ad3ce4321d060015cc30ac";
hash = "sha256-oHw5/WMr7KzT8HcY39YCG/OWl48DrTzkMh0GABXMMKw=";
};
propagatedBuildInputs = [
@ -33,6 +37,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Authentication Library: httplib2 transport";
homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2";
changelog = "https://github.com/googleapis/google-auth-library-python-httplib2/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -11,6 +11,7 @@
, pyopenssl
, pyu2f
, requests
, pythonOlder
, aioresponses
, asynctest
, flask
@ -27,11 +28,14 @@
buildPythonPackage rec {
pname = "google-auth";
version = "2.14.0";
version = "2.15.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-zySBeFXYdO3i79BxqiISVEX1Vd4Whbc5qXgvz0CMKj0=";
sha256 = "sha256-cvEqbPyWjXVNe9qzacXFwWAyEG5S0yxt/YSE5MAabR8=";
};
propagatedBuildInputs = [
@ -56,6 +60,9 @@ buildPythonPackage rec {
reauth = [
pyu2f
];
requests = [
requests
];
};
checkInputs = [
@ -92,7 +99,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Auth Python Library";
longDescription = ''
This library simplifies using Googles various server-to-server
This library simplifies using Google's various server-to-server
authentication mechanisms to access Google APIs.
'';
homepage = "https://github.com/googleapis/google-auth-library-python";

View file

@ -3,6 +3,7 @@
, fetchPypi
, google-api-core
, pythonOlder
, protobuf
}:
buildPythonPackage rec {
@ -19,7 +20,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [
google-api-core
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
# No tests in repo
doCheck = false;

View file

@ -5,6 +5,7 @@
, grpc-google-iam-v1
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
@ -12,21 +13,22 @@
buildPythonPackage rec {
pname = "google-cloud-appengine-logging";
version = "1.1.6";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-N0d/8lqqLT4IXbg0QpxchtJ4PmBOvXc4yGkvNhvHyJc=";
hash = "sha256-pvao522dfnRx6JJe4osRgU+q1LpBvdOTP4W9UVVZNiY=";
};
propagatedBuildInputs = [
google-api-core
grpc-google-iam-v1
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
@ -42,6 +44,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Appengine logging client library";
homepage = "https://github.com/googleapis/python-appengine-logging";
changelog = "https://github.com/googleapis/python-appengine-logging/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};

View file

@ -8,6 +8,7 @@
, google-cloud-os-config
, google-cloud-testutils
, libcst
, protobuf
, proto-plus
, pytest-asyncio
, pytestCheckHook
@ -35,7 +36,14 @@ buildPythonPackage rec {
google-cloud-os-config
libcst
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
libcst = [
libcst
];
};
checkInputs = [
google-cloud-testutils
@ -56,6 +64,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python Client for Google Cloud Asset API";
homepage = "https://github.com/googleapis/python-asset";
changelog = "https://github.com/googleapis/python-asset/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,12 +1,21 @@
{ lib, buildPythonPackage, fetchPypi, googleapis-common-protos, protobuf }:
{ lib
, buildPythonPackage
, fetchPypi
, googleapis-common-protos
, protobuf
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-audit-log";
version = "0.2.4";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-qr5VQ2ceT4qcekwOPqmoe6K6K5b5/61vqgIgmQDh8wg=";
hash = "sha256-qr5VQ2ceT4qcekwOPqmoe6K6K5b5/61vqgIgmQDh8wg=";
};
propagatedBuildInputs = [ googleapis-common-protos protobuf ];
@ -14,11 +23,14 @@ buildPythonPackage rec {
# tests are a bit wonky to setup and are not very deep either
doCheck = false;
pythonImportsCheck = [ "google.cloud.audit" ];
pythonImportsCheck = [
"google.cloud.audit"
];
meta = with lib; {
description = "Google Cloud Audit Protos";
homepage = "https://github.com/googleapis/python-audit-log";
changelog = "https://github.com/googleapis/python-audit-log/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,15 +1,16 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, libcst
, google-api-core
, google-cloud-storage
, google-cloud-testutils
, libcst
, mock
, pandas
, proto-plus
, protobuf
, pytest-asyncio
, mock
, pytestCheckHook
, pythonOlder
}:
@ -27,9 +28,21 @@ buildPythonPackage rec {
propagatedBuildInputs = [
google-api-core
libcst
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
libcst = [
libcst
];
pandas = [
pandas
];
storage = [
google-cloud-storage
];
};
checkInputs = [
google-cloud-storage
@ -64,6 +77,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Cloud AutoML API client library";
homepage = "https://github.com/googleapis/python-automl";
changelog = "https://github.com/googleapis/python-automl/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -3,37 +3,39 @@
, fetchPypi
, google-api-core
, libcst
, proto-plus
, pytestCheckHook
, pytest-asyncio
, pytz
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pytz
}:
buildPythonPackage rec {
pname = "google-cloud-bigquery-datatransfer";
version = "3.7.3";
version = "3.8.0";
format = "setuptools";
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-oPgbgaq5RQM4C2qmf36i+qXDQA9sV16abCleNkdGYC0=";
hash = "sha256-TR41fn/e4185RW8zkd3SY1E/jNQZuUYJr1n+TwNPHT4=";
};
propagatedBuildInputs = [
google-api-core
libcst
proto-plus
protobuf
pytz
];
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
pytestCheckHook
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
@ -44,6 +46,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "BigQuery Data Transfer API client library";
homepage = "https://github.com/googleapis/python-bigquery-datatransfer";
changelog = "https://github.com/googleapis/python-bigquery-datatransfer/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -5,6 +5,7 @@
, grpc-google-iam-v1
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
@ -12,21 +13,22 @@
buildPythonPackage rec {
pname = "google-cloud-bigquery-logging";
version = "1.0.7";
version = "1.1.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-F8PP/Vs+sOVDEwIUvWnO6C4+rQvVTtWKMPnREwKEQ0I=";
hash = "sha256-TGK5ghwhVBN0VBMj84Jjt4gpsXQC+HKAr5yP756PbDM=";
};
propagatedBuildInputs = [
google-api-core
grpc-google-iam-v1
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
@ -42,6 +44,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Bigquery logging client library";
homepage = "https://github.com/googleapis/python-bigquery-logging";
changelog = "https://github.com/googleapis/python-bigquery-logging/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};

View file

@ -1,24 +1,45 @@
{ lib
, buildPythonPackage
, fastavro
, fetchPypi
, google-api-core
, google-auth
, google-cloud-bigquery
, pandas
, protobuf
, pyarrow
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-bigquery-storage";
version = "2.16.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-5qyk97b06tuH+FEJBhd1Y1GOFYfIt7FivPjhyede9BY=";
hash = "sha256-5qyk97b06tuH+FEJBhd1Y1GOFYfIt7FivPjhyede9BY=";
};
propagatedBuildInputs = [
google-api-core
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
fastavro = [
fastavro
];
pandas = [
pandas
];
pyarrow = [
pyarrow
];
};
checkInputs = [
google-auth
@ -26,7 +47,7 @@ buildPythonPackage rec {
pytestCheckHook
];
# dependency loop with google-cloud-bigquery
# Dependency loop with google-cloud-bigquery
doCheck = false;
preCheck = ''
@ -42,6 +63,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "BigQuery Storage API API client library";
homepage = "https://github.com/googleapis/python-bigquery-storage";
changelog = "https://github.com/googleapis/python-bigquery-storage/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,58 +1,85 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, db-dtypes
, fetchPypi
, freezegun
, google-api-core
, google-cloud-bigquery-storage
, google-cloud-core
, google-cloud-datacatalog
, google-cloud-storage
, google-cloud-testutils
, google-resumable-media
, grpcio
, ipython
, mock
, pandas
, proto-plus
, protobuf
, psutil
, pyarrow
, pytest-xdist
, pytestCheckHook
, python-dateutil
, pythonOlder
, requests
, tqdm
}:
buildPythonPackage rec {
pname = "google-cloud-bigquery";
version = "3.3.5";
version = "3.4.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-+7ZXmcAnVN3K7ZgfSotrAhtpzADUzZw1yh1swnLq2dE=";
hash = "sha256-iEaJcU2YojZN3px8Nn6CKMcRYQi7rXpjZd/eORY4mFs=";
};
propagatedBuildInputs = [
grpcio
google-api-core
google-cloud-core
google-cloud-bigquery-storage
google-resumable-media
proto-plus
pyarrow
];
protobuf
requests
python-dateutil
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
bqstorage = [
google-cloud-bigquery-storage
grpcio
pyarrow
];
pandas = [
db-dtypes
pandas
pyarrow
];
tqdm = [
tqdm
];
ipython = [
ipython
];
};
checkInputs = [
db-dtypes
freezegun
google-cloud-testutils
ipython
mock
pandas
psutil
google-cloud-datacatalog
google-cloud-storage
pytestCheckHook
pytest-xdist
];
] ++ passthru.optional-dependencies.pandas
++ passthru.optional-dependencies.ipython;
# prevent google directory from shadowing google imports
preCheck = ''
@ -83,10 +110,12 @@ buildPythonPackage rec {
"test__initiate_resumable_upload_mtls"
"test__initiate_resumable_upload_with_retry"
"test_table_clones"
"test_context_with_default_connection"
"test_context_with_custom_connection"
];
disabledTestPaths = [
# requires credentials
# Tests require credentials
"tests/system/test_query.py"
"tests/system/test_job_retry.py"
"tests/system/test_pandas.py"
@ -100,6 +129,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google BigQuery API client library";
homepage = "https://github.com/googleapis/python-bigquery";
changelog = "https://github.com/googleapis/python-bigquery/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -3,10 +3,12 @@
, fetchPypi
, google-api-core
, google-cloud-core
, grpcio
, grpc-google-iam-v1
, libcst
, mock
, proto-plus
, protobuf
, pytestCheckHook
, pythonOlder
}:
@ -27,11 +29,18 @@ buildPythonPackage rec {
google-api-core
google-cloud-core
grpc-google-iam-v1
libcst
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
libcst = [
libcst
];
};
checkInputs = [
grpcio
mock
pytestCheckHook
];

View file

@ -12,19 +12,21 @@
buildPythonPackage rec {
pname = "google-cloud-compute";
version = "1.5.2";
version = "1.8.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-D0pIR1vQEt/7aIxMo0uDlxvt+fwS2DxCurU/lxMHAjo=";
hash = "sha256-pnhXkYSXph7aIZJoI3tXTNIUkH44S22QDIGXUl9ceFU=";
};
propagatedBuildInputs = [
google-api-core
proto-plus
protobuf
];
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
@ -48,6 +50,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "API Client library for Google Cloud Compute";
homepage = "https://github.com/googleapis/python-compute";
changelog = "https://github.com/googleapis/python-compute/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ jpetrucciani ];
};

View file

@ -2,42 +2,42 @@
, buildPythonPackage
, fetchPypi
, google-api-core
, grpc-google-iam-v1
, libcst
, mock
, proto-plus
, pytestCheckHook
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-container";
version = "2.13.0";
version = "2.14.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Rq4DuCbXX4DSIr01AFYo0O4+wQv4B5yzrrX9a2ecAFI=";
hash = "sha256-r/AmdcXIChEqp3AvO2xU2lsM3pqmn/Tmv8/cQJ+kuCE=";
};
propagatedBuildInputs = [
google-api-core
grpc-google-iam-v1
libcst
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
pytestCheckHook
pytest-asyncio
pytestCheckHook
];
disabledTests = [
# requires credentials
# Test requires credentials
"test_list_clusters"
];
@ -50,6 +50,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Container Engine API client library";
homepage = "https://github.com/googleapis/python-container";
changelog = "https://github.com/googleapis/python-container/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,34 +1,55 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google-api-core
, google-auth
, grpcio
, mock
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-core";
version = "2.3.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-uVKe5wR/2NS/SiGC3mGRVCQN8X++YOrTmQeMGuFSr5o=";
hash = "sha256-uVKe5wR/2NS/SiGC3mGRVCQN8X++YOrTmQeMGuFSr5o=";
};
propagatedBuildInputs = [ google-api-core ];
propagatedBuildInputs = [
google-auth
google-api-core
];
checkInputs = [ mock pytestCheckHook ];
passthru.optional-dependencies = {
grpc = [
grpcio
];
};
checkInputs = [
mock
pytestCheckHook
] ++ passthru.optional-dependencies.grpc;
# prevent google directory from shadowing google imports
preCheck = ''
rm -r google
'';
pythonImportsCheck = [ "google.cloud" ];
pythonImportsCheck = [
"google.cloud"
];
meta = with lib; {
description = "API Client library for Google Cloud: Core Helpers";
homepage = "https://github.com/googleapis/python-cloud-core";
changelog = "https://github.com/googleapis/python-cloud-core/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,39 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, libcst
, google-api-core
, grpc-google-iam-v1
, libcst
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, mock
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-datacatalog";
version = "3.9.3";
version = "3.10.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-JgGs4lqOruHohIy6GaUGSHr0vd+lFsI5u4PVZwt7tdo=";
hash = "sha256-5j8daEVqDEQKHU/XbZ9U6qp0Aaye0KUzJMyj9fiJtRs=";
};
propagatedBuildInputs = [
libcst
google-api-core
grpc-google-iam-v1
libcst
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
pytest-asyncio
pytestCheckHook
mock
];
pythonImportsCheck = [
@ -43,6 +45,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Cloud Data Catalog API API client library";
homepage = "https://github.com/googleapis/python-datacatalog";
changelog = "https://github.com/googleapis/python-datacatalog/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -5,6 +5,7 @@
, mock
, libcst
, proto-plus
, protobuf
, pytestCheckHook
, pytest-asyncio
, pythonOlder
@ -26,7 +27,8 @@ buildPythonPackage rec {
google-api-core
libcst
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
@ -35,7 +37,7 @@ buildPythonPackage rec {
];
disabledTests = [
# requires credentials
# Test requires credentials
"test_list_clusters"
];
@ -47,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Cloud Dataproc API client library";
homepage = "https://github.com/googleapis/python-dataproc";
changelog = "https://github.com/googleapis/python-dataproc/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -3,12 +3,13 @@
, fetchPypi
, google-api-core
, google-cloud-core
, libcst
, proto-plus
, mock
, pytestCheckHook
, pytest-asyncio
, google-cloud-testutils
, libcst
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
@ -28,7 +29,8 @@ buildPythonPackage rec {
google-api-core
google-cloud-core
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
libcst = [
@ -66,6 +68,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Cloud Datastore API client library";
homepage = "https://github.com/googleapis/python-datastore";
changelog = "https://github.com/googleapis/python-datastore/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -3,33 +3,31 @@
, fetchPypi
, google-api-core
, google-cloud-testutils
, libcst
, proto-plus
, pytestCheckHook
, pytest-asyncio
, pytz
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-dlp";
version = "3.9.2";
version = "3.10.0";
format = "setuptools";
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-yoiHO4/dhFDGZJB+WiouyBtbTQWIecwaIvR+qw8MGBU=";
hash = "sha256-0/bTCi1BhTrM8VJLuFZ9gZc0uwZqpAhcwoPt25flvkI=";
};
propagatedBuildInputs = [
google-api-core
libcst
proto-plus
pytz
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
google-cloud-testutils
@ -39,7 +37,7 @@ buildPythonPackage rec {
];
disabledTests = [
# requires credentials
# Test requires credentials
"test_inspect_content"
];
@ -51,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Cloud Data Loss Prevention (DLP) API API client library";
homepage = "https://github.com/googleapis/python-dlp";
changelog = "https://github.com/googleapis/python-dlp/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -3,22 +3,32 @@
, fetchPypi
, google-api-core
, google-cloud-core
, pytestCheckHook
, mock
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-dns";
version = "0.34.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-RPpi7pPFHGxXIWBY2S0qkRa3E6SocanRajqDuZ4wwfk=";
hash = "sha256-RPpi7pPFHGxXIWBY2S0qkRa3E6SocanRajqDuZ4wwfk=";
};
propagatedBuildInputs = [ google-api-core google-cloud-core ];
propagatedBuildInputs = [
google-api-core
google-cloud-core
];
checkInputs = [ mock pytestCheckHook ];
checkInputs = [
mock
pytestCheckHook
];
preCheck = ''
# don#t shadow python imports
@ -30,11 +40,14 @@ buildPythonPackage rec {
"test_quota"
];
pythonImportsCheck = [ "google.cloud.dns" ];
pythonImportsCheck = [
"google.cloud.dns"
];
meta = with lib; {
description = "Google Cloud DNS API client library";
homepage = "https://github.com/googleapis/python-dns";
changelog = "https://github.com/googleapis/python-dns/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,33 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google-api-core
, google-cloud-logging
, google-cloud-testutils
, libcst
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-error-reporting";
version = "1.6.3";
version = "1.7.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-7QR4NS98MtJ8aMLC+qQeTrK1Rv5kw6XlZhSKbatrZFY=";
hash = "sha256-biI1dbn7lpD1KUGkOV5NMLJlYxZTfH+zW6i65fbJWko=";
};
propagatedBuildInputs = [
google-api-core
google-cloud-logging
libcst
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
google-cloud-testutils
@ -37,7 +39,7 @@ buildPythonPackage rec {
];
disabledTests = [
# require credentials
# Tests require credentials
"test_report_error_event"
"test_report_exception"
];
@ -50,6 +52,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Stackdriver Error Reporting API client library";
homepage = "https://github.com/googleapis/python-error-reporting";
changelog = "https://github.com/googleapis/python-error-reporting/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,37 +1,43 @@
{ lib
, aiounittest
, buildPythonPackage
, fetchPypi
, aiounittest
, google-api-core
, google-cloud-testutils
, google-cloud-core
, google-cloud-testutils
, mock
, proto-plus
, pytestCheckHook
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-firestore";
version = "2.7.2";
version = "2.7.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-yGB6dLcRxEuqPYGEbpOI5DInos/1ILWmzeXN+ck/W+g=";
hash = "sha256-rH2aIst5XHEq93FXxlfDreROIWnM8pmq2UOOg9T2kjU=";
};
propagatedBuildInputs = [
google-api-core
google-cloud-core
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
aiounittest
google-cloud-testutils
mock
pytestCheckHook
pytest-asyncio
pytestCheckHook
];
preCheck = ''
@ -60,6 +66,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Cloud Firestore API client library";
homepage = "https://github.com/googleapis/python-firestore";
changelog = "https://github.com/googleapis/python-firestore/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -5,6 +5,7 @@
, grpc-google-iam-v1
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
@ -12,21 +13,22 @@
buildPythonPackage rec {
pname = "google-cloud-iam-logging";
version = "1.0.6";
version = "1.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-XiuEki6bNKZ8CzfcBBjnDbAh2yEADZohpP991OTf2DI=";
hash = "sha256-q+R8l14wD0PNxP1xKwZcXlbyln3uwoscAsOvletuetg=";
};
propagatedBuildInputs = [
google-api-core
grpc-google-iam-v1
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
@ -42,6 +44,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "IAM Service Logging client library";
homepage = "https://github.com/googleapis/python-iam-logging";
changelog = "https://github.com/googleapis/python-iam-logging/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};

View file

@ -1,28 +1,38 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, google-api-core
, libcst
, mock
, proto-plus
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-iam";
version = "2.9.0";
version = "2.10.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-/FPuPDJC+AuRNCtKv7pFrpsOlopPFEV/KggDWulRU8A=";
hash = "sha256-8q/Am7x5LFN9Uaw37QdUdwL19J1FgxRKjRL0Vrc+1TI=";
};
propagatedBuildInputs = [ google-api-core libcst proto-plus ];
propagatedBuildInputs = [
google-api-core
libcst
proto-plus
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
checkInputs = [
mock
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"google.cloud.iam_credentials"
@ -32,6 +42,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "IAM Service Account Credentials API client library";
homepage = "https://github.com/googleapis/python-iam";
changelog = "https://github.com/googleapis/python-iam/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ austinbutler SuperSandro2000 ];
};

View file

@ -1,39 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, grpc-google-iam-v1
, google-api-core
, grpc-google-iam-v1
, libcst
, proto-plus
, pytestCheckHook
, pytest-asyncio
, pythonOlder
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-iot";
version = "2.6.4";
version = "2.7.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-d3RRVqgetOS3sAT6UkV5DB/NZMjeZd5tBtd9ME8Wvs4=";
hash = "sha256-vV5emuGcFwUctnPNRW1NSFej599Lc6rFSKAlaaCatZw=";
};
propagatedBuildInputs = [
grpc-google-iam-v1
google-api-core
grpc-google-iam-v1
libcst
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
pytestCheckHook
pytest-asyncio
pytestCheckHook
];
disabledTests = [
@ -49,6 +51,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Cloud IoT API API client library";
homepage = "https://github.com/googleapis/python-iot";
changelog = "https://github.com/googleapis/python-iot/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,30 +1,45 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, grpc-google-iam-v1
, google-api-core
, libcst
, grpc-google-iam-v1
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-kms";
version = "2.12.3";
version = "2.13.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ooWxYH4B8HY9ybWj0GQqUnfiFXzLCqyXGGZsocV9Od0=";
hash = "sha256-0nOQnibi1T0JW9NQaKSrNCnfB5EgsnNYMVCEiUsPRdU=";
};
propagatedBuildInputs = [ grpc-google-iam-v1 google-api-core libcst proto-plus ];
propagatedBuildInputs = [
grpc-google-iam-v1
google-api-core
proto-plus
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [ mock pytestCheckHook pytest-asyncio ];
checkInputs = [
mock
pytest-asyncio
pytestCheckHook
];
# Disable tests that need credentials
disabledTests = [ "test_list_global_key_rings" ];
disabledTests = [
"test_list_global_key_rings"
];
pythonImportsCheck = [
"google.cloud.kms"
@ -34,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Cloud Key Management Service (KMS) API API client library";
homepage = "https://github.com/googleapis/python-kms";
changelog = "https://github.com/googleapis/python-kms/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -2,34 +2,32 @@
, buildPythonPackage
, fetchPypi
, google-api-core
, libcst
, mock
, proto-plus
, pytestCheckHook
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-language";
version = "2.6.1";
version = "2.7.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-KAZmikDsTmNarRo9fxrTR5EtGfSYm1i4rP1iX8pa6Zo=";
hash = "sha256-2BVkbQt6y9WGLjFBCt4pXPtGcmcsF8FxThOUIu7CgR8=";
};
propagatedBuildInputs = [
google-api-core
libcst
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
pytestCheckHook
pytest-asyncio
];
@ -43,6 +41,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Cloud Natural Language API client library";
homepage = "https://github.com/googleapis/python-language";
changelog = "https://github.com/googleapis/python-language/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,32 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, django
, fetchPypi
, flask
, google-api-core
, google-cloud-appengine-logging
, google-cloud-audit-log
, google-cloud-core
, google-cloud-testutils
, grpc-google-iam-v1
, mock
, pandas
, proto-plus
, pytestCheckHook
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, rich
}:
buildPythonPackage rec {
pname = "google-cloud-logging";
version = "3.3.1";
version = "3.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-bxFBWi6cx7TeeofMP59XVRX9aDpCP2N5lAkUpWYW1wU=";
hash = "sha256-zeD1n625F0aHRiUrr0sR6gD21obvAhORg+r5IfOu5rQ=";
};
propagatedBuildInputs = [
@ -34,8 +36,10 @@ buildPythonPackage rec {
google-cloud-appengine-logging
google-cloud-audit-log
google-cloud-core
grpc-google-iam-v1
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
django
@ -56,10 +60,16 @@ buildPythonPackage rec {
preCheck = ''
# prevent google directory from shadowing google imports
rm -r google
# requires credentials
rm tests/system/test_system.py tests/unit/test__gapic.py
'';
disabledTestPaths = [
# Tests require credentials
"tests/system/test_system.py"
"tests/unit/test__gapic.py"
# Exclude performance tests
"tests/performance/test_performance.py"
];
pythonImportsCheck = [
"google.cloud.logging"
"google.cloud.logging_v2"

View file

@ -3,12 +3,12 @@
, fetchPypi
, google-api-core
, google-cloud-testutils
, libcst
, mock
, proto-plus
, pandas
, pytestCheckHook
, pytest-asyncio
, mock
, protobuf
, pythonOlder
}:
@ -25,18 +25,23 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
libcst
google-api-core
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
pandas = [
pandas
];
};
checkInputs = [
google-cloud-testutils
mock
pandas
pytestCheckHook
pytest-asyncio
];
] ++ passthru.optional-dependencies.pandas;
disabledTests = [
# requires credentials
@ -51,6 +56,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Stackdriver Monitoring API client library";
homepage = "https://github.com/googleapis/python-monitoring";
changelog = "https://github.com/googleapis/python-monitoring/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,26 +1,50 @@
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, google-api-core, mock, proto-plus, protobuf, pytest-asyncio }:
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-org-policy";
version = "1.4.1";
version = "1.5.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-KYZvlpPqGy0zGDSZF3y6MsFZyb9M+88HGYp4NpPCiSY=";
hash = "sha256-fA8O/pdUNgY3dwj17D7aoHUjzaXpMmL3w0TU6A6gqHo=";
};
propagatedBuildInputs = [ google-api-core proto-plus ];
propagatedBuildInputs = [
google-api-core
proto-plus
protobuf
] ++ google-api-core.optional-dependencies.grpc;
# prevent google directory from shadowing google imports
checkInputs = [
pytest-asyncio
pytestCheckHook
];
# Prevent google directory from shadowing google imports
preCheck = ''
rm -r google
'';
checkInputs = [ mock protobuf pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "google.cloud.orgpolicy" ];
pythonImportsCheck = [
"google.cloud.orgpolicy"
];
meta = with lib; {
description = "Protobufs for Google Cloud Organization Policy.";
description = "Protobufs for Google Cloud Organization Policy";
homepage = "https://github.com/googleapis/python-org-policy";
changelog = "https://github.com/googleapis/python-org-policy/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ austinbutler SuperSandro2000 ];
};

View file

@ -2,8 +2,7 @@
, buildPythonPackage
, fetchPypi
, google-api-core
, libcst
, mock
, protobuf
, proto-plus
, pytestCheckHook
, pytest-asyncio
@ -12,26 +11,25 @@
buildPythonPackage rec {
pname = "google-cloud-os-config";
version = "1.12.4";
version = "1.13.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-SmzCo/nh6FbTt+7lw4XAyF5gwDHQCOz8Nbl05/AkDfY=";
hash = "sha256-CHAiHhXjrLMz7On7Gm5H4fIY3Sq8R2whsI9+D9xXDIM=";
};
propagatedBuildInputs = [
google-api-core
libcst
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
pytestCheckHook
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
@ -46,6 +44,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Cloud OS Config API client library";
homepage = "https://github.com/googleapis/python-os-config";
changelog = "https://github.com/googleapis/python-os-config/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,15 +1,16 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google-api-core
, google-cloud-testutils
, grpc-google-iam-v1
, grpcio
, grpcio-status
, libcst
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
@ -26,16 +27,23 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
grpc-google-iam-v1
google-api-core
grpc-google-iam-v1
grpcio
grpcio-status
libcst
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
libcst = [
libcst
];
};
checkInputs = [
google-cloud-testutils
mock
pytestCheckHook
pytest-asyncio
];
@ -56,7 +64,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Cloud Pub/Sub API client library";
homepage = "https://pypi.org/project/google-cloud-pubsub";
homepage = "https://github.com/googleapis/python-pubsub";
changelog = "https://github.com/googleapis/python-pubsub/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -2,34 +2,32 @@
, buildPythonPackage
, fetchPypi
, google-api-core
, libcst
, mock
, proto-plus
, pytestCheckHook
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-redis";
version = "2.9.3";
version = "2.10.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-81RPV8GaSU0jpYTyjFWxakpbuBz994eA7I/wyTxmg8Y=";
hash = "sha256-byppjhrBLentcRwMSbuaf3L7wU+rkP2Z92j2zzEPdY0=";
};
propagatedBuildInputs = [
google-api-core
libcst
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
pytestCheckHook
pytest-asyncio
];
@ -43,6 +41,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Cloud Memorystore for Redis API client library";
homepage = "https://github.com/googleapis/python-redis";
changelog = "https://github.com/googleapis/python-redis/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,25 +1,26 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google-cloud-core
, google-api-core
, google-cloud-core
, grpc-google-iam-v1
, proto-plus
, mock
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-resource-manager";
version = "1.6.3";
version = "1.7.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-bPipp05loDhXiWlnx5MHt1gFx1Kt47xBIk5hZ3dLyck=";
hash = "sha256-n66Yl3xSGJNxyn2LJVGO8fuXtCKFHLRcCeoWhvxCCok=";
};
propagatedBuildInputs = [
@ -27,10 +28,11 @@ buildPythonPackage rec {
google-cloud-core
grpc-google-iam-v1
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
pytest-asyncio
pytestCheckHook
];
@ -47,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Cloud Resource Manager API client library";
homepage = "https://github.com/googleapis/python-resource-manager";
changelog = "https://github.com/googleapis/python-resource-manager/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -5,34 +5,49 @@
, google-cloud-core
, mock
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-runtimeconfig";
version = "0.33.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-MPmyvm2FSrUzb1y5i4xl5Cqea6sxixLoZ7V1hxNi7hw=";
hash = "sha256-MPmyvm2FSrUzb1y5i4xl5Cqea6sxixLoZ7V1hxNi7hw=";
};
propagatedBuildInputs = [ google-api-core google-cloud-core ];
propagatedBuildInputs = [
google-api-core
google-cloud-core
];
checkInputs = [ mock pytestCheckHook ];
checkInputs = [
mock
pytestCheckHook
];
# Client tests require credentials
disabledTests = [ "client_options" ];
disabledTests = [
"client_options"
];
# prevent google directory from shadowing google imports
preCheck = ''
rm -r google
'';
pythonImportsCheck = [ "google.cloud.runtimeconfig" ];
pythonImportsCheck = [
"google.cloud.runtimeconfig"
];
meta = with lib; {
description = "Google Cloud RuntimeConfig API client library";
homepage = "https://pypi.org/project/google-cloud-runtimeconfig";
homepage = "https://github.com/googleapis/python-runtimeconfig";
changelog = "https://github.com/googleapis/python-runtimeconfig/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -3,37 +3,35 @@
, fetchPypi
, google-api-core
, grpc-google-iam-v1
, libcst
, mock
, proto-plus
, pytestCheckHook
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-secret-manager";
version = "2.12.6";
version = "2.13.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-equimX9D+MOzWQPvxUw4moAvOYU7qB6B4RkPCTQg7PY=";
hash = "sha256-1BBOEdkh0jVBHtSVEnOsXtaCPF/GuXB90FCZeOmue9I=";
};
propagatedBuildInputs = [
google-api-core
grpc-google-iam-v1
libcst
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
pytestCheckHook
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
@ -45,6 +43,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Secret Manager API API client library";
homepage = "https://github.com/googleapis/python-secret-manager";
changelog = "https://github.com/googleapis/python-secret-manager/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ siriobalmelli SuperSandro2000 ];
};

View file

@ -1,37 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, grpc-google-iam-v1
, google-api-core
, libcst
, mock
, grpc-google-iam-v1
, proto-plus
, pytestCheckHook
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-securitycenter";
version = "1.16.2";
version = "1.17.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-DU+0gpnWqmtm5nkLoHbEq5k3pnybsEag+aKEp7+HFmo=";
hash = "sha256-wkq0/LEgEQokKzREpOkprKZUK/paP8CgS51anLTy5Dk=";
};
propagatedBuildInputs = [
grpc-google-iam-v1
google-api-core
libcst
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
pytestCheckHook
pytest-asyncio
];
@ -46,6 +44,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Cloud Security Command Center API API client library";
homepage = "https://github.com/googleapis/python-securitycenter";
changelog = "https://github.com/googleapis/python-securitycenter/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,16 +1,18 @@
{ lib
, buildPythonPackage
, fetchPypi
, grpc-google-iam-v1
, google-api-core
, google-cloud-core
, google-cloud-testutils
, grpc-google-iam-v1
, libcst
, mock
, proto-plus
, pytestCheckHook
, protobuf
, pytest-asyncio
, sqlparse
, pytestCheckHook
, pythonOlder
, sqlparse
}:
buildPythonPackage rec {
@ -26,18 +28,25 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
google-api-core
google-cloud-core
grpc-google-iam-v1
libcst
proto-plus
protobuf
sqlparse
];
] ++ google-api-core.optional-dependencies.grpc;
passthru.optional-dependencies = {
libcst = [
libcst
];
};
checkInputs = [
google-cloud-testutils
mock
pytestCheckHook
pytest-asyncio
pytestCheckHook
];
preCheck = ''

View file

@ -2,11 +2,11 @@
, buildPythonPackage
, fetchPypi
, google-api-core
, libcst
, mock
, proto-plus
, pytestCheckHook
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
@ -24,16 +24,16 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
libcst
google-api-core
proto-plus
protobuf
setuptools
];
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
pytestCheckHook
pytest-asyncio
pytestCheckHook
];
disabledTestPaths = [
@ -51,6 +51,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Cloud Speech API client library";
homepage = "https://github.com/googleapis/python-speech";
changelog = "https://github.com/googleapis/python-speech/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,35 +1,44 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google-auth
, google-cloud-iam
, google-cloud-core
, google-cloud-iam
, google-cloud-kms
, google-cloud-testutils
, google-resumable-media
, mock
, protobuf
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "google-cloud-storage";
version = "2.5.0";
version = "2.7.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-OC80uR3iIS48LntA7AedJ+4uPbuumbdbG82MYwY84jU=";
hash = "sha256-GsLVjS1pPLE0HrxIZZo1J753jZ4tiYlpeidGAlko/xc=";
};
propagatedBuildInputs = [
google-auth
google-cloud-core
google-resumable-media
requests
];
passthru.optional-dependencies = {
protobuf = [
protobuf
];
};
checkInputs = [
google-cloud-iam
google-cloud-kms
@ -38,7 +47,7 @@ buildPythonPackage rec {
pytestCheckHook
];
# disable tests which require credentials and network access
# Disable tests which require credentials and network access
disabledTests = [
"create"
"download"
@ -51,6 +60,7 @@ buildPythonPackage rec {
"test_list_buckets"
"test_open"
"test_anonymous_client_access_to_public_bucket"
"test_ctor_w_custom_endpoint_use_auth"
];
disabledTestPaths = [
@ -59,6 +69,7 @@ buildPythonPackage rec {
"tests/system/test_bucket.py"
"tests/system/test_fileio.py"
"tests/system/test_kms_integration.py"
"tests/unit/test_transfer_manager.py"
];
preCheck = ''
@ -69,11 +80,14 @@ buildPythonPackage rec {
rm tests/conformance/test_conformance.py
'';
pythonImportsCheck = [ "google.cloud.storage" ];
pythonImportsCheck = [
"google.cloud.storage"
];
meta = with lib; {
description = "Google Cloud Storage API client library";
homepage = "https://github.com/googleapis/python-storage";
changelog = "https://github.com/googleapis/python-storage/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -3,9 +3,9 @@
, fetchPypi
, google-api-core
, grpc-google-iam-v1
, libcst
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
@ -13,22 +13,22 @@
buildPythonPackage rec {
pname = "google-cloud-tasks";
version = "2.10.4";
version = "2.11.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ZQ9PQ75yWEEQNyfqO8EyJ66euqL5na2q1TiIgxz8HXA=";
hash = "sha256-TC2uDnD95NUx1LLLLotZK9tJd6JWZa4MjipcE6k07Mo=";
};
propagatedBuildInputs = [
google-api-core
grpc-google-iam-v1
libcst
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
@ -37,7 +37,7 @@ buildPythonPackage rec {
];
disabledTests = [
# requires credentials
# Test requires credentials
"test_list_queues"
];
@ -51,6 +51,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Cloud Tasks API API client library";
homepage = "https://github.com/googleapis/python-tasks";
changelog = "https://github.com/googleapis/python-tasks/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,24 +1,41 @@
{ lib, buildPythonPackage, fetchPypi, click, google-auth, packaging, six }:
{ lib
, buildPythonPackage
, click
, fetchPypi
, google-auth
, packaging
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-testutils";
version = "1.3.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-bRjvNNmvsBy0sR4C0DoC/n7A9ez6AfXUJrXZiHKkz0g=";
};
propagatedBuildInputs = [ click google-auth packaging six ];
propagatedBuildInputs = [
click
google-auth
packaging
];
# does not contain tests
doCheck = false;
pythonImportsCheck = [ "test_utils" ];
pythonImportsCheck = [
"test_utils"
];
meta = with lib; {
description = "System test utilities for google-cloud-python";
homepage = "https://github.com/googleapis/python-test-utils";
changelog ="https://github.com/googleapis/python-test-utils/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,32 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google-api-core
, libcst
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-texttospeech";
version = "2.12.3";
version = "2.13.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-gnSl/W0mTv6It//+xV5ti0Rd6io1Gh4yxd0arrbEPtQ=";
hash = "sha256-jpDwERTLRmS1mO2O2OboZa6AAUh3k/Dyg77TCVTqLok=";
};
propagatedBuildInputs = [
libcst
google-api-core
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
@ -49,6 +49,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Cloud Text-to-Speech API client library";
homepage = "https://github.com/googleapis/python-texttospeech";
changelog = "https://github.com/googleapis/python-texttospeech/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -2,32 +2,32 @@
, buildPythonPackage
, fetchPypi
, google-api-core
, google-cloud-core
, google-cloud-testutils
, mock
, proto-plus
, pytestCheckHook
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-trace";
version = "1.7.3";
version = "1.8.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-HFntFmPn3FPhCrB+nnJlBD9zqG2jDsP2naEl2IxhRqE=";
hash = "sha256-dKywvDNcvDOULHREKcHWIBVVBBzrttICX+VgcborJVI=";
};
propagatedBuildInputs = [
google-api-core
google-cloud-core
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
google-cloud-testutils
@ -51,6 +51,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Cloud Trace API client library";
homepage = "https://github.com/googleapis/python-trace";
changelog = "https://github.com/googleapis/python-trace/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,35 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google-api-core
, google-cloud-core
, google-cloud-testutils
, libcst
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-translate";
version = "3.8.4";
version = "3.9.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-cptSFyAByZRZ7Dr93skVPeCvUoh0/PMACp3dmOEQfuc=";
hash = "sha256-XPfN+IN5gc5KQEXPeaYF5gIlHPxmDoe90RKFqNG6eF8=";
};
propagatedBuildInputs = [
google-api-core
google-cloud-core
libcst
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
google-cloud-testutils
@ -53,6 +53,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Cloud Translation API client library";
homepage = "https://github.com/googleapis/python-translate";
changelog = "https://github.com/googleapis/python-translate/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,31 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, mock
, google-api-core
, google-cloud-testutils
, mock
, proto-plus
, pytestCheckHook
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-videointelligence";
version = "2.8.3";
version = "2.9.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-pB7exeGYpFT4nf3YuIhoI+bqG6YYEP6oWs0tohkOIbw=";
hash = "sha256-gd0cJX6XHwQguNJ7jFDUVwQg9eNk0ZUL4VH5L+3K+Lw=";
};
propagatedBuildInputs = [
google-api-core
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
google-cloud-testutils
@ -51,6 +53,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Cloud Video Intelligence API client library";
homepage = "https://github.com/googleapis/python-videointelligence";
changelog = "https://github.com/googleapis/python-videointelligence/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -2,31 +2,31 @@
, buildPythonPackage
, fetchPypi
, google-api-core
, libcst
, mock
, proto-plus
, pytestCheckHook
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-vision";
version = "3.1.4";
version = "3.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-1nqU9Sr+tWPK3l5r7UiFD0wA3+UmYcHFT4ta2bdRL+U=";
hash = "sha256-SZQxkx57cY+8q4Mg880jT8TlYcfwLz4KEpHiyOb2Ujc=";
};
propagatedBuildInputs = [
libcst
google-api-core
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
@ -47,6 +47,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Cloud Vision API API client library";
homepage = "https://github.com/googleapis/python-vision";
changelog = "https://github.com/googleapis/python-vision/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,34 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, google-api-core
, libcst
, mock
, protobuf
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-websecurityscanner";
version = "1.9.2";
version = "1.10.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-fUnoV5I9kMwC9zUdsHit6MbIYFV+3E+GT76vwEmzNNs=";
hash = "sha256-93ijizxgVFxXzj8IzxrgzzXTQKl7UH3egvL41HVk5is=";
};
propagatedBuildInputs = [
google-api-core
libcst
protobuf
proto-plus
];
protobuf
] ++ google-api-core.optional-dependencies.grpc;
checkInputs = [
mock
@ -44,6 +42,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Google Cloud Web Security Scanner API client library";
homepage = "https://github.com/googleapis/python-websecurityscanner";
changelog = "https://github.com/googleapis/python-websecurityscanner/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};

View file

@ -1,27 +1,49 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, google-auth
, google-cloud-testutils
, google-crc32c
, mock
, pytestCheckHook
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "google-resumable-media";
version = "2.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-jVUYUC+SuezISsRneb1PCWlOyzujij58pzeobRXLyh8=";
hash = "sha256-jVUYUC+SuezISsRneb1PCWlOyzujij58pzeobRXLyh8=";
};
propagatedBuildInputs = [ google-auth google-crc32c requests ];
propagatedBuildInputs = [
google-auth
google-crc32c
];
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
passthru.optional-dependencies = {
requests = [
requests
];
aiohttp = [
aiohttp
];
};
checkInputs = [
google-cloud-testutils
mock
pytest-asyncio
pytestCheckHook
] ++ passthru.optional-dependencies.requests;
preCheck = ''
# prevent shadowing imports
@ -40,6 +62,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Utilities for Google Media Downloads and Resumable Uploads";
homepage = "https://github.com/GoogleCloudPlatform/google-resumable-media-python";
changelog = "https://github.com/googleapis/google-resumable-media-python/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};