about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2024-03-10 23:42:28 -0500
committerGitHub <noreply@github.com>2024-03-10 23:42:28 -0500
commit57ac3bb7ae1f2e930107061d43a17b89a81ee0c8 (patch)
tree32f0cab548a6948c86b86e611cf4b0182b10c626
parent87b03c11277edcba564658174b1416e6c470f9d9 (diff)
parentb005277b9190cd54098639d6a8533d9437f3cf8e (diff)
Merge pull request #294731 from r-ryantm/auto-update/python312Packages.grpcio-testing
python312Packages.grpcio-testing: 1.62.0 -> 1.62.1
-rw-r--r--pkgs/development/python-modules/grpcio-testing/default.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/grpcio-testing/default.nix b/pkgs/development/python-modules/grpcio-testing/default.nix
index d6ecbe9d3aa53..c5cdf76a5ef67 100644
--- a/pkgs/development/python-modules/grpcio-testing/default.nix
+++ b/pkgs/development/python-modules/grpcio-testing/default.nix
@@ -5,25 +5,30 @@
 , protobuf
 , pythonOlder
 , pythonRelaxDepsHook
+, setuptools
 }:
 
 buildPythonPackage rec {
   pname = "grpcio-testing";
-  version = "1.62.0";
-  format = "setuptools";
+  version = "1.62.1";
+  pyproject = true;
 
   disabled = pythonOlder "3.7";
 
   src = fetchPypi {
     inherit pname version;
-    hash = "sha256-T/CiuWYEuwA9Oa1v8li3XVVa13lePMFEr+2yDa/erJk=";
+    hash = "sha256-yyaVEAqykAtRz9vbVv4SEA1JWA8QrgZ6LKsRfo/HRu0=";
   };
 
   postPatch = ''
     substituteInPlace setup.py \
-      --replace '"grpcio>={version}".format(version=grpc_version.VERSION)' '"grpcio"'
+      --replace-fail '"grpcio>={version}".format(version=grpc_version.VERSION)' '"grpcio"'
   '';
 
+  nativeBuildInputs = [
+    setuptools
+  ];
+
   propagatedBuildInputs = [
     grpcio
     protobuf