Closed
Description
🐞 bug report
Affected Rule
The issue is caused by the rule: all_requirements
Is this a regression?
Yes, the previous version in which this bug was not present was: 0.9.0
The bug exists in : 0.10.2 and 0.11.0
Description
When using all_requirements
in a rule like
py_binary(
name = "mybinary",
srcs = ["main.py"],
main = "main.py",
deps = all_requirements,
)
It cause the error
Traceback (most recent call last):
File "/home/user/.cache/bazel/_bazel_user/bde0c2a7e98d3dd9f99d720839ba72c4/execroot/org/bazel-out/k8-fastbuild/bin/third_party/ipython/ipython", line 392, in <module>
Main()
File "/home/user/.cache/bazel/_bazel_user/bde0c2a7e98d3dd9f99d720839ba72c4/execroot/org/bazel-out/k8-fastbuild/bin/third_party/ipython/ipython", line 382, in Main
os.execv(args[0], args)
OSError: [Errno 7] Argument list too long: '/home/user/.cache/bazel/_bazel_user/bde0c2a7e98d3dd9f99d720839ba72c4/execroot/org/bazel-out/k8-fastbuild/bin/third_party/ipython/ipython.runfiles/python_x86_64-unknown-linux-gnu/bin/python3'
🌍 Your Environment
Operating System: Ubuntu 20.04
Output of bazel version
: 5.2.0