bazel-contrib / bazel-contrib/rules_python

Python coverage

Open
#2,248 1 comment 0 reactions 0 assignees View on GitHub
need: repro
Dominant language
Starlark
Stars
688
Forks
721
Avg merge
14h 49m
Merged PRs (30d)
81

Description

Upgrading rules_python in Bazel and running tests again version 0.36.0 showed problems with coverage support.

To reproduce run `bazel test //src/test/shell/bazel:bazel_coverage_hermetic_py_test` from Bazel repository. It fails saying the test has failed, but this previously with builtin Python rules wasn't the case.

I went down the rabbit hole, but I couldn't figure it out. I think that this test should be moved out of Bazel into rules_python, if it isn't already.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.