Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bazel] Use rules_python py_proto_library
The `py_proto_library` has been deprecated from the `protobuf` repo. Instead, it recommends using the `py_proto_library` from `rules_python`. protocolbuffers/protobuf@1e8e356 When using bazel, if you want to use proto toolchains (see here: https://github.com/aspect-build/toolchains_protoc) then the `protobuf` implementation will not work as it depends directly on `@com_google_protobuf//:protoc` instead of relying upon toolchain resolution. `rules_python`'s implementation does not have this issue.
- Loading branch information