Skip to content

Commit 1fccf8e

Browse files
dependabot[bot]mdelapenyaclaude
authored
chore(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.1 in /modules/gcloud (#3883)
* chore(deps): bump google.golang.org/grpc in /modules/gcloud Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.82.1 to 1.83.1. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.82.1...v1.83.1) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-version: 1.83.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * fix(gcloud): migrate pubsub tests to cloud.google.com/go/pubsub/v2 The grpc bump (1.82.1→1.83.1) pulls in a newer cloud.google.com/go/pubsub that marks its v1 API as deprecated, causing staticcheck SA1019 failures. Migrate pubsub_test.go and examples_test.go from the v1 client API to v2: - Use client.TopicAdminClient.CreateTopic with full resource name - Use client.SubscriptionAdminClient.CreateSubscription with full resource name - Use client.Publisher / client.Subscriber instead of *Topic / *Subscription - Update go.mod to use cloud.google.com/go/pubsub/v2 as a direct dependency 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * fix(gcloud): upgrade spanner emulator to 1.5.40 cloud.google.com/go/spanner v1.87.0 (pulled in by the grpc v1.83.1 bump) enables multiplexed sessions by default. The old emulator v1.4.0 does not support multiplexed sessions and closes the connection rather than returning codes.Unimplemented, causing the session pool initialization to fail with a Unavailable error. Upgrade to emulator v1.5.40, which is the version used by the spanner client library's own integration test suite and fully supports multiplexed sessions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * docs(gcloud): update spanner emulator version to 1.5.40 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Manuel de la Peña <social.mdelapenya@gmail.com> Co-authored-by: Claude <noreply@anthropic.com>
1 parent b731734 commit 1fccf8e

8 files changed

Lines changed: 1575 additions & 116 deletions

File tree

docs/modules/gcloud.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The Google Cloud module exposes the following Go packages:
2525
- [Pubsub](#pubsub): `github.com/testcontainers/testcontainers-go/modules/gcloud/pubsub`.
2626
- [Spanner](#spanner): `github.com/testcontainers/testcontainers-go/modules/gcloud/spanner`.
2727
!!!info
28-
By default, the all the emulators use `gcr.io/google.com/cloudsdktool/cloud-sdk:emulators` as the default Docker image, except for the BigQuery emulator, which uses `ghcr.io/goccy/bigquery-emulator:0.6.1`, and Spanner, which uses `gcr.io/cloud-spanner-emulator/emulator:1.4.0`.
28+
By default, the all the emulators use `gcr.io/google.com/cloudsdktool/cloud-sdk:emulators` as the default Docker image, except for the BigQuery emulator, which uses `ghcr.io/goccy/bigquery-emulator:0.6.1`, and Spanner, which uses `gcr.io/cloud-spanner-emulator/emulator:1.5.40`.
2929

3030
## BigQuery
3131

@@ -258,7 +258,7 @@ func Run(ctx context.Context, img string, opts ...testcontainers.ContainerCustom
258258
#### Image
259259
260260
Use the second argument in the `Run` function to set a valid Docker image.
261-
In example: `Run(context.Background(), "gcr.io/cloud-spanner-emulator/emulator:1.4.0")`.
261+
In example: `Run(context.Background(), "gcr.io/cloud-spanner-emulator/emulator:1.5.40")`.
262262
263263
### Container Options
264264

modules/gcloud/go.mod

Lines changed: 36 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,35 @@ go 1.25.0
55
toolchain go1.25.9
66

77
require (
8-
cloud.google.com/go/bigquery v1.59.1
9-
cloud.google.com/go/bigtable v1.21.0
10-
cloud.google.com/go/datastore v1.15.0
11-
cloud.google.com/go/firestore v1.14.0
12-
cloud.google.com/go/pubsub v1.36.2
13-
cloud.google.com/go/spanner v1.57.0
8+
cloud.google.com/go/bigquery v1.72.0
9+
cloud.google.com/go/bigtable v1.41.0
10+
cloud.google.com/go/datastore v1.21.0
11+
cloud.google.com/go/firestore v1.21.0
12+
cloud.google.com/go/pubsub/v2 v2.0.0
13+
cloud.google.com/go/spanner v1.87.0
1414
github.com/stretchr/testify v1.11.1
1515
github.com/testcontainers/testcontainers-go v0.44.0
16-
google.golang.org/api v0.169.0
17-
google.golang.org/grpc v1.82.1
16+
google.golang.org/api v0.264.0
17+
google.golang.org/grpc v1.83.1
1818
)
1919

2020
require (
21-
cel.dev/expr v0.25.1 // indirect
22-
cloud.google.com/go v0.112.1 // indirect
21+
cel.dev/expr v0.25.2 // indirect
22+
cloud.google.com/go v0.123.0 // indirect
23+
cloud.google.com/go/auth v0.18.2 // indirect
24+
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
2325
cloud.google.com/go/compute/metadata v0.9.0 // indirect
24-
cloud.google.com/go/iam v1.1.6 // indirect
25-
cloud.google.com/go/longrunning v0.5.5 // indirect
26+
cloud.google.com/go/iam v1.5.3 // indirect
27+
cloud.google.com/go/longrunning v0.8.0 // indirect
28+
cloud.google.com/go/monitoring v1.24.3 // indirect
2629
dario.cat/mergo v1.0.2 // indirect
2730
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
31+
github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.5.3 // indirect
32+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.33.0 // indirect
33+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.54.0 // indirect
34+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.54.0 // indirect
2835
github.com/Microsoft/go-winio v0.6.2 // indirect
29-
github.com/apache/arrow/go/v14 v14.0.2 // indirect
36+
github.com/apache/arrow/go/v15 v15.0.2 // indirect
3037
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
3138
github.com/cespare/xxhash/v2 v2.3.0 // indirect
3239
github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2 // indirect
@@ -35,7 +42,7 @@ require (
3542
github.com/containerd/log v0.1.0 // indirect
3643
github.com/containerd/platforms v0.2.1 // indirect
3744
github.com/cpuguy83/dockercfg v0.3.2 // indirect
38-
github.com/davecgh/go-spew v1.1.1 // indirect
45+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
3946
github.com/distribution/reference v0.6.0 // indirect
4047
github.com/docker/go-connections v0.7.0 // indirect
4148
github.com/docker/go-units v0.5.0 // indirect
@@ -49,13 +56,11 @@ require (
4956
github.com/go-ole/go-ole v1.3.0 // indirect
5057
github.com/goccy/go-json v0.10.2 // indirect
5158
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
52-
github.com/golang/protobuf v1.5.4 // indirect
5359
github.com/google/flatbuffers v23.5.26+incompatible // indirect
54-
github.com/google/s2a-go v0.1.7 // indirect
60+
github.com/google/s2a-go v0.1.9 // indirect
5561
github.com/google/uuid v1.6.0 // indirect
56-
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
57-
github.com/googleapis/gax-go/v2 v2.12.2 // indirect
58-
github.com/json-iterator/go v1.1.12 // indirect
62+
github.com/googleapis/enterprise-certificate-proxy v0.3.11 // indirect
63+
github.com/googleapis/gax-go/v2 v2.17.0 // indirect
5964
github.com/klauspost/compress v1.18.6 // indirect
6065
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
6166
github.com/lufia/plan9stats v0.0.0-20260330125221-c963978e514e // indirect
@@ -69,42 +74,44 @@ require (
6974
github.com/moby/sys/user v0.4.0 // indirect
7075
github.com/moby/sys/userns v0.1.0 // indirect
7176
github.com/moby/term v0.5.2 // indirect
72-
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
73-
github.com/modern-go/reflect2 v1.0.2 // indirect
7477
github.com/opencontainers/go-digest v1.0.0 // indirect
7578
github.com/opencontainers/image-spec v1.1.1 // indirect
7679
github.com/pierrec/lz4/v4 v4.1.18 // indirect
7780
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
78-
github.com/pmezard/go-difflib v1.0.0 // indirect
81+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
7982
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
8083
github.com/shirou/gopsutil/v4 v4.26.6 // indirect
8184
github.com/sirupsen/logrus v1.9.4 // indirect
82-
github.com/spiffe/go-spiffe/v2 v2.6.0 // indirect
85+
github.com/spiffe/go-spiffe/v2 v2.7.0 // indirect
8386
github.com/tklauser/go-sysconf v0.4.0 // indirect
8487
github.com/tklauser/numcpus v0.12.0 // indirect
8588
github.com/yusufpapurcu/wmi v1.2.4 // indirect
8689
github.com/zeebo/xxh3 v1.0.2 // indirect
8790
go.opencensus.io v0.24.0 // indirect
8891
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
89-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
92+
go.opentelemetry.io/contrib/detectors/gcp v1.44.0 // indirect
93+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0 // indirect
9094
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 // indirect
9195
go.opentelemetry.io/otel v1.44.0 // indirect
9296
go.opentelemetry.io/otel/metric v1.44.0 // indirect
97+
go.opentelemetry.io/otel/sdk v1.44.0 // indirect
98+
go.opentelemetry.io/otel/sdk/metric v1.44.0 // indirect
9399
go.opentelemetry.io/otel/trace v1.44.0 // indirect
94100
golang.org/x/crypto v0.54.0 // indirect
101+
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
95102
golang.org/x/mod v0.37.0 // indirect
96103
golang.org/x/net v0.56.0 // indirect
97104
golang.org/x/oauth2 v0.36.0 // indirect
98105
golang.org/x/sync v0.22.0 // indirect
99106
golang.org/x/sys v0.47.0 // indirect
100107
golang.org/x/telemetry v0.0.0-20260625142307-59b4966ccb57 // indirect
101108
golang.org/x/text v0.40.0 // indirect
102-
golang.org/x/time v0.11.0 // indirect
109+
golang.org/x/time v0.14.0 // indirect
103110
golang.org/x/tools v0.47.0 // indirect
104-
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
105-
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect
106-
google.golang.org/genproto/googleapis/api v0.0.0-20260414002931-afd174a4e478 // indirect
107-
google.golang.org/genproto/googleapis/rpc v0.0.0-20260414002931-afd174a4e478 // indirect
111+
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
112+
google.golang.org/genproto v0.0.0-20260128011058-8636f8732409 // indirect
113+
google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa // indirect
114+
google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa // indirect
108115
google.golang.org/protobuf v1.36.11 // indirect
109116
gopkg.in/yaml.v3 v3.0.1 // indirect
110117
)

0 commit comments

Comments
 (0)