File tree 6 files changed +9
-9
lines changed
6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 6
6
7
7
bazel_dep (name = "rules_python" , version = "0.18.0" )
8
8
bazel_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" )
10
10
11
11
go_deps = use_extension ("@bazel_gazelle//:extensions.bzl" , "go_deps" )
12
12
go_deps .from_file (go_mod = "//:go.mod" )
Original file line number Diff line number Diff line change 5
5
require (
6
6
github.com/bazelbuild/bazel-gazelle v0.31.1
7
7
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
9
9
github.com/bmatcuk/doublestar v1.3.4
10
10
github.com/emirpasic/gods v1.18.1
11
11
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
4
4
github.com/bazelbuild/bazel-gazelle v0.31.1 /go.mod h1:Ul0pqz50f5wxz0QNzsZ+mrEu4AVAVJZEB5xLnHgIG9c =
5
5
github.com/bazelbuild/buildtools v0.0.0-20230510134650-37bd1811516d h1:Fl1FfItZp34QIQmmDTbZXHB5XA6JfbNNfH7tRRGWvQo =
6
6
github.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 =
9
9
github.com/bmatcuk/doublestar v1.3.4 h1:gPypJ5xD31uhX6Tf54sDPUOBXTqKH4c9aPY66CyQrS0 =
10
10
github.com/bmatcuk/doublestar v1.3.4 /go.mod h1:wiQtGV+rzVYxB7WIlirSN++5HPtPlXEo9MEoZQC/PmE =
11
11
github.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(
36
36
"@com_github_emirpasic_gods//lists/singlylinkedlist" ,
37
37
"@com_github_emirpasic_gods//sets/treeset" ,
38
38
"@com_github_emirpasic_gods//utils" ,
39
- "@io_bazel_rules_go//go/tools/bazel:go_default_library " ,
39
+ "@io_bazel_rules_go//go/runfiles " ,
40
40
],
41
41
)
42
42
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import (
26
26
"strings"
27
27
"sync"
28
28
29
- "github.com/bazelbuild/rules_go/go/tools/bazel "
29
+ "github.com/bazelbuild/rules_go/go/runfiles "
30
30
"github.com/emirpasic/gods/sets/treeset"
31
31
godsutils "github.com/emirpasic/gods/utils"
32
32
)
38
38
)
39
39
40
40
func startParserProcess (ctx context.Context ) {
41
- parseScriptRunfile , err := bazel . Runfile ( " python/parse" )
41
+ parseScriptRunfile , err := runfiles . Rlocation ( "rules_python_gazelle_plugin/ python/parse" )
42
42
if err != nil {
43
43
log .Printf ("failed to initialize parser: %v\n " , err )
44
44
os .Exit (1 )
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import (
26
26
"strings"
27
27
"sync"
28
28
29
- "github.com/bazelbuild/rules_go/go/tools/bazel "
29
+ "github.com/bazelbuild/rules_go/go/runfiles "
30
30
)
31
31
32
32
var (
39
39
func startStdModuleProcess (ctx context.Context ) {
40
40
stdModulesSeen = make (map [string ]struct {})
41
41
42
- stdModulesScriptRunfile , err := bazel . Runfile ( " python/std_modules" )
42
+ stdModulesScriptRunfile , err := runfiles . Rlocation ( "rules_python_gazelle_plugin/ python/std_modules" )
43
43
if err != nil {
44
44
log .Printf ("failed to initialize std_modules: %v\n " , err )
45
45
os .Exit (1 )
You can’t perform that action at this time.
0 commit comments