Skip to content

Commit

Permalink
try remove rules_python
Browse files Browse the repository at this point in the history
  • Loading branch information
hunshcn committed May 14, 2024
1 parent b7080bc commit 08b3a7a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion gazelle/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ filegroup(
"//python:distribution",
"//pythonconfig:distribution",
],
visibility = ["@rules_python//:__pkg__"],
visibility = ["@@//:__pkg__"],
)
1 change: 0 additions & 1 deletion gazelle/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ module(
)

bazel_dep(name = "bazel_skylib", version = "1.5.0")
bazel_dep(name = "rules_python", version = "0.18.0")
bazel_dep(name = "rules_go", version = "0.41.0", repo_name = "io_bazel_rules_go")
bazel_dep(name = "gazelle", version = "0.33.0", repo_name = "bazel_gazelle")

Expand Down
9 changes: 0 additions & 9 deletions gazelle/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@ go_register_toolchains(version = "1.19.4")

gazelle_dependencies()

local_repository(
name = "rules_python",
path = "..",
)

load("@rules_python//python:repositories.bzl", "py_repositories")

py_repositories()

load("//:deps.bzl", _py_gazelle_deps = "gazelle_deps")

# gazelle:repository_macro deps.bzl%gazelle_deps
Expand Down

0 comments on commit 08b3a7a

Please sign in to comment.