Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit b0e027b

Browse files
authored
Merge branch 'main' into gilContentionLazy
2 parents 059cfff + 58e2406 commit b0e027b

15 files changed

+207
-119
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "3.57.0"
2+
".": "3.58.0"
33
}

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@
44

55
[1]: https://pypi.org/project/google-cloud-spanner/#history
66

7+
## [3.58.0](https://github.com/googleapis/python-spanner/compare/v3.57.0...v3.58.0) (2025-09-10)
8+
9+
10+
### Features
11+
12+
* **spanner:** Support setting read lock mode ([#1404](https://github.com/googleapis/python-spanner/issues/1404)) ([ee24c6e](https://github.com/googleapis/python-spanner/commit/ee24c6ee2643bc74d52e9f0a924b80a830fa2697))
13+
14+
15+
### Dependencies
16+
17+
* Remove Python 3.7 and 3.8 as supported runtimes ([#1395](https://github.com/googleapis/python-spanner/issues/1395)) ([fc93792](https://github.com/googleapis/python-spanner/commit/fc9379232224f56d29d2e36559a756c05a5478ff))
18+
719
## [3.57.0](https://github.com/googleapis/python-spanner/compare/v3.56.0...v3.57.0) (2025-08-14)
820

921

google/cloud/spanner_admin_database_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "3.57.0" # {x-release-please-version}
16+
__version__ = "3.58.0" # {x-release-please-version}

google/cloud/spanner_admin_instance_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "3.57.0" # {x-release-please-version}
16+
__version__ = "3.58.0" # {x-release-please-version}

google/cloud/spanner_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "3.57.0" # {x-release-please-version}
16+
__version__ = "3.58.0" # {x-release-please-version}

samples/generated_samples/snippet_metadata_google.spanner.admin.database.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-spanner-admin-database",
11-
"version": "0.1.0"
11+
"version": "3.58.0"
1212
},
1313
"snippets": [
1414
{

samples/generated_samples/snippet_metadata_google.spanner.admin.instance.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-spanner-admin-instance",
11-
"version": "0.1.0"
11+
"version": "3.58.0"
1212
},
1313
"snippets": [
1414
{

samples/generated_samples/snippet_metadata_google.spanner.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-spanner",
11-
"version": "0.1.0"
11+
"version": "3.58.0"
1212
},
1313
"snippets": [
1414
{

samples/samples/backup_sample.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ def create_backup_with_encryption_key(
116116

117117
# [END spanner_create_backup_with_encryption_key]
118118

119+
119120
# [START spanner_create_backup_with_MR_CMEK]
120121
def create_backup_with_multiple_kms_keys(
121122
instance_id, database_id, backup_id, kms_key_names
@@ -246,6 +247,7 @@ def restore_database_with_encryption_key(
246247

247248
# [END spanner_restore_backup_with_encryption_key]
248249

250+
249251
# [START spanner_restore_backup_with_MR_CMEK]
250252
def restore_database_with_multiple_kms_keys(
251253
instance_id, new_database_id, backup_id, kms_key_names
@@ -697,6 +699,7 @@ def copy_backup(instance_id, backup_id, source_backup_path):
697699

698700
# [END spanner_copy_backup]
699701

702+
700703
# [START spanner_copy_backup_with_MR_CMEK]
701704
def copy_backup_with_multiple_kms_keys(
702705
instance_id, backup_id, source_backup_path, kms_key_names

samples/samples/backup_sample_test.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ def test_create_backup_with_encryption_key(
9393
assert kms_key_name in out
9494

9595

96-
@pytest.mark.skip(reason="skipped since the KMS keys are not added on test "
97-
"project")
96+
@pytest.mark.skip(reason="skipped since the KMS keys are not added on test " "project")
9897
@pytest.mark.dependency(name="create_backup_with_multiple_kms_keys")
9998
def test_create_backup_with_multiple_kms_keys(
10099
capsys,
@@ -116,8 +115,7 @@ def test_create_backup_with_multiple_kms_keys(
116115
assert kms_key_names[2] in out
117116

118117

119-
@pytest.mark.skip(reason="skipped since the KMS keys are not added on test "
120-
"project")
118+
@pytest.mark.skip(reason="skipped since the KMS keys are not added on test " "project")
121119
@pytest.mark.dependency(depends=["create_backup_with_multiple_kms_keys"])
122120
def test_copy_backup_with_multiple_kms_keys(
123121
capsys, multi_region_instance_id, spanner_client, kms_key_names
@@ -164,8 +162,7 @@ def test_restore_database_with_encryption_key(
164162
assert kms_key_name in out
165163

166164

167-
@pytest.mark.skip(reason="skipped since the KMS keys are not added on test "
168-
"project")
165+
@pytest.mark.skip(reason="skipped since the KMS keys are not added on test " "project")
169166
@pytest.mark.dependency(depends=["create_backup_with_multiple_kms_keys"])
170167
@RetryErrors(exception=DeadlineExceeded, max_tries=2)
171168
def test_restore_database_with_multiple_kms_keys(

0 commit comments

Comments
 (0)