Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load py_library, py_binary from rules_python #129

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

tpudlik
Copy link
Contributor

@tpudlik tpudlik commented Apr 10, 2024

This adds an explicit dependency on rules_python and loads py_library and py_binary rules from there, instead of relying on built-in versions in Bazel.

Doing so prepares us for the rollout of
bazelbuild/bazel#15897 (which is happening internally already, and across the Bazel ecosystem soon).

Except for the change to the WORKSPACE file, this change was auto-generated by running,

buildozer 'new_load @rules_python//python:py_library.bzl py_library' //...:__pkg__
buildozer 'new_load @rules_python//python:py_binary.bzl py_binary' //...:__pkg__
buildozer 'new_load @rules_python//python:py_test.bzl py_test' //...:__pkg__
buildozer 'fix unusedLoads' //...:__pkg__

Upstreams cl/551628592.

This adds an explicit dependency on rules_python and loads py_library
and py_binary rules from there, instead of relying on built-in versions
in Bazel.

This prepares us for the rollout of
bazelbuild/bazel#15897 (which is happening
internally already, and across the Bazel ecosystem soon).

Except for the change to the WORKSPACE file, this change was
auto-generated by running,

    buildozer 'new_load @rules_python//python:py_library.bzl py_library' //...:__pkg__
    buildozer 'new_load @rules_python//python:py_binary.bzl py_binary' //...:__pkg__
    buildozer 'new_load @rules_python//python:py_test.bzl py_test' //...:__pkg__
    buildozer 'fix unusedLoads' //...:__pkg__

Upstreams cl/551628592.
@tpudlik
Copy link
Contributor Author

tpudlik commented Apr 10, 2024

@robrussell

@robrussell robrussell merged commit e0f9b36 into google:master Apr 11, 2024
1 check passed
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