python310Packages.google-cloud-bigquery: fix build

This commit is contained in:
Sandro Jäckel 2022-04-24 03:56:22 +02:00
parent c5aa93e1a9
commit b5058d029c
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -2,7 +2,9 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pytestCheckHook , pytestCheckHook
, db-dtypes
, freezegun , freezegun
, google-cloud-bigquery-storage
, google-cloud-core , google-cloud-core
, google-cloud-datacatalog , google-cloud-datacatalog
, google-cloud-storage , google-cloud-storage
@ -27,13 +29,15 @@ buildPythonPackage rec {
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
google-resumable-media
google-cloud-core google-cloud-core
google-cloud-bigquery-storage
google-resumable-media
proto-plus proto-plus
pyarrow pyarrow
]; ];
checkInputs = [ checkInputs = [
db-dtypes
freezegun freezegun
google-cloud-testutils google-cloud-testutils
ipython ipython
@ -54,8 +58,8 @@ buildPythonPackage rec {
# requires credentials # requires credentials
"test_bigquery_magic" "test_bigquery_magic"
"TestBigQuery" "TestBigQuery"
"test_context_with_no_query_cache_from_context"
"test_arrow_extension_types_same_for_storage_and_REST_APIs_894" "test_arrow_extension_types_same_for_storage_and_REST_APIs_894"
"test_query_retry_539"
"test_list_rows_empty_table" "test_list_rows_empty_table"
"test_list_rows_page_size" "test_list_rows_page_size"
"test_list_rows_scalars" "test_list_rows_scalars"
@ -75,6 +79,13 @@ buildPythonPackage rec {
"test__initiate_resumable_upload_with_retry" "test__initiate_resumable_upload_with_retry"
]; ];
disabledTestPaths = [
# requires credentials
"tests/system/test_query.py"
"tests/system/test_job_retry.py"
"tests/system/test_pandas.py"
];
pythonImportsCheck = [ pythonImportsCheck = [
"google.cloud.bigquery" "google.cloud.bigquery"
"google.cloud.bigquery_v2" "google.cloud.bigquery_v2"