From 92a34a09c935da6b42f4e103ab40d9b9ed3e37c5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 11 Aug 2022 23:52:53 +0000 Subject: [PATCH 1/2] python310Packages.google-cloud-bigquery: 3.2.0 -> 3.3.1 --- .../python-modules/google-cloud-bigquery/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-bigquery/default.nix b/pkgs/development/python-modules/google-cloud-bigquery/default.nix index da01f970df32..1e01b10d0ef3 100644 --- a/pkgs/development/python-modules/google-cloud-bigquery/default.nix +++ b/pkgs/development/python-modules/google-cloud-bigquery/default.nix @@ -21,12 +21,12 @@ buildPythonPackage rec { pname = "google-cloud-bigquery"; - version = "3.2.0"; + version = "3.3.1"; format = "setuptools"; src = fetchPypi { inherit pname version; - sha256 = "sha256-l/tDBuMky4aQnOMqmUToHSH7yyingMXN8BtuTUfUwyI="; + sha256 = "sha256-S2gYVMAaQnK4AmHd8biofYAvxVmM7UTc/HuDPLAsDhg="; }; postPatch = '' From 481db047806a681b9cef932fc73a45ddb923e63e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 12 Aug 2022 10:24:27 +0200 Subject: [PATCH 2/2] python310Packages.google-cloud-bigquery: remove stale substituteInPlace - disable on older Python releases --- .../python-modules/google-cloud-bigquery/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-bigquery/default.nix b/pkgs/development/python-modules/google-cloud-bigquery/default.nix index 1e01b10d0ef3..c939217ccd09 100644 --- a/pkgs/development/python-modules/google-cloud-bigquery/default.nix +++ b/pkgs/development/python-modules/google-cloud-bigquery/default.nix @@ -17,6 +17,7 @@ , psutil , pyarrow , pytest-xdist +, pythonOlder }: buildPythonPackage rec { @@ -24,16 +25,13 @@ buildPythonPackage rec { version = "3.3.1"; format = "setuptools"; + disabled = pythonOlder "3.7"; + src = fetchPypi { inherit pname version; - sha256 = "sha256-S2gYVMAaQnK4AmHd8biofYAvxVmM7UTc/HuDPLAsDhg="; + hash = "sha256-S2gYVMAaQnK4AmHd8biofYAvxVmM7UTc/HuDPLAsDhg="; }; - postPatch = '' - substituteInPlace setup.py \ - --replace 'pyarrow >= 3.0.0, < 9.0dev' 'pyarrow >= 3.0.0, < 10.0dev' - ''; - propagatedBuildInputs = [ google-cloud-core google-cloud-bigquery-storage