python39Packages.cirq-google: fix google-api-core version constraint

This commit is contained in:
Sandro Jäckel
2021-08-25 12:31:15 +02:00
parent 3b7677852a
commit 85a639637b
@@ -16,7 +16,9 @@ buildPythonPackage rec {
sourceRoot = "source/${pname}";
postPatch = ''
substituteInPlace requirements.txt --replace "protobuf~=3.13.0" "protobuf"
substituteInPlace requirements.txt \
--replace "protobuf~=3.13.0" "protobuf" \
--replace "google-api-core[grpc] >= 1.14.0, < 2.0.0dev" "google-api-core[grpc] >= 1.14.0, < 3.0.0dev"
'';
propagatedBuildInputs = [