python310Packages.google-cloud-bigquery: 3.3.5 -> 3.4.1
Changelog: https://github.com/googleapis/python-bigquery/blob/v3.4.1/CHANGELOG.md
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user