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 8e12431 commit 19ea2e2Copy full SHA for 19ea2e2
defs.bzl
@@ -31,6 +31,7 @@ def _pip_repository_impl(rctx):
31
# Manually construct the PYTHONPATH since we cannot use the toolchain here
32
"PYTHONPATH": pypath
33
},
34
+ timeout=rctx.attr.timeout,
35
)
36
if result.return_code:
37
fail("rules_python_external failed: %s (%s)" % (result.stdout, result.stderr))
@@ -43,6 +44,7 @@ pip_repository = repository_rule(
43
44
"requirements": attr.label(allow_single_file=True, mandatory=True,),
45
"wheel_env": attr.string_dict(),
46
"python_interpreter": attr.string(default="python3"),
47
+ "timeout": attr.int(default = 600),
48
"_script": attr.label(
49
executable=True, default=Label("//src:__main__.py"), cfg="host",
50
),
0 commit comments