Skip to content

Commit dd4f904

Browse files
authored
cleanup: delete defunct load of bzlmod pip_repository (#1533)
The non-bzlmod pip_repository code loads the bzlmod pip_repository code for some reason, but nothing else uses that reference. A comment indicates it was only done to make merge conflicts easier to manage for PR #1476.
1 parent 36e8c81 commit dd4f904

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

python/pip_install/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ bzl_library(
3434
"//python/private:render_pkg_aliases_bzl",
3535
"//python/private:toolchains_repo_bzl",
3636
"//python/private:which_bzl",
37-
"//python/private/bzlmod:pip_repository_bzl",
3837
],
3938
)
4039

python/pip_install/pip_repository.bzl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,13 @@ load("//python/private:patch_whl.bzl", "patch_whl")
2626
load("//python/private:render_pkg_aliases.bzl", "render_pkg_aliases")
2727
load("//python/private:toolchains_repo.bzl", "get_host_os_arch")
2828
load("//python/private:which.bzl", "which_with_fail")
29-
load("//python/private/bzlmod:pip_repository.bzl", _pip_hub_repository_bzlmod = "pip_repository")
3029

3130
CPPFLAGS = "CPPFLAGS"
3231

3332
COMMAND_LINE_TOOLS_PATH_SLUG = "commandlinetools"
3433

3534
_WHEEL_ENTRY_POINT_PREFIX = "rules_python_wheel_entry_point"
3635

37-
# Kept for not creating merge conflicts with PR#1476, can be removed later.
38-
pip_hub_repository_bzlmod = _pip_hub_repository_bzlmod
39-
4036
def _construct_pypath(rctx):
4137
"""Helper function to construct a PYTHONPATH.
4238

0 commit comments

Comments
 (0)