File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3s changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ pytest-cov >= 2.4.0
5
5
pytest-localserver >= 0.4.1
6
6
7
7
cachecontrol >= 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'
9
9
google-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 38
38
'to integrate Firebase into their services and applications.' )
39
39
install_requires = [
40
40
'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"' ,
42
42
'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 ' ,
45
45
]
46
46
47
47
setup (
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ def test_sign_with_iam(self):
259
259
testutils .MockCredential (), name = 'iam-signer-app' , options = options )
260
260
try :
261
261
signature = base64 .b64encode (b'test' ).decode ()
262
- iam_resp = '{{"signature ": "{0}"}}' .format (signature )
262
+ iam_resp = '{{"signedBlob ": "{0}"}}' .format (signature )
263
263
_overwrite_iam_request (app , testutils .MockRequest (200 , iam_resp ))
264
264
custom_token = auth .create_custom_token (MOCK_UID , app = app ).decode ()
265
265
assert custom_token .endswith ('.' + signature .rstrip ('=' ))
@@ -297,7 +297,7 @@ def test_sign_with_discovered_service_account(self):
297
297
# Now invoke the IAM signer.
298
298
signature = base64 .b64encode (b'test' ).decode ()
299
299
request .response = testutils .MockResponse (
300
- 200 , '{{"signature ": "{0}"}}' .format (signature ))
300
+ 200 , '{{"signedBlob ": "{0}"}}' .format (signature ))
301
301
custom_token = auth .create_custom_token (MOCK_UID , app = app ).decode ()
302
302
assert custom_token .endswith ('.' + signature .rstrip ('=' ))
303
303
self ._verify_signer (custom_token , 'discovered-service-account' )
You can’t perform that action at this time.
0 commit comments