We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f038ce8 commit 8086333Copy full SHA for 8086333
python/private/bzlmod/pip_repository.bzl
@@ -92,6 +92,9 @@ setting.""",
92
"groups": attr.string_list_dict(
93
mandatory = False,
94
),
95
+ "pin_tool_label": attr.string(
96
+ mandatory = True,
97
+ ),
98
"repo_name": attr.string(
99
mandatory = True,
100
doc = "The apparent name of the repo. This is needed because in bzlmod, the name attribute becomes the canonical name.",
@@ -103,13 +106,10 @@ The wheel map where values are json.encoded strings of the whl_map constructed
103
106
in the pip.parse tag class.
104
107
""",
105
108
109
+ "_pin": attr.label(default = ":pin.sh"),
110
"_template": attr.label(
111
default = ":requirements.bzl.tmpl",
112
- "_pin": attr.label(default = ":pin.sh"),
- "pin_tool_label": attr.string(
- mandatory = True,
- ),
113
}
114
115
pip_repository = repository_rule(
0 commit comments