File tree Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -414,20 +414,6 @@ def _wrap_with_debug(rule):
414414
415415 return helper
416416
417- def _wrap_with_no_remote (rule ):
418- """Mark the venv rules as incompatible with remote exec or cache.
419-
420- Due to https://github.com/bazelbuild/bazel/issues/27068
421- """
422-
423- def helper (** kwargs ):
424- tags = kwargs .get ("tags" , [])
425- tags = sets .to_list (sets .make (tags + ["no-remote" , "no-cache" ]))
426- kwargs ["tags" ] = tags
427- return rule (** kwargs )
428-
429- return helper
430-
431417_py_venv_binary = rule (
432418 doc = """Run a Python program under Bazel using a virtualenv.""" ,
433419 implementation = _py_venv_binary_impl ,
@@ -446,9 +432,9 @@ _py_venv_test = rule(
446432 cfg = py_venv_base .cfg ,
447433)
448434
449- py_venv = _wrap_with_no_remote ( _wrap_with_debug (_py_venv ) )
450- py_venv_binary = _wrap_with_no_remote ( _wrap_with_debug (_py_venv_binary ) )
451- py_venv_test = _wrap_with_no_remote ( _wrap_with_debug (_py_venv_test ) )
435+ py_venv = _wrap_with_debug (_py_venv )
436+ py_venv_binary = _wrap_with_debug (_py_venv_binary )
437+ py_venv_test = _wrap_with_debug (_py_venv_test )
452438
453439def py_venv_link (venv_name = None , srcs = [], ** kwargs ):
454440 """Build a Python virtual environment and produce a script to link it into the build directory."""
You can’t perform that action at this time.
0 commit comments