Skip to content

Commit ec48c68

Browse files
chore(bazel): update Bazel Go deps (#1604)
Updated Go dependencies for Bazel repositories.
1 parent dd0513a commit ec48c68

File tree

4 files changed

+69
-101
lines changed

4 files changed

+69
-101
lines changed

WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ com_googleapis_gapic_generator_go_repositories()
8989

9090
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
9191

92-
go_register_toolchains(version = "1.21.13")
92+
go_register_toolchains(version = "1.22.11")
9393

9494
go_rules_dependencies()
9595

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/googleapis/gapic-generator-go
22

3-
go 1.21
3+
go 1.22.11
44

55
require (
66
cloud.google.com/go/iam v1.3.0

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"groupName": "deps",
2626
"force": {
2727
"constraints": {
28-
"go": "1.21"
28+
"go": "1.22"
2929
}
3030
}
3131
}

repositories.bzl

Lines changed: 66 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,12 @@ def com_googleapis_gapic_generator_go_repositories():
2828
strip_prefix = "rules_gapic-%s" % _rules_gapic_version,
2929
urls = ["https://github.com/googleapis/rules_gapic/archive/v%s.tar.gz" % _rules_gapic_version],
3030
)
31-
go_repository(
32-
name = "co_honnef_go_tools",
33-
importpath = "honnef.co/go/tools",
34-
sum = "h1:/hemPrYIhOhy8zYrNj+069zDB68us2sMGsfkFJO0iZs=",
35-
version = "v0.0.0-20190523083050-ea95bdfd59fc",
36-
)
37-
3831
go_repository(
3932
name = "com_github_bufbuild_protocompile",
4033
importpath = "github.com/bufbuild/protocompile",
4134
sum = "h1:+jW/wnLMLxaCEG8AX9lD0bQ5v9h1RUiMKOBOT5ll9dM=",
4235
version = "v0.10.0",
4336
)
44-
go_repository(
45-
name = "com_github_burntsushi_toml",
46-
importpath = "github.com/BurntSushi/toml",
47-
sum = "h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=",
48-
version = "v0.3.1",
49-
)
5037
go_repository(
5138
name = "com_github_census_instrumentation_opencensus_proto",
5239
importpath = "github.com/census-instrumentation/opencensus-proto",
@@ -59,23 +46,11 @@ def com_googleapis_gapic_generator_go_repositories():
5946
sum = "h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=",
6047
version = "v2.3.0",
6148
)
62-
go_repository(
63-
name = "com_github_client9_misspell",
64-
importpath = "github.com/client9/misspell",
65-
sum = "h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI=",
66-
version = "v0.3.4",
67-
)
68-
go_repository(
69-
name = "com_github_cncf_udpa_go",
70-
importpath = "github.com/cncf/udpa/go",
71-
sum = "h1:WBZRG4aNOuI15bLRrCgN8fCq8E5Xuty6jGbmSNEvSsU=",
72-
version = "v0.0.0-20191209042840-269d4d468f6f",
73-
)
7449
go_repository(
7550
name = "com_github_cncf_xds_go",
7651
importpath = "github.com/cncf/xds/go",
77-
sum = "h1:N+3sFI5GUjRKBi+i0TxYVST9h4Ie192jJWpHvthBBgg=",
78-
version = "v0.0.0-20240723142845-024c85f92f20",
52+
sum = "h1:QVw89YDxXxEe+l8gU8ETbOasdwEV+avkR75ZzsVV9WI=",
53+
version = "v0.0.0-20240905190251-b4127c9b8d78",
7954
)
8055
go_repository(
8156
name = "com_github_davecgh_go_spew",
@@ -86,8 +61,8 @@ def com_googleapis_gapic_generator_go_repositories():
8661
go_repository(
8762
name = "com_github_envoyproxy_go_control_plane",
8863
importpath = "github.com/envoyproxy/go-control-plane",
89-
sum = "h1:HzkeUz1Knt+3bK+8LG1bxOO/jzWZmdxpwC51i202les=",
90-
version = "v0.13.0",
64+
sum = "h1:vPfJZCkob6yTMEgS+0TwfTUfbHjfy/6vOJ8hUWX/uXE=",
65+
version = "v0.13.1",
9166
)
9267
go_repository(
9368
name = "com_github_envoyproxy_protoc_gen_validate",
@@ -140,12 +115,6 @@ def com_googleapis_gapic_generator_go_repositories():
140115
sum = "h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE=",
141116
version = "v0.0.0-20210331224755-41bb18bfe9da",
142117
)
143-
go_repository(
144-
name = "com_github_golang_mock",
145-
importpath = "github.com/golang/mock",
146-
sum = "h1:G5FRp8JnTd7RQH5kemVNlMeyXQAztQ3mOWV95KxsXH8=",
147-
version = "v1.1.1",
148-
)
149118
go_repository(
150119
name = "com_github_golang_protobuf",
151120
importpath = "github.com/golang/protobuf",
@@ -179,8 +148,8 @@ def com_googleapis_gapic_generator_go_repositories():
179148
go_repository(
180149
name = "com_github_google_s2a_go",
181150
importpath = "github.com/google/s2a-go",
182-
sum = "h1:zZDs9gcbt9ZPLV0ndSyQk6Kacx2g/X+SKYovpnz3SMM=",
183-
version = "v0.1.8",
151+
sum = "h1:LGD7gtMgezd8a/Xak7mEWL0PjoTQFvpRudN895yqKW0=",
152+
version = "v0.1.9",
184153
)
185154
go_repository(
186155
name = "com_github_google_uuid",
@@ -208,15 +177,21 @@ def com_googleapis_gapic_generator_go_repositories():
208177
"gazelle:resolve proto proto google/rpc/code.proto @com_google_googleapis//google/rpc:code_proto",
209178
],
210179
importpath = "github.com/googleapis/gax-go/v2",
211-
sum = "h1:f+jMrjBPl+DL9nI4IQzLUxMq7XrAqFYB7hBPqMNIe8o=",
212-
version = "v2.14.0",
180+
sum = "h1:hb0FFeiPaQskmvakKu5EbCbpntQn48jyHuvrkurSS/Q=",
181+
version = "v2.14.1",
213182
)
214183
go_repository(
215184
name = "com_github_googleapis_grpc_fallback_go",
216185
importpath = "github.com/googleapis/grpc-fallback-go",
217186
sum = "h1:tEDqZnKGKQpYrmEuu3VVBTw3pijHJsKz/Lu2U0L9AV0=",
218187
version = "v0.1.4",
219188
)
189+
go_repository(
190+
name = "com_github_googlecloudplatform_opentelemetry_operations_go_detectors_gcp",
191+
importpath = "github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp",
192+
sum = "h1:cZpsGsWTIFKymTA0je7IIvi1O7Es7apb9CF3EQlOcfE=",
193+
version = "v1.24.2",
194+
)
220195
go_repository(
221196
name = "com_github_gorilla_mux",
222197
importpath = "github.com/gorilla/mux",
@@ -293,13 +268,6 @@ def com_googleapis_gapic_generator_go_repositories():
293268
sum = "h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=",
294269
version = "v1.0.0",
295270
)
296-
go_repository(
297-
name = "com_github_prometheus_client_model",
298-
importpath = "github.com/prometheus/client_model",
299-
sum = "h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM=",
300-
version = "v0.0.0-20190812154241-14fe0d1b01d4",
301-
)
302-
303271
go_repository(
304272
name = "com_github_russross_blackfriday_v2",
305273
importpath = "github.com/russross/blackfriday/v2",
@@ -360,12 +328,6 @@ def com_googleapis_gapic_generator_go_repositories():
360328
sum = "h1:RWq5SEjt8o25SROyN3z2OrDB9l7RPd3lwTWU8EcEdcI=",
361329
version = "v1.19.0",
362330
)
363-
go_repository(
364-
name = "com_github_stretchr_objx",
365-
importpath = "github.com/stretchr/objx",
366-
sum = "h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c=",
367-
version = "v0.5.0",
368-
)
369331
go_repository(
370332
name = "com_github_stretchr_testify",
371333
importpath = "github.com/stretchr/testify",
@@ -501,14 +463,14 @@ def com_googleapis_gapic_generator_go_repositories():
501463
go_repository(
502464
name = "com_google_cloud_go_auth",
503465
importpath = "cloud.google.com/go/auth",
504-
sum = "h1:Ic5SZz2lsvbYcWT5dfjNWgw6tTlGi2Wc8hyQSC9BstA=",
505-
version = "v0.11.0",
466+
sum = "h1:A5C4dKV/Spdvxcl0ggWwWEzzP7AZMJSEIgrkngwhGYM=",
467+
version = "v0.14.0",
506468
)
507469
go_repository(
508470
name = "com_google_cloud_go_auth_oauth2adapt",
509471
importpath = "cloud.google.com/go/auth/oauth2adapt",
510-
sum = "h1:V6a6XDu2lTwPZWOawrAa9HUK+DB2zfJyTuciBG5hFkU=",
511-
version = "v0.2.6",
472+
sum = "h1:/Lc7xODdqcEw8IrZ9SvwnlLX6j9FHQM74z6cBk9Rw6M=",
473+
version = "v0.2.7",
512474
)
513475
go_repository(
514476
name = "com_google_cloud_go_automl",
@@ -597,8 +559,8 @@ def com_googleapis_gapic_generator_go_repositories():
597559
go_repository(
598560
name = "com_google_cloud_go_compute_metadata",
599561
importpath = "cloud.google.com/go/compute/metadata",
600-
sum = "h1:UxK4uu/Tn+I3p2dYWTfiX4wva7aYlKixAHn3fyqngqo=",
601-
version = "v0.5.2",
562+
sum = "h1:A6hENjEsCDtC1k8byVsgwvVcioamEHvZ4j01OwKxG9I=",
563+
version = "v0.6.0",
602564
)
603565
go_repository(
604566
name = "com_google_cloud_go_contactcenterinsights",
@@ -1149,8 +1111,8 @@ def com_googleapis_gapic_generator_go_repositories():
11491111
go_repository(
11501112
name = "dev_cel_expr",
11511113
importpath = "cel.dev/expr",
1152-
sum = "h1:yloc84fytn4zmJX2GU3TkXGsaieaV7dQ057Qs4sIG2Y=",
1153-
version = "v0.16.0",
1114+
sum = "h1:RwRhoH17VhAu9U5CMvMhH1PDVgf0tuz9FT+24AfMLfU=",
1115+
version = "v0.16.2",
11541116
)
11551117
go_repository(
11561118
name = "in_gopkg_check_v1",
@@ -1182,6 +1144,12 @@ def com_googleapis_gapic_generator_go_repositories():
11821144
sum = "h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=",
11831145
version = "v0.24.0",
11841146
)
1147+
go_repository(
1148+
name = "io_opentelemetry_go_contrib_detectors_gcp",
1149+
importpath = "go.opentelemetry.io/contrib/detectors/gcp",
1150+
sum = "h1:G1JQOreVrfhRkner+l4mrGxmfqYCAuy76asTDAo0xsA=",
1151+
version = "v1.31.0",
1152+
)
11851153
go_repository(
11861154
name = "io_opentelemetry_go_contrib_instrumentation_google_golang_org_grpc_otelgrpc",
11871155
build_directives = [
@@ -1220,32 +1188,38 @@ def com_googleapis_gapic_generator_go_repositories():
12201188
"gazelle:resolve go go.opentelemetry.io/otel/metric/embedded @io_opentelemetry_go_otel_metric//embedded:go_default_library",
12211189
],
12221190
importpath = "go.opentelemetry.io/otel",
1223-
sum = "h1:PdomN/Al4q/lN6iBJEN3AwPvUiHPMlt93c8bqTG5Llw=",
1224-
version = "v1.29.0",
1191+
sum = "h1:NsJcKPIW0D0H3NgzPDHmo0WW6SptzPdqg/L1zsIm2hY=",
1192+
version = "v1.31.0",
12251193
)
12261194
go_repository(
12271195
name = "io_opentelemetry_go_otel_metric",
12281196
build_directives = [
12291197
"gazelle:resolve go go.opentelemetry.io/otel/attribute @io_opentelemetry_go_otel//attribute:go_default_library",
12301198
],
12311199
importpath = "go.opentelemetry.io/otel/metric",
1232-
sum = "h1:vPf/HFWTNkPu1aYeIsc98l4ktOQaL6LeSoeV2g+8YLc=",
1233-
version = "v1.29.0",
1200+
sum = "h1:FSErL0ATQAmYHUIzSezZibnyVlft1ybhy4ozRPcF2fE=",
1201+
version = "v1.31.0",
12341202
)
12351203
go_repository(
12361204
name = "io_opentelemetry_go_otel_sdk",
12371205
importpath = "go.opentelemetry.io/otel/sdk",
1238-
sum = "h1:vkqKjk7gwhS8VaWb0POZKmIEDimRCMsopNYnriHyryo=",
1239-
version = "v1.29.0",
1206+
sum = "h1:xLY3abVHYZ5HSfOg3l2E5LUj2Cwva5Y7yGxnSW9H5Gk=",
1207+
version = "v1.31.0",
1208+
)
1209+
go_repository(
1210+
name = "io_opentelemetry_go_otel_sdk_metric",
1211+
importpath = "go.opentelemetry.io/otel/sdk/metric",
1212+
sum = "h1:i9hxxLJF/9kkvfHppyLL55aW7iIJz4JjxTeYusH7zMc=",
1213+
version = "v1.31.0",
12401214
)
12411215
go_repository(
12421216
name = "io_opentelemetry_go_otel_trace",
12431217
build_directives = [
12441218
"gazelle:resolve go go.opentelemetry.io/otel/attribute @io_opentelemetry_go_otel//attribute:go_default_library",
12451219
],
12461220
importpath = "go.opentelemetry.io/otel/trace",
1247-
sum = "h1:J/8ZNK4XgR7a21DZUAsbF8pZ5Jcw1VhACmnYt39JTi4=",
1248-
version = "v1.29.0",
1221+
sum = "h1:ffjsj1aRouKewfr85U2aGagJ46+MvodynlQ1HYdmJys=",
1222+
version = "v1.31.0",
12491223
)
12501224
go_repository(
12511225
name = "org_golang_google_api",
@@ -1254,8 +1228,8 @@ def com_googleapis_gapic_generator_go_repositories():
12541228
"gazelle:resolve go go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc @io_opentelemetry_go_contrib_instrumentation_google_golang_org_grpc_otelgrpc//:go_default_library",
12551229
],
12561230
importpath = "google.golang.org/api",
1257-
sum = "h1:HMNffZ57OoZCRYSbdWVRoqOa8V8NIHLL0CzdBPLztWk=",
1258-
version = "v0.210.0",
1231+
sum = "h1:x6JCjEWeZ9PFCRe9z0FBrNwj7pB7DOAqT35N+IPnAUA=",
1232+
version = "v0.218.0",
12591233
)
12601234
go_repository(
12611235
name = "org_golang_google_appengine",
@@ -1272,26 +1246,26 @@ def com_googleapis_gapic_generator_go_repositories():
12721246
go_repository(
12731247
name = "org_golang_google_genproto_googleapis_api",
12741248
importpath = "google.golang.org/genproto/googleapis/api",
1275-
sum = "h1:v+j+5gpj0FopU0KKLDGfDo9ZRRpKdi5UBrCP0f76kuY=",
1276-
version = "v0.0.0-20241206012308-a4fef0638583",
1249+
sum = "h1:CkkIfIt50+lT6NHAVoRYEyAvQGFM7xEwXUUywFvEb3Q=",
1250+
version = "v0.0.0-20241209162323-e6fa225c2576",
12771251
)
12781252
go_repository(
12791253
name = "org_golang_google_genproto_googleapis_bytestream",
12801254
importpath = "google.golang.org/genproto/googleapis/bytestream",
1281-
sum = "h1:rY93Be8/KL+EtFM4im9lxMzjGn796GnwVUd75cyFCJg=",
1282-
version = "v0.0.0-20241118233622-e639e219e697",
1255+
sum = "h1:NtrhicUU5+S4TaE5AurusJUYfAo/QB8a+kbIXipuJeI=",
1256+
version = "v0.0.0-20250115164207-1a7da9e5054f",
12831257
)
12841258
go_repository(
12851259
name = "org_golang_google_genproto_googleapis_rpc",
12861260
importpath = "google.golang.org/genproto/googleapis/rpc",
1287-
sum = "h1:8ZmaLZE4XWrtU3MyClkYqqtl6Oegr3235h7jxsDyqCY=",
1288-
version = "v0.0.0-20241209162323-e6fa225c2576",
1261+
sum = "h1:OxYkA3wjPsZyBylwymxSHa7ViiW1Sml4ToBrncvFehI=",
1262+
version = "v0.0.0-20250115164207-1a7da9e5054f",
12891263
)
12901264
go_repository(
12911265
name = "org_golang_google_grpc",
12921266
importpath = "google.golang.org/grpc",
1293-
sum = "h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E=",
1294-
version = "v1.67.1",
1267+
sum = "h1:MF5TftSMkd8GLw/m0KM6V8CMOCY6NZ1NQDPGFgbTt4A=",
1268+
version = "v1.69.4",
12951269
)
12961270
go_repository(
12971271
name = "org_golang_google_protobuf",
@@ -1302,27 +1276,21 @@ def com_googleapis_gapic_generator_go_repositories():
13021276
"-exclude=**/testdata",
13031277
],
13041278
importpath = "google.golang.org/protobuf",
1305-
sum = "h1:8Ar7bF+apOIoThw1EdZl0p1oWvMqTHmpA2fRTyZO8io=",
1306-
version = "v1.35.2",
1279+
sum = "h1:82DV7MYdb8anAVi3qge1wSnMDrnKK7ebr+I0hHRN1BU=",
1280+
version = "v1.36.3",
13071281
)
13081282
go_repository(
13091283
name = "org_golang_x_crypto",
13101284
importpath = "golang.org/x/crypto",
1311-
sum = "h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U=",
1312-
version = "v0.31.0",
1285+
sum = "h1:euUpcYgM8WcP71gNpTqQCn6rC2t6ULUPiOzfWaXVVfc=",
1286+
version = "v0.32.0",
13131287
)
13141288
go_repository(
13151289
name = "org_golang_x_exp",
13161290
importpath = "golang.org/x/exp",
13171291
sum = "h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g=",
13181292
version = "v0.0.0-20230905200255-921286631fa9",
13191293
)
1320-
go_repository(
1321-
name = "org_golang_x_lint",
1322-
importpath = "golang.org/x/lint",
1323-
sum = "h1:XQyxROzUlZH+WIQwySDgnISgOivlhjIEwaQaJEJrrN0=",
1324-
version = "v0.0.0-20190313153728-d0100b6bd8b3",
1325-
)
13261294
go_repository(
13271295
name = "org_golang_x_mod",
13281296
importpath = "golang.org/x/mod",
@@ -1332,14 +1300,14 @@ def com_googleapis_gapic_generator_go_repositories():
13321300
go_repository(
13331301
name = "org_golang_x_net",
13341302
importpath = "golang.org/x/net",
1335-
sum = "h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I=",
1336-
version = "v0.33.0",
1303+
sum = "h1:Mb7Mrk043xzHgnRM88suvJFwzVrRfHEHJEl5/71CKw0=",
1304+
version = "v0.34.0",
13371305
)
13381306
go_repository(
13391307
name = "org_golang_x_oauth2",
13401308
importpath = "golang.org/x/oauth2",
1341-
sum = "h1:KTBBxWqUa0ykRPLtV69rRto9TLXcqYkeswu48x/gvNE=",
1342-
version = "v0.24.0",
1309+
sum = "h1:CY4y7XT9v0cRI9oupztF8AgiIu99L/ksR/Xp/6jrZ70=",
1310+
version = "v0.25.0",
13431311
)
13441312
go_repository(
13451313
name = "org_golang_x_sync",
@@ -1350,14 +1318,14 @@ def com_googleapis_gapic_generator_go_repositories():
13501318
go_repository(
13511319
name = "org_golang_x_sys",
13521320
importpath = "golang.org/x/sys",
1353-
sum = "h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA=",
1354-
version = "v0.28.0",
1321+
sum = "h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU=",
1322+
version = "v0.29.0",
13551323
)
13561324
go_repository(
13571325
name = "org_golang_x_term",
13581326
importpath = "golang.org/x/term",
1359-
sum = "h1:WP60Sv1nlK1T6SupCHbXzSaN0b9wUmsPoRS9b61A23Q=",
1360-
version = "v0.27.0",
1327+
sum = "h1:/Ts8HFuMR2E6IP/jlo7QVLZHggjKQbhu/7H0LJFr3Gg=",
1328+
version = "v0.28.0",
13611329
)
13621330
go_repository(
13631331
name = "org_golang_x_text",
@@ -1368,8 +1336,8 @@ def com_googleapis_gapic_generator_go_repositories():
13681336
go_repository(
13691337
name = "org_golang_x_time",
13701338
importpath = "golang.org/x/time",
1371-
sum = "h1:9i3RxcPv3PZnitoVGMPDKZSq1xW1gK1Xy3ArNOGZfEg=",
1372-
version = "v0.8.0",
1339+
sum = "h1:EsRrnYcQiGH+5FfbgvV4AP7qEZstoyrHB0DzarOQ4ZY=",
1340+
version = "v0.9.0",
13731341
)
13741342
go_repository(
13751343
name = "org_golang_x_tools",

0 commit comments

Comments
 (0)