bazel-contrib / bazel-contrib/rules_python
Idea - Leverage pip.dep for the coverage tooling
- Lingua principale
- Starlark
- Stelle
- 688
- Fork
- 721
- Merge medio
- 15h 7m
- PR unite (30g)
- 76
Descrizione
This is just a thought and it might not work but maybe it would.
1. Define a `pip.dep` with an extra alias to have an executable `filegroup` which is what the toolchain requires. This probably requires `pip.dep` to accept extra args.
2. If users attempt to run `bazel coverage` they would get an error asking them to include the `coverage` in the requirements.txt.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by examining how pip.dep handles extra arguments and how the coverage toolchain requires an executable filegroup. Compare that with the requirements.txt flow for bazel coverage; done means establishing whether the proposed alias and missing-dependency error are feasible and defining the required behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- build-system
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Tranquilla
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100