Skip to content

Commit

Permalink
Revert "remove rules_python"
Browse files Browse the repository at this point in the history
This reverts commit fa3b4fc.
  • Loading branch information
hunshcn committed May 14, 2024
1 parent c34a7b5 commit 8379616
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
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 = ["@@//:__pkg__"],
visibility = ["@rules_python//:__pkg__"],
)
1 change: 1 addition & 0 deletions gazelle/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ 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
5 changes: 5 additions & 0 deletions gazelle/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ go_register_toolchains(version = "1.19.4")

gazelle_dependencies()

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

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

# gazelle:repository_macro deps.bzl%gazelle_deps
Expand Down

0 comments on commit 8379616

Please sign in to comment.