xref: /aosp_15_r20/external/bazelbuild-rules_python/examples/bzlmod/description.md (revision 60517a1edbc8ecf509223e9af94a7adec7d736b8)
1Before this PR the `coverage_tool` automatically registered by `rules_python`
2was visible outside the toolchain repository. This fixes it to be consistent
3with `non-bzlmod` setups and ensures that the default `coverage_tool` is not
4visible outside the toolchain repos.
5
6This means that the `MODULE.bazel` file can be cleaned-up at the expense of
7relaxing the `coverage_tool` attribute for the `python_repository` to be a
8simple string as the label would be evaluated within the context of
9`rules_python` which may not necessarily resolve correctly without the
10`use_repo` statement in our `MODULE.bazel`.
11