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 0296116 commit 21fdb63Copy full SHA for 21fdb63
python/private/pypi/parse_requirements.bzl
@@ -332,7 +332,11 @@ def parse_requirements(
332
tokenized_options.append(p)
333
334
pip_args = tokenized_options + extra_pip_args
335
+ logger.debug(lambda: "Using {} for {}".format(file, plats))
336
for p in plats:
337
+ if p in requirements:
338
+ fail_fn("Attempting to override a requirements file. Existing value: {}".format(requirements[p]))
339
+ return None
340
requirements[p] = requirements_dict
341
options[p] = pip_args
342
0 commit comments