Skip to content

Commit 721fa39

Browse files
authored
fix(storage): add py-3.10 configs to noxfile config (GoogleCloudPlatform#6903)
* fix(storage): update noxfile_config to add py-3.10 configs * update service account email configs
1 parent 6d9e108 commit 721fa39

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

storage/cloud-client/noxfile_config.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ def get_service_account_email():
3939
if session == 'py-3.8':
4040
return ('py38-storage-test@'
4141
'python-docs-samples-tests.iam.gserviceaccount.com')
42+
if session == 'py-3.9':
43+
return ('py39-storage-test@'
44+
'python-docs-samples-tests.iam.gserviceaccount.com')
45+
if session == 'py-3.10':
46+
return ('py310-storage-test@'
47+
'python-docs-samples-tests.iam.gserviceaccount.com')
4248
return os.environ['HMAC_KEY_TEST_SERVICE_ACCOUNT']
4349

4450

@@ -58,6 +64,9 @@ def get_cloud_kms_key():
5864
if session == 'py-3.9':
5965
return ('projects/python-docs-samples-tests-py39/locations/us/'
6066
'keyRings/gcs-kms-key-ring/cryptoKeys/gcs-kms-key')
67+
if session == 'py-3.10':
68+
return ('projects/python-docs-samples-tests-310/locations/us/'
69+
'keyRings/gcs-kms-key-ring/cryptoKeys/gcs-kms-key')
6170
return os.environ['CLOUD_KMS_KEY']
6271

6372

0 commit comments

Comments
 (0)