File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ pytest-cov >= 2.4.0
55pytest-localserver >= 0.4.1
66
77cachecontrol >= 0.12.6
8- google-api-core [grpc ] >= 1.14.0 , < 2.0.0dev ; platform.python_implementation != 'PyPy'
8+ google-api-core [grpc ] >= 1.22.1 , < 2.0.0dev ; platform.python_implementation != 'PyPy'
99google-api-python-client >= 1.7.8
10- google-auth == 1.18.0 # temporary workaround
11- google-cloud-firestore >= 1.4.0 ; platform.python_implementation != 'PyPy'
12- google-cloud-storage >= 1.18.0
10+ google-cloud-firestore >= 2.1.0 ; platform.python_implementation != 'PyPy'
11+ google-cloud-storage >= 1.37.1
Original file line number Diff line number Diff line change 3838 'to integrate Firebase into their services and applications.' )
3939install_requires = [
4040 'cachecontrol>=0.12.6' ,
41- 'google-api-core[grpc] >= 1.14.0 , < 2.0.0dev; platform.python_implementation != "PyPy"' ,
41+ 'google-api-core[grpc] >= 1.22.1 , < 2.0.0dev; platform.python_implementation != "PyPy"' ,
4242 'google-api-python-client >= 1.7.8' ,
43- 'google-cloud-firestore>=1.4 .0; platform.python_implementation != "PyPy"' ,
44- 'google-cloud-storage>=1.18.0 ' ,
43+ 'google-cloud-firestore>=2.1 .0; platform.python_implementation != "PyPy"' ,
44+ 'google-cloud-storage>=1.37.1 ' ,
4545]
4646
4747setup (
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ def test_sign_with_iam(self):
259259 testutils .MockCredential (), name = 'iam-signer-app' , options = options )
260260 try :
261261 signature = base64 .b64encode (b'test' ).decode ()
262- iam_resp = '{{"signature ": "{0}"}}' .format (signature )
262+ iam_resp = '{{"signedBlob ": "{0}"}}' .format (signature )
263263 _overwrite_iam_request (app , testutils .MockRequest (200 , iam_resp ))
264264 custom_token = auth .create_custom_token (MOCK_UID , app = app ).decode ()
265265 assert custom_token .endswith ('.' + signature .rstrip ('=' ))
@@ -297,7 +297,7 @@ def test_sign_with_discovered_service_account(self):
297297 # Now invoke the IAM signer.
298298 signature = base64 .b64encode (b'test' ).decode ()
299299 request .response = testutils .MockResponse (
300- 200 , '{{"signature ": "{0}"}}' .format (signature ))
300+ 200 , '{{"signedBlob ": "{0}"}}' .format (signature ))
301301 custom_token = auth .create_custom_token (MOCK_UID , app = app ).decode ()
302302 assert custom_token .endswith ('.' + signature .rstrip ('=' ))
303303 self ._verify_signer (custom_token , 'discovered-service-account' )
You can’t perform that action at this time.
0 commit comments