Skip to content

Commit 5b7f003

Browse files
committed
fix: make Bazel 9 workspace builds recognize rules_python as the main repo
1 parent e823657 commit 5b7f003

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

WORKSPACE

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ workspace(name = "rules_python")
1717
# Everything below this line is used only for developing rules_python. Users
1818
# should not copy it to their WORKSPACE.
1919

20+
# Necessary so that Bazel 9 recognizes this as rules_python and doesn't try
21+
# to load the version Bazel itself uses by default.
22+
local_repository(
23+
name = "rules_python",
24+
path = ".",
25+
)
26+
2027
load("//:internal_dev_deps.bzl", "rules_python_internal_deps")
2128

2229
rules_python_internal_deps()

0 commit comments

Comments
 (0)