File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed
Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 66
77bazel_dep (name = "rules_python" , version = "0.18.0" )
88bazel_dep (name = "rules_go" , version = "0.41.0" , repo_name = "io_bazel_rules_go" )
9- bazel_dep (name = "gazelle" , version = "0.31 .0" , repo_name = "bazel_gazelle" )
9+ bazel_dep (name = "gazelle" , version = "0.33 .0" , repo_name = "bazel_gazelle" )
1010
1111go_deps = use_extension ("@bazel_gazelle//:extensions.bzl" , "go_deps" )
1212go_deps .from_file (go_mod = "//:go.mod" )
Original file line number Diff line number Diff line change 55require (
66 github.com/bazelbuild/bazel-gazelle v0.31.1
77 github.com/bazelbuild/buildtools v0.0.0-20230510134650-37bd1811516d
8- github.com/bazelbuild/rules_go v0.39.1
8+ github.com/bazelbuild/rules_go v0.41.0
99 github.com/bmatcuk/doublestar v1.3.4
1010 github.com/emirpasic/gods v1.18.1
1111 github.com/ghodss/yaml v1.0.0
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ github.com/bazelbuild/bazel-gazelle v0.31.1 h1:ROyUyUHzoEdvoOs1e0haxJx1l5EjZX6AO
44github.com/bazelbuild/bazel-gazelle v0.31.1 /go.mod h1:Ul0pqz50f5wxz0QNzsZ+mrEu4AVAVJZEB5xLnHgIG9c =
55github.com/bazelbuild/buildtools v0.0.0-20230510134650-37bd1811516d h1:Fl1FfItZp34QIQmmDTbZXHB5XA6JfbNNfH7tRRGWvQo =
66github.com/bazelbuild/buildtools v0.0.0-20230510134650-37bd1811516d /go.mod h1:689QdV3hBP7Vo9dJMmzhoYIyo/9iMhEmHkJcnaPRCbo =
7- github.com/bazelbuild/rules_go v0.39.1 h1:wkJLUDx59dntWMghuL8++GteoU1To6sRoKJXuyFtmf8 =
8- github.com/bazelbuild/rules_go v0.39.1 /go.mod h1:TMHmtfpvyfsxaqfL9WnahCsXMWDMICTw7XeK9yVb+YU =
7+ github.com/bazelbuild/rules_go v0.41.0 h1:JzlRxsFNhlX+g4drDRPhIaU5H5LnI978wdMJ0vK4I+k =
8+ github.com/bazelbuild/rules_go v0.41.0 /go.mod h1:TMHmtfpvyfsxaqfL9WnahCsXMWDMICTw7XeK9yVb+YU =
99github.com/bmatcuk/doublestar v1.3.4 h1:gPypJ5xD31uhX6Tf54sDPUOBXTqKH4c9aPY66CyQrS0 =
1010github.com/bmatcuk/doublestar v1.3.4 /go.mod h1:wiQtGV+rzVYxB7WIlirSN++5HPtPlXEo9MEoZQC/PmE =
1111github.com/census-instrumentation/opencensus-proto v0.2.1 /go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU =
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ go_library(
3636 "@com_github_emirpasic_gods//lists/singlylinkedlist" ,
3737 "@com_github_emirpasic_gods//sets/treeset" ,
3838 "@com_github_emirpasic_gods//utils" ,
39- "@io_bazel_rules_go//go/tools/bazel:go_default_library " ,
39+ "@io_bazel_rules_go//go/runfiles " ,
4040 ],
4141)
4242
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import (
2626 "strings"
2727 "sync"
2828
29- "github.com/bazelbuild/rules_go/go/tools/bazel "
29+ "github.com/bazelbuild/rules_go/go/runfiles "
3030 "github.com/emirpasic/gods/sets/treeset"
3131 godsutils "github.com/emirpasic/gods/utils"
3232)
3838)
3939
4040func startParserProcess (ctx context.Context ) {
41- parseScriptRunfile , err := bazel . Runfile ( " python/parse" )
41+ parseScriptRunfile , err := runfiles . Rlocation ( "rules_python_gazelle_plugin/ python/parse" )
4242 if err != nil {
4343 log .Printf ("failed to initialize parser: %v\n " , err )
4444 os .Exit (1 )
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import (
2626 "strings"
2727 "sync"
2828
29- "github.com/bazelbuild/rules_go/go/tools/bazel "
29+ "github.com/bazelbuild/rules_go/go/runfiles "
3030)
3131
3232var (
3939func startStdModuleProcess (ctx context.Context ) {
4040 stdModulesSeen = make (map [string ]struct {})
4141
42- stdModulesScriptRunfile , err := bazel . Runfile ( " python/std_modules" )
42+ stdModulesScriptRunfile , err := runfiles . Rlocation ( "rules_python_gazelle_plugin/ python/std_modules" )
4343 if err != nil {
4444 log .Printf ("failed to initialize std_modules: %v\n " , err )
4545 os .Exit (1 )
You can’t perform that action at this time.
0 commit comments