Skip to content

Commit d314e96

Browse files
authored
chore: update go dependencies (bazel-contrib#854)
1 parent 26526a5 commit d314e96

7 files changed

Lines changed: 277 additions & 134 deletions

File tree

BUILD

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,11 @@ filegroup(
6767
# See https://github.com/bazelbuild/bazel-gazelle#running-gazelle-with-bazel
6868
# gazelle:prefix github.com/bazelbuild/rules_python
6969
# gazelle:exclude bazel-out
70+
# gazelle:exclude examples/**
7071
gazelle(name = "gazelle")
7172

7273
gazelle(
73-
name = "update_go_deps",
74+
name = "gazelle_update_repos",
7475
args = [
7576
"-from_file=go.mod",
7677
"-to_macro=gazelle/deps.bzl%gazelle_deps",

gazelle/bazel_gazelle.pr1095.patch

Lines changed: 0 additions & 19 deletions
This file was deleted.

gazelle/deps.bzl

Lines changed: 172 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,42 @@ def go_repository(name, **kwargs):
88

99
def gazelle_deps():
1010
"Fetch go dependencies"
11+
go_repository(
12+
name = "co_honnef_go_tools",
13+
importpath = "honnef.co/go/tools",
14+
sum = "h1:/hemPrYIhOhy8zYrNj+069zDB68us2sMGsfkFJO0iZs=",
15+
version = "v0.0.0-20190523083050-ea95bdfd59fc",
16+
)
1117
go_repository(
1218
name = "com_github_bazelbuild_bazel_gazelle",
1319
importpath = "github.com/bazelbuild/bazel-gazelle",
14-
sum = "h1:Ks6YN+WkOv2lYWlvf7ksxUpLvrDbBHPBXXUrBFQ3BZM=",
15-
version = "v0.23.0",
20+
sum = "h1:+/ZhUxlDy4XnyMIGeKkbRZoIGssy1eO51GijwIvvuwE=",
21+
version = "v0.27.0",
1622
)
1723
go_repository(
1824
name = "com_github_bazelbuild_buildtools",
1925
build_naming_convention = "go_default_library",
2026
importpath = "github.com/bazelbuild/buildtools",
21-
sum = "h1:Et1IIXrXwhpDvR5wH9REPEZ0sUtzUoJSq19nfmBqzBY=",
22-
version = "v0.0.0-20200718160251-b1667ff58f71",
27+
sum = "h1:jhiMzJ+8unnLRtV8rpbWBFE9pFNzIqgUTyZU5aA++w8=",
28+
version = "v0.0.0-20221004120235-7186f635531b",
2329
)
2430
go_repository(
2531
name = "com_github_bazelbuild_rules_go",
2632
importpath = "github.com/bazelbuild/rules_go",
27-
sum = "h1:wzbawlkLtl2ze9w/312NHZ84c7kpUCtlkD8HgFY27sw=",
28-
version = "v0.0.0-20190719190356-6dae44dc5cab",
33+
sum = "h1:ViPR65vOrg74JKntAUFY6qZkheBKGB6to7wFd8gCRU4=",
34+
version = "v0.35.0",
2935
)
3036
go_repository(
3137
name = "com_github_bmatcuk_doublestar",
3238
importpath = "github.com/bmatcuk/doublestar",
33-
sum = "h1:oC24CykoSAB8zd7XgruHo33E0cHJf/WhQA/7BeXj+x0=",
34-
version = "v1.2.2",
39+
sum = "h1:gPypJ5xD31uhX6Tf54sDPUOBXTqKH4c9aPY66CyQrS0=",
40+
version = "v1.3.4",
41+
)
42+
go_repository(
43+
name = "com_github_bmatcuk_doublestar_v4",
44+
importpath = "github.com/bmatcuk/doublestar/v4",
45+
sum = "h1:Qu+u9wR3Vd89LnlLMHvnZ5coJMWKQamqdz9/p5GNthA=",
46+
version = "v4.2.0",
3547
)
3648
go_repository(
3749
name = "com_github_burntsushi_toml",
@@ -40,22 +52,58 @@ def gazelle_deps():
4052
version = "v0.3.1",
4153
)
4254
go_repository(
43-
name = "com_github_davecgh_go_spew",
44-
importpath = "github.com/davecgh/go-spew",
45-
sum = "h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=",
46-
version = "v1.1.1",
55+
name = "com_github_census_instrumentation_opencensus_proto",
56+
importpath = "github.com/census-instrumentation/opencensus-proto",
57+
sum = "h1:glEXhBS5PSLLv4IXzLA5yPRVX4bilULVyxxbrfOtDAk=",
58+
version = "v0.2.1",
59+
)
60+
go_repository(
61+
name = "com_github_chzyer_logex",
62+
importpath = "github.com/chzyer/logex",
63+
sum = "h1:Swpa1K6QvQznwJRcfTfQJmTE72DqScAa40E+fbHEXEE=",
64+
version = "v1.1.10",
65+
)
66+
go_repository(
67+
name = "com_github_chzyer_readline",
68+
importpath = "github.com/chzyer/readline",
69+
sum = "h1:fY5BOSpyZCqRo5OhCuC+XN+r/bBCmeuuJtjz+bCNIf8=",
70+
version = "v0.0.0-20180603132655-2972be24d48e",
71+
)
72+
go_repository(
73+
name = "com_github_chzyer_test",
74+
importpath = "github.com/chzyer/test",
75+
sum = "h1:q763qf9huN11kDQavWsoZXJNW3xEE4JJyHa5Q25/sd8=",
76+
version = "v0.0.0-20180213035817-a1ea475d72b1",
77+
)
78+
go_repository(
79+
name = "com_github_client9_misspell",
80+
importpath = "github.com/client9/misspell",
81+
sum = "h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI=",
82+
version = "v0.3.4",
4783
)
4884
go_repository(
4985
name = "com_github_emirpasic_gods",
5086
importpath = "github.com/emirpasic/gods",
51-
sum = "h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg=",
52-
version = "v1.12.0",
87+
sum = "h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc=",
88+
version = "v1.18.1",
89+
)
90+
go_repository(
91+
name = "com_github_envoyproxy_go_control_plane",
92+
importpath = "github.com/envoyproxy/go-control-plane",
93+
sum = "h1:4cmBvAEBNJaGARUEs3/suWRyfyBfhf7I60WBZq+bv2w=",
94+
version = "v0.9.1-0.20191026205805-5f8ba28d4473",
95+
)
96+
go_repository(
97+
name = "com_github_envoyproxy_protoc_gen_validate",
98+
importpath = "github.com/envoyproxy/protoc-gen-validate",
99+
sum = "h1:EQciDnbrYxy13PgWoY8AqoxGiPrpgBZ1R8UNe3ddc+A=",
100+
version = "v0.1.0",
53101
)
54102
go_repository(
55103
name = "com_github_fsnotify_fsnotify",
56104
importpath = "github.com/fsnotify/fsnotify",
57-
sum = "h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=",
58-
version = "v1.4.7",
105+
sum = "h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI=",
106+
version = "v1.5.4",
59107
)
60108
go_repository(
61109
name = "com_github_ghodss_yaml",
@@ -64,109 +112,173 @@ def gazelle_deps():
64112
version = "v1.0.0",
65113
)
66114
go_repository(
67-
name = "com_github_google_go_cmp",
68-
importpath = "github.com/google/go-cmp",
69-
sum = "h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M=",
70-
version = "v0.5.4",
115+
name = "com_github_golang_glog",
116+
importpath = "github.com/golang/glog",
117+
sum = "h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=",
118+
version = "v0.0.0-20160126235308-23def4e6c14b",
71119
)
72120
go_repository(
73-
name = "com_github_google_uuid",
74-
importpath = "github.com/google/uuid",
75-
sum = "h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=",
76-
version = "v1.3.0",
121+
name = "com_github_golang_mock",
122+
importpath = "github.com/golang/mock",
123+
sum = "h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc=",
124+
version = "v1.6.0",
77125
)
78-
79126
go_repository(
80-
name = "com_github_kr_pretty",
81-
importpath = "github.com/kr/pretty",
82-
sum = "h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=",
83-
version = "v0.1.0",
127+
name = "com_github_golang_protobuf",
128+
importpath = "github.com/golang/protobuf",
129+
sum = "h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=",
130+
version = "v1.5.2",
84131
)
85132
go_repository(
86-
name = "com_github_kr_pty",
87-
importpath = "github.com/kr/pty",
88-
sum = "h1:VkoXIwSboBpnk99O/KFauAEILuNHv5DVFKZMBN/gUgw=",
89-
version = "v1.1.1",
133+
name = "com_github_google_go_cmp",
134+
importpath = "github.com/google/go-cmp",
135+
sum = "h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=",
136+
version = "v0.5.9",
90137
)
91138
go_repository(
92-
name = "com_github_kr_text",
93-
importpath = "github.com/kr/text",
94-
sum = "h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=",
95-
version = "v0.1.0",
139+
name = "com_github_google_uuid",
140+
importpath = "github.com/google/uuid",
141+
sum = "h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=",
142+
version = "v1.3.0",
96143
)
97144
go_repository(
98145
name = "com_github_pelletier_go_toml",
99146
importpath = "github.com/pelletier/go-toml",
100-
sum = "h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc=",
101-
version = "v1.2.0",
147+
sum = "h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8=",
148+
version = "v1.9.5",
102149
)
103150
go_repository(
104151
name = "com_github_pmezard_go_difflib",
105152
importpath = "github.com/pmezard/go-difflib",
106153
sum = "h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=",
107154
version = "v1.0.0",
108155
)
109-
156+
go_repository(
157+
name = "com_github_prometheus_client_model",
158+
importpath = "github.com/prometheus/client_model",
159+
sum = "h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM=",
160+
version = "v0.0.0-20190812154241-14fe0d1b01d4",
161+
)
162+
go_repository(
163+
name = "com_github_yuin_goldmark",
164+
importpath = "github.com/yuin/goldmark",
165+
sum = "h1:fVcFKWvrslecOb/tg+Cc05dkeYx540o0FuFt3nUVDoE=",
166+
version = "v1.4.13",
167+
)
168+
go_repository(
169+
name = "com_google_cloud_go",
170+
importpath = "cloud.google.com/go",
171+
sum = "h1:e0WKqKTd5BnrG8aKH3J3h+QvEIQtSUcf2n5UZ5ZgLtQ=",
172+
version = "v0.26.0",
173+
)
110174
go_repository(
111175
name = "in_gopkg_check_v1",
112176
importpath = "gopkg.in/check.v1",
113-
sum = "h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=",
114-
version = "v1.0.0-20180628173108-788fd7840127",
177+
sum = "h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=",
178+
version = "v0.0.0-20161208181325-20d25e280405",
115179
)
116180
go_repository(
117181
name = "in_gopkg_yaml_v2",
118182
importpath = "gopkg.in/yaml.v2",
119-
sum = "h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=",
120-
version = "v2.2.2",
183+
sum = "h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=",
184+
version = "v2.4.0",
185+
)
186+
go_repository(
187+
name = "net_starlark_go",
188+
importpath = "go.starlark.net",
189+
sum = "h1:xwwDQW5We85NaTk2APgoN9202w/l0DVGp+GZMfsrh7s=",
190+
version = "v0.0.0-20210223155950-e043a3d3c984",
191+
)
192+
go_repository(
193+
name = "org_golang_google_appengine",
194+
importpath = "google.golang.org/appengine",
195+
sum = "h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508=",
196+
version = "v1.4.0",
197+
)
198+
go_repository(
199+
name = "org_golang_google_genproto",
200+
importpath = "google.golang.org/genproto",
201+
sum = "h1:+kGHl1aib/qcwaRi1CbqBZ1rk19r85MNUf8HaBghugY=",
202+
version = "v0.0.0-20200526211855-cb27e3aa2013",
203+
)
204+
go_repository(
205+
name = "org_golang_google_grpc",
206+
importpath = "google.golang.org/grpc",
207+
sum = "h1:rRYRFMVgRv6E0D70Skyfsr28tDXIuuPZyWGMPdMcnXg=",
208+
version = "v1.27.0",
209+
)
210+
go_repository(
211+
name = "org_golang_google_protobuf",
212+
importpath = "google.golang.org/protobuf",
213+
sum = "h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw=",
214+
version = "v1.28.0",
121215
)
122216
go_repository(
123217
name = "org_golang_x_crypto",
124218
importpath = "golang.org/x/crypto",
125-
sum = "h1:ObdrDkeb4kJdCP557AjRjq69pTHfNouLtWZG7j9rPN8=",
126-
version = "v0.0.0-20191011191535-87dc89f01550",
219+
sum = "h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M=",
220+
version = "v0.0.0-20190308221718-c2843e01d9a2",
221+
)
222+
go_repository(
223+
name = "org_golang_x_exp",
224+
importpath = "golang.org/x/exp",
225+
sum = "h1:c2HOrn5iMezYjSlGPncknSEr/8x5LELb/ilJbXi9DEA=",
226+
version = "v0.0.0-20190121172915-509febef88a4",
227+
)
228+
go_repository(
229+
name = "org_golang_x_lint",
230+
importpath = "golang.org/x/lint",
231+
sum = "h1:XQyxROzUlZH+WIQwySDgnISgOivlhjIEwaQaJEJrrN0=",
232+
version = "v0.0.0-20190313153728-d0100b6bd8b3",
127233
)
128234
go_repository(
129235
name = "org_golang_x_mod",
130236
importpath = "golang.org/x/mod",
131-
sum = "h1:Kvvh58BN8Y9/lBi7hTekvtMpm07eUZ0ck5pRHpsMWrY=",
132-
version = "v0.4.1",
237+
sum = "h1:6zppjxzCulZykYSLyVDYbneBfbaBIQPYMevg0bEwv2s=",
238+
version = "v0.6.0-dev.0.20220419223038-86c51ed26bb4",
133239
)
134240
go_repository(
135241
name = "org_golang_x_net",
136242
importpath = "golang.org/x/net",
137-
sum = "h1:R/3boaszxrf1GEUWTVDzSKVwLmSJpwZ1yqXm8j0v2QI=",
138-
version = "v0.0.0-20190620200207-3b0461eec859",
243+
sum = "h1:PxfKdU9lEEDYjdIzOtC4qFWgkU2rGHdKlKowJSMN9h0=",
244+
version = "v0.0.0-20220722155237-a158d28d115b",
245+
)
246+
go_repository(
247+
name = "org_golang_x_oauth2",
248+
importpath = "golang.org/x/oauth2",
249+
sum = "h1:vEDujvNQGv4jgYKudGeI/+DAX4Jffq6hpD55MmoEvKs=",
250+
version = "v0.0.0-20180821212333-d2e6202438be",
139251
)
140252
go_repository(
141253
name = "org_golang_x_sync",
142254
importpath = "golang.org/x/sync",
143-
sum = "h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY=",
144-
version = "v0.0.0-20190911185100-cd5d95a43a6e",
255+
sum = "h1:0SH2R3f1b1VmIMG7BXbEZCBUu2dKmHschSmjqGUrW8A=",
256+
version = "v0.0.0-20220907140024-f12130a52804",
145257
)
146258
go_repository(
147259
name = "org_golang_x_sys",
148260
importpath = "golang.org/x/sys",
149-
sum = "h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI=",
150-
version = "v0.0.0-20190412213103-97732733099d",
261+
sum = "h1:k5II8e6QD8mITdi+okbbmR/cIyEbeXLBhy5Ha4nevyc=",
262+
version = "v0.0.0-20221010170243-090e33056c14",
151263
)
152264
go_repository(
153265
name = "org_golang_x_text",
154266
importpath = "golang.org/x/text",
155-
sum = "h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=",
156-
version = "v0.3.0",
267+
sum = "h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=",
268+
version = "v0.3.7",
157269
)
158270
go_repository(
159271
name = "org_golang_x_tools",
160272
build_directives = [
161273
"gazelle:exclude **/testdata/**/*",
162274
],
163275
importpath = "golang.org/x/tools",
164-
sum = "h1:aZzprAO9/8oim3qStq3wc1Xuxx4QmAGriC4VU4ojemQ=",
165-
version = "v0.0.0-20191119224855-298f0cb1881e",
276+
sum = "h1:VveCTK38A2rkS8ZqFY25HIDFscX5X9OoEhJd3quQmXU=",
277+
version = "v0.1.12",
166278
)
167279
go_repository(
168280
name = "org_golang_x_xerrors",
169281
importpath = "golang.org/x/xerrors",
170-
sum = "h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=",
171-
version = "v0.0.0-20191204190536-9bdfabe68543",
282+
sum = "h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=",
283+
version = "v0.0.0-20200804184101-5ec99f83aff1",
172284
)

go.mod

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
module github.com/bazelbuild/rules_python
22

3-
go 1.18
3+
go 1.19
44

55
require (
6-
github.com/bazelbuild/bazel-gazelle v0.23.0
7-
github.com/bazelbuild/buildtools v0.0.0-20200718160251-b1667ff58f71
8-
github.com/bazelbuild/rules_go v0.0.0-20190719190356-6dae44dc5cab
9-
github.com/bmatcuk/doublestar v1.2.2
10-
github.com/emirpasic/gods v1.12.0
6+
github.com/bazelbuild/bazel-gazelle v0.27.0
7+
github.com/bazelbuild/buildtools v0.0.0-20221004120235-7186f635531b
8+
github.com/bazelbuild/rules_go v0.35.0
9+
github.com/bmatcuk/doublestar v1.3.4
10+
github.com/emirpasic/gods v1.18.1
1111
github.com/ghodss/yaml v1.0.0
1212
github.com/google/uuid v1.3.0
13-
gopkg.in/yaml.v2 v2.2.8
13+
gopkg.in/yaml.v2 v2.4.0
14+
)
15+
16+
require (
17+
github.com/google/go-cmp v0.5.9 // indirect
18+
golang.org/x/sys v0.0.0-20221010170243-090e33056c14 // indirect
19+
golang.org/x/tools v0.1.12 // indirect
1420
)

0 commit comments

Comments
 (0)