8000 doc: Update the example to use the new entry_point · bazel-contrib/rules_python@0297ee6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0297ee6

Browse files
committed
doc: Update the example to use the new entry_point
1 parent a38d2e8 commit 0297ee6

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

examples/bzlmod/MODULE.bazel

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,7 @@ pip.parse(
5757
requirements_lock = "//:requirements_lock_3_10.txt",
5858
requirements_windows = "//:requirements_windows_3_10.txt",
5959
)
60-
61-
# NOTE: The pip_39 repo is only used because the plain `@pip` repo doesn't
62-
# yet support entry points; see https://github.com/bazelbuild/rules_python/issues/1262
63-
use_repo(pip, "pip", "pip_39")
60+
use_repo(pip, "pip")
6461

6562
bazel_dep(name = "other_module", version = "", repo_name = "our_other_module")
6663
local_path_override(

examples/bzlmod/entry_point/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@pip_39//:requirements.bzl", "entry_point")
1+
load("@pip//:requirements.bzl", "entry_point")
22
load("@rules_python//python:defs.bzl", "py_test")
33

44
alias(

0 commit comments

Comments
 (0)
0