Skip to content

py_proto_libray: Add api_deps to transitive_sources#1091

Closed
comius wants to merge 1 commit intobazel-contrib:mainfrom
comius:fix-py_proto_library
Closed

py_proto_libray: Add api_deps to transitive_sources#1091
comius wants to merge 1 commit intobazel-contrib:mainfrom
comius:fix-py_proto_library

Conversation

@comius
Copy link
Copy Markdown
Contributor

@comius comius commented Feb 24, 2023

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

Sources from runtime needed by py_proto_library are not added to PyInfo.

What is the new behavior?

The sources are added.

Does this PR introduce a breaking change?

  • Yes
  • No

@rickeylev
Copy link
Copy Markdown
Collaborator

LGTM, but...

Was there a failure you found from them missing? I'm not sure what, if anything, is actually using PyInfo.transitive_sources.

@comius
Copy link
Copy Markdown
Contributor Author

comius commented Feb 24, 2023

It seems, this is not needed. This is related to bazelbuild/bazel#17545. I tested that change with the main branch of rules_python and it also works.

Any way and the other with 18.1, files from proto runtime were missing.

@comius comius closed this Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants