gapic-generator: use `install_unittest_dependencies` in `prerelease_deps` and `core_deps_from_source`
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- python
- 领域
- build-system, ci-cd, testing-qa
调研方向
打开 GAPIC generator 的 noxfile.py.j2 模板,找到 prerelease_deps 和 core_deps_from_source sessions,然后检查现有的 install_unittest_dependencies(session) helper。替换重复的安装逻辑,使两个 sessions 都使用该 helper,同时保留对 GAPIC_COMBO packages 的 UNIT_TEST_EXTRAS 支持;完成标准是这些 sessions 不再使用硬编码的安装样板代码。
由索引模型根据 Issue 内容生成。
描述
The prerelease_deps and core_deps_from_source sessions in the GAPIC generator's noxfile.py.j2 template currently use hardcoded boilerplate (session.install("-e", ".")) to install the local package and test dependencies. This boilerplate bypasses optional package extras (UNIT_TEST_EXTRAS), causing continuous CI jobs to fail for hybrid packages (GAPIC_COMBO) that rely on extra test dependencies.
Rather than duplicating dependency installation logic across multiple sessions, prerelease_deps and core_deps_from_source should call install_unittest_dependencies(session).
- 主要语言
- Python
- 星标
- 5.4k
- 派生
- 1.8k
- 平均合并
- 2 天 5 小时
- 30 天内合并 PR
- 108
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
googleapis/google-cloud-python 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
googleapis/google-cloud-python#18428 ·
-
priority: p2 type: bug
难度 2/5 1-3 小时 新手友好度 72/100
googleapis/google-cloud-python#18375 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 76/100
googleapis/google-cloud-python#18339 ·
-
auth priority: p2
难度 2/5 1-3 小时 新手友好度 88/100
googleapis/google-cloud-python#18315 ·
-
priority: p2 type: bug
难度 2/5 1-3 小时 新手友好度 78/100
googleapis/google-cloud-python#18260 ·
查看 googleapis/google-cloud-python 的全部 Issue
相似的 Issue
-
area: harness bug status: needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
Human-Agent-Society/reef#625 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 1/5 1 小时以内 新手友好度 80/100
learningequality/kolibri#15351 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
Name consistency 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
eellak/triplestore#65 · 1 条评论 ·