Skip to content

Commit

Permalink
fix(py_library): don't return transitive srcs as defaultinfo (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle authored Nov 19, 2023
1 parent 01f048c commit 3140087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/private/py_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def _py_library_impl(ctx):

return [
DefaultInfo(
files = depset(direct = ctx.files.srcs, transitive = [transitive_srcs]),
files = depset(direct = ctx.files.srcs),
default_runfiles = runfiles,
),
PyInfo(
Expand Down

0 comments on commit 3140087

Please sign in to comment.