python3Packages.google_cloud_bigquery: 1.23.1 -> 1.24.0

This commit is contained in:
Jonathan Ringer 2020-03-18 15:07:55 -07:00 committed by Jon
parent a06324598f
commit a802cc30ef

View File

@ -1,6 +1,7 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, freezegun
, google_resumable_media , google_resumable_media
, google_api_core , google_api_core
, google_cloud_core , google_cloud_core
@ -13,23 +14,29 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-bigquery"; pname = "google-cloud-bigquery";
version = "1.23.1"; version = "1.24.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "99c341592d711d8f131fe80d842f7e1b04b2ca1faefa1ffedf4dec1b382cebf6"; sha256 = "1ca22hzql8x1z6bx9agidx0q09w24jwzkgg49k5j1spcignwxz3z";
}; };
checkInputs = [ pytest mock ipython ]; checkInputs = [ pytest mock ipython freezegun ];
propagatedBuildInputs = [ google_resumable_media google_api_core google_cloud_core pandas pyarrow ]; propagatedBuildInputs = [ google_resumable_media google_api_core google_cloud_core pandas pyarrow ];
# prevent local directory from shadowing google imports
# call_api_applying_custom_retry_on_timeout requires credentials
# test_magics requires modifying sys.path
checkPhase = '' checkPhase = ''
pytest tests/unit rm -r google
pytest tests/unit \
-k 'not call_api_applying_custom_retry_on_timeout' \
--ignore=tests/unit/test_magics.py
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Google BigQuery API client library"; description = "Google BigQuery API client library";
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
license = licenses.asl20; license = licenses.asl20;
maintainers = [ maintainers.costrouc ]; maintainers = [ maintainers.costrouc ];
}; };