python3Packages.grpcio-tools: 1.48.1 -> 1.49.1

Relax protofbuf constraint
This commit is contained in:
Martin Weinelt
2022-09-28 23:44:04 +02:00
parent d8a53aa20c
commit e582c4fb64
@@ -2,16 +2,16 @@
buildPythonPackage rec {
pname = "grpcio-tools";
version = "1.48.1";
version = "1.49.1";
src = fetchPypi {
inherit pname version;
sha256 = "1178f2ea531f80cc2027ec64728df6ffc8e98cf1df61652a496eafd612127183";
sha256 = "sha256-hMxk5bRrrUPV170v13K2VuugNmlhGHqEfpCOLLc125E=";
};
postPatch = ''
substituteInPlace setup.py \
--replace 'protobuf>=3.12.0, < 4.0dev' 'protobuf'
--replace 'protobuf>=4.21.3,<5.0dev' 'protobuf'
'';
outputs = [ "out" "dev" ];