bazel-contrib / bazel-contrib/rules_python

Idea - Leverage pip.dep for the coverage tooling

未关闭
#3,902 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Starlark
星标
688
派生
721
平均合并
15 小时 7 分钟
30 天内合并 PR
76

描述

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.

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
build-system
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。