googleapis / googleapis/google-cloud-python
gapic-generator: use `install_unittest_dependencies` in `prerelease_deps` and `core_deps_from_source`
- 主要語言
- Python
- 星號
- 5.4k
- 分支
- 1.8k
- 平均合併
- 2 天 23 小時
- 30 天內合併 PR
- 123
描述
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)`.
貢獻指南
研究方向
Open the GAPIC generator's noxfile.py.j2 template and locate the prerelease_deps and core_deps_from_source sessions, then inspect the existing install_unittest_dependencies(session) helper. Replace the duplicated installation logic so both sessions use the helper, preserving UNIT_TEST_EXTRAS support for GAPIC_COMBO packages; done means the sessions no longer use the hardcoded install boilerplate.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- build-system, ci-cd, testing-qa
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 冷清
- 描述清晰度
- 描述清楚
- 新手友好度
- 72/100