bazel-contrib / bazel-contrib/rules_python

Python coverage

Aperta
#2,248 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
need: repro
Lingua principale
Starlark
Stelle
688
Fork
721
Merge medio
15h 7m
PR unite (30g)
76

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
build-system, testing
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.