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

This commit is contained in:
Sandro Jäckel 2021-08-24 23:03:32 +02:00
parent 3b7677852a
commit 85a639637b
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

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