python310Packages.google-cloud-bigquery: fix build

main
Sandro Jäckel 2 years ago
parent c5aa93e1a9
commit b5058d029c
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
  1. 15
      pkgs/development/python-modules/google-cloud-bigquery/default.nix

@ -2,7 +2,9 @@
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, db-dtypes
, freezegun
, google-cloud-bigquery-storage
, google-cloud-core
, google-cloud-datacatalog
, google-cloud-storage
@ -27,13 +29,15 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
google-resumable-media
google-cloud-core
google-cloud-bigquery-storage
google-resumable-media
proto-plus
pyarrow
];
checkInputs = [
db-dtypes
freezegun
google-cloud-testutils
ipython
@ -54,8 +58,8 @@ buildPythonPackage rec {
# requires credentials
"test_bigquery_magic"
"TestBigQuery"
"test_context_with_no_query_cache_from_context"
"test_arrow_extension_types_same_for_storage_and_REST_APIs_894"
"test_query_retry_539"
"test_list_rows_empty_table"
"test_list_rows_page_size"
"test_list_rows_scalars"
@ -75,6 +79,13 @@ buildPythonPackage rec {
"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 = [
"google.cloud.bigquery"
"google.cloud.bigquery_v2"

Loading…
Cancel
Save