File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -437,12 +437,11 @@ def create_py_info(
437437 transitive sources collected from dependencies (the latter is only
438438 necessary for deprecated extra actions support).
439439 """
440-
441440 py_info = PyInfoBuilder ()
442441 py_info .direct_original_sources .add (original_sources )
443- py_info .transitive_original_sources .add (original_sources )
444442 py_info .direct_pyc_files .add (required_pyc_files )
445443 py_info .direct_pyi_files .add (ctx .files .pyi_srcs )
444+ py_info .transitive_original_sources .add (original_sources )
446445 py_info .transitive_pyc_files .add (required_pyc_files )
447446 py_info .transitive_pyi_files .add (ctx .files .pyi_srcs )
448447 py_info .transitive_implicit_pyc_files .add (implicit_pyc_files )
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ def _test_py_info_populated(name, config):
6363 rt_util .helper_target (
6464 config .base_test_rule ,
6565 name = name + "_subject" ,
66+ srcs = [name + "_subject.py" ],
6667 pyi_srcs = ["subject.pyi" ],
6768 pyi_deps = [name + "_lib2" ],
6869 )
You can’t perform that action at this time.
0 commit comments