python3Packages.tensorflow-metadata: relax protobuf constraint

This commit is contained in:
Martin Weinelt
2022-09-19 16:06:13 +02:00
committed by Sandro Jäckel
parent 213cee6c1a
commit 2676a42a5b
@@ -21,6 +21,11 @@ buildPythonPackage rec {
./build.patch
];
postPatch = ''
substituteInPlace setup.py \
--replace 'protobuf>=3.13,<4' 'protobuf>=3.13'
'';
# Default build pulls in Bazel + extra deps, given the actual build
# is literally three lines (see below) - replace it with custom build.
preBuild = ''