Skip to content

Commit 0e0ac09

Browse files
authored
Feat: Using repo-relative labels (bazel-contrib#1367)
Updated two files that used 'load("@rules_python' instead of 'load("//python'. Closes: bazel-contrib#1296
1 parent fabb65f commit 0e0ac09

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python/extensions/pip.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@
1515
"pip module extension for use with bzlmod"
1616

1717
load("@pythons_hub//:interpreters.bzl", "DEFAULT_PYTHON_VERSION", "INTERPRETER_LABELS")
18-
load("@rules_python//python:pip.bzl", "whl_library_alias")
18+
load("//python:pip.bzl", "whl_library_alias")
1919
load(
20-
"@rules_python//python/pip_install:pip_repository.bzl",
20+
"//python/pip_install:pip_repository.bzl",
2121
"locked_requirements_label",
2222
"pip_hub_repository_bzlmod",
2323
"pip_repository_attrs",
2424
"pip_repository_bzlmod",
2525
"use_isolated",
2626
"whl_library",
2727
)
28-
load("@rules_python//python/pip_install:requirements_parser.bzl", parse_requirements = "parse")
28+
load("//python/pip_install:requirements_parser.bzl", parse_requirements = "parse")
2929
load("//python/private:normalize_name.bzl", "normalize_name")
3030
load("//python/private:version_label.bzl", "version_label")
3131

python/extensions/private/internal_deps.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
"Python toolchain module extension for internal rule use"
1010

11-
load("@rules_python//python/pip_install:repositories.bzl", "pip_install_dependencies")
11+
load("//python/pip_install:repositories.bzl", "pip_install_dependencies")
1212

1313
# buildifier: disable=unused-variable
1414
def _internal_deps_impl(module_ctx):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy