File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -386,7 +386,10 @@ bzl_library(
386
386
visibility = [
387
387
"//:__subpackages__" ,
388
388
],
389
- deps = ["@bazel_skylib//lib:types" ],
389
+ deps = [
390
+ "@bazel_skylib//lib:types" ,
391
+ "@rules_python_internal//:rules_python_config_bzl" ,
392
+ ],
390
393
)
391
394
392
395
bzl_library (
Original file line number Diff line number Diff line change 15
15
"""Functionality shared by multiple pieces of code."""
16
16
17
17
load ("@bazel_skylib//lib:types.bzl" , "types" )
18
+ load ("@rules_python_internal//:rules_python_config.bzl" , "config" )
18
19
19
20
def copy_propagating_kwargs (from_kwargs , into_kwargs = None ):
20
21
"""Copies args that must be compatible between two targets with a dependency relationship.
@@ -60,7 +61,8 @@ def add_migration_tag(attrs):
60
61
Returns:
61
62
The same `attrs` object, but modified.
62
63
"""
63
- add_tag (attrs , _MIGRATION_TAG )
64
+ if not config .enable_pystar :
65
+ add_tag (attrs , _MIGRATION_TAG )
64
66
return attrs
65
67
66
68
def add_tag (attrs , tag ):
You can’t perform that action at this time.
0 commit comments