Merge pull request #294731 from r-ryantm/auto-update/python312Packages.grpcio-testing

python312Packages.grpcio-testing: 1.62.0 -> 1.62.1
This commit is contained in:
Mario Rodas 2024-03-10 23:42:28 -05:00 committed by GitHub
commit 57ac3bb7ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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