8000 Remove commentary indicating that 'all_requirements' is deprecated (#… · keith/rules_python@993b066 · GitHub
[go: up one dir, main page]

Skip to content

Commit 993b066

Browse files
author
Jonathon Belotti
authored
Remove commentary indicating that 'all_requirements' is deprecated (bazel-contrib#376)
1 parent 5be1f76 commit 993b066

File tree

1 file changed

+1
-2
lines changed
  • python/pip_install/extract_wheels/lib

1 file changed

+1
-2
lines changed

python/pip_install/extract_wheels/lib/bazel.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def generate_requirements_file_contents(repo_name: str, targets: Iterable[str])
6464
"""Generate a requirements.bzl file for a given pip repository
6565
6666
The file allows converting the PyPI name to a bazel label. Additionally, it adds a function which can glob all the
67-
installed dependencies. This is provided for legacy reasons and can be considered deprecated.
67+
installed dependencies.
6868
6969
Args:
7070
repo_name: the name of the pip repository
@@ -76,7 +76,6 @@ def generate_requirements_file_contents(repo_name: str, targets: Iterable[str])
7676

7777
return textwrap.dedent(
7878
"""\
79-
# Deprecated. This will be removed in a future release
8079
all_requirements = [{requirement_labels}]
8180
8281
def requirement(name):

0 commit comments

Comments
 (0)
0