Skip to content

Commit b4191ac

Browse files
committed
fix: make Bazel 9 workspace builds recognize rules_python as the main repo
1 parent ca98773 commit b4191ac

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

internal_dev_deps.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
load("@bazel_tools//tools/build_defs/repo:http.bzl", _http_archive = "http_archive", _http_file = "http_file")
1818
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
19+
load("//python/private:internal_config_repo.bzl", "internal_config_repo") # buildifier: disable=bzl-visibility
1920

2021
def http_archive(name, **kwargs):
2122
maybe(
@@ -39,6 +40,7 @@ def rules_python_internal_deps():
3940
For dependencies needed by *users* of rules_python, see
4041
python/private/py_repositories.bzl.
4142
"""
43+
internal_config_repo(name = "rules_python_internal")
4244

4345
http_archive(
4446
name = "bazel_skylib",

internal_dev_setup.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ load("//python/private/pypi:deps.bzl", "pypi_deps") # buildifier: disable=bzl-v
3232
def rules_python_internal_setup():
3333
"""Setup for development and testing of rules_python itself."""
3434

35-
internal_config_repo(name = "rules_python_internal")
3635
hub_repo(
3736
name = "pythons_hub",
3837
minor_mapping = MINOR_MAPPING,

0 commit comments

Comments
 (0)