Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use @rules_python's py_binary over builtin
This is to resolve the error ``` util/BUILD.bazel:50:10: in deps attribute of py_binary rule //util:update_filegroups: '@@rules_python~//python/runfiles:runfiles' does not have mandatory providers: 'PyInfo' or 'CcInfo'. Since this rule was created by the macro 'py_binary', the error might have been caused by the macro implementation ``` Observed [on CI](https://github.com/aherrmann/rules_zig/actions/runs/11571742693/job/32210283098?pr=380#step:3:758) for [#380](#380) caused by different identities assigned to the builtin and the @rules_python `PyInfo` and `CcInfo` providers. ``` $ bazel cquery --output starlark --starlark:expr 'providers(target)' @@rules_python~//python/runfiles:runfiles { "@@rules_python~//python/private:py_info.bzl%PyInfo": struct(...), "@@rules_python~//python/private:py_cc_link_params_info.bzl%PyCcLinkParamsInfo": struct(cc_info = struct(..)), ... } ```
- Loading branch information