bazel-contrib / bazel-contrib/rules_python

Python coverage

オープン
#2,248 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
need: repro
主要言語
Starlark
スター
688
フォーク
721
平均マージ
15時間 7分
マージ済み PR(30日)
76

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Reproduce the failure with `bazel test //src/test/shell/bazel:bazel_coverage_hermetic_py_test` from the Bazel repository. Read the existing coverage test and rules_python coverage support to determine whether the test belongs here or in rules_python. Done means the test has a clear home and the coverage behavior no longer reports the unexpected failure.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
build-system, testing
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。