diff --git a/google/cloud/firestore_v1/_helpers.py b/google/cloud/firestore_v1/_helpers.py index c800a194ee..3b6b7886bc 100644 --- a/google/cloud/firestore_v1/_helpers.py +++ b/google/cloud/firestore_v1/_helpers.py @@ -1209,7 +1209,7 @@ def deserialize_bundle( bundle_element: BundleElement = BundleElement.from_json(json.dumps(data)) # type: ignore except AttributeError as e: # Some bad serialization formats cannot be universally deserialized. - if e.args[0] == "'dict' object has no attribute 'find'": + if e.args[0] == "'dict' object has no attribute 'find'": # pragma: NO COVER raise ValueError( "Invalid serialization of datetimes. " "Cannot deserialize Bundles created from the NodeJS SDK." diff --git a/setup.py b/setup.py index e97f8455dd..a2308b7341 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ # Until this issue is closed # https://github.com/googleapis/google-cloud-python/issues/10566 "google-cloud-core >= 1.4.1, <3.0.0dev", - "proto-plus >= 1.10.0", + "proto-plus >= 1.20.5, <2.0.0dev", ] extras = {} diff --git a/testing/constraints-3.6.txt b/testing/constraints-3.6.txt index d7e75f87ce..c5f401e39a 100644 --- a/testing/constraints-3.6.txt +++ b/testing/constraints-3.6.txt @@ -7,5 +7,5 @@ # Then this file should have foo==1.14.0 google-api-core==1.31.5 google-cloud-core==1.4.1 -proto-plus==1.10.0 -protobuf==3.12.0 # transitive from `google-api-core` +proto-plus==1.20.5 +protobuf==3.19.0 # transitive from `google-api-core`