googleapis / googleapis/google-cloud-python

gapic-generator: use `install_unittest_dependencies` in `prerelease_deps` and `core_deps_from_source`

オープン 初心者向け
#17,531 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
priority: p2 type: cleanup
主要言語
Python
スター
5.4k
フォーク
1.8k
平均マージ
3日 4時間
マージ済み PR(30日)
122

説明

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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。