Skip to content

Commit f7e238c

Browse files
committed
chore: use per-rule loads in pip_compile.bzl
1 parent b5ed3e4 commit f7e238c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

python/private/pypi/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,8 @@ bzl_library(
218218
srcs = ["pip_compile.bzl"],
219219
deps = [
220220
":deps_bzl",
221-
"//python:defs_bzl",
221+
"//python:py_binary_bzl",
222+
"//python:py_test_bzl",
222223
],
223224
)
224225

python/private/pypi/pip_compile.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ NOTE @aignas 2024-06-23: We are using the implementation specific name here to
1919
make it possible to have multiple tools inside the `pypi` directory
2020
"""
2121

22-
load("//python:defs.bzl", _py_binary = "py_binary", _py_test = "py_test")
22+
load("//python:py_binary.bzl", _py_binary = "py_binary")
23+
load("//python:py_test.bzl", _py_test = "py_test")
2324

2425
def pip_compile(
2526
name,

0 commit comments

Comments
 (0)