From 0cdb4f11fdf85ebd568cb32dbcb53f402f278839 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 6 Jan 2024 15:26:56 +0100 Subject: [PATCH 1/2] python311Packages.google-cloud-container: 2.36.0 -> 2.37.0 Changelog: https://github.com/googleapis/google-cloud-python/blob/google-cloud-container-v2.37.0/packages/google-cloud-container/CHANGELOG.md --- .../python-modules/google-cloud-container/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-container/default.nix b/pkgs/development/python-modules/google-cloud-container/default.nix index 47d3969dbf6a..00cff97e133a 100644 --- a/pkgs/development/python-modules/google-cloud-container/default.nix +++ b/pkgs/development/python-modules/google-cloud-container/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "google-cloud-container"; - version = "2.36.0"; + version = "2.37.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-dDkiUothV1QwMkeD8FsWZloLLMEbCNqJ1yHeraqdbuw="; + hash = "sha256-kHWB2/iCAXFlHnifL+aPaU0i3xmgf1rOSsk8JhCx1Dk="; }; propagatedBuildInputs = [ From a620ad1a82f07f6dab6fa103c5e00f5ddb2d6d68 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 8 Jan 2024 12:20:02 +0100 Subject: [PATCH 2/2] python311Packages.google-cloud-container: refactor --- .../python-modules/google-cloud-container/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/google-cloud-container/default.nix b/pkgs/development/python-modules/google-cloud-container/default.nix index 00cff97e133a..4d55bc739a23 100644 --- a/pkgs/development/python-modules/google-cloud-container/default.nix +++ b/pkgs/development/python-modules/google-cloud-container/default.nix @@ -9,12 +9,13 @@ , pytest-asyncio , pytestCheckHook , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "google-cloud-container"; version = "2.37.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -23,6 +24,10 @@ buildPythonPackage rec { hash = "sha256-kHWB2/iCAXFlHnifL+aPaU0i3xmgf1rOSsk8JhCx1Dk="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ google-api-core libcst