gapic-generator: use `install_unittest_dependencies` in `prerelease_deps` and `core_deps_from_source`
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- python
- Lĩnh vực
- build-system, ci-cd, testing-qa
Hướng nghiên cứu
Mở template noxfile.py.j2 của GAPIC generator và tìm các session prerelease_deps và core_deps_from_source, sau đó kiểm tra helper hiện có install_unittest_dependencies(session). Thay thế logic cài đặt bị trùng lặp để cả hai session đều sử dụng helper, đồng thời giữ hỗ trợ UNIT_TEST_EXTRAS cho các package GAPIC_COMBO; hoàn tất khi các session không còn sử dụng phần boilerplate cài đặt được hardcode.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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).
- Ngôn ngữ chính
- Python
- Star
- 5.4k
- Fork
- 1.8k
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 93
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của googleapis/google-cloud-python
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
googleapis/google-cloud-python#18428 ·
-
priority: p2 type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
googleapis/google-cloud-python#18375 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
googleapis/google-cloud-python#18339 ·
-
auth priority: p2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
googleapis/google-cloud-python#18315 ·
-
priority: p2 type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
googleapis/google-cloud-python#18260 ·
Tất cả issue của googleapis/google-cloud-python
Issue tương tự
-
货币战争手改优先级配置缺少列表元素类型校验(P3) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Đang mởarea: ci bug perceived difficulty: 3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ClickHouse/clickhouse-connect#1057 ·