Pull Request Overview
- Opened on September 25, 2026
- Status Open
- Commit count 9 with first commit September 25, 2026
Total Delta
243 Total Diff Delta
Open Days
Open 50 weekdays
Test Delta
37 Diff Delta in Test Files
Breakdown by Phase
How long has this pull request spent in each phase of its lifecycle?
| Fraction of total time | Business days | Phase |
|---|---|---|
|
|
0.3 days | Authoring 1 commit before pull request opened for review |
|
|
0.0 days | Awaiting first review |
|
|
50.0 days | Revising work with 8 commits in response to 0 reviews that left 8 comments |
Total time for pull request still awaiting merge (longer than repo's target): 50.3 business days
[python-package] [ci] allow ImportErrors from dependencies to be raised, expand testing of imports
Contributes to #7327
Contributes to #7355
Closes #7169
Removes some try-catching in __init__.py that could make it harder to diagnose import issues (especially from dependencies).
To help with that, significantly expands testing of the optional-dependency handling in the Python package:
- ensures
test_basic.pycan be run without any oflightgbm's optional dependencies + adds a CI job running it in an environment like that - adds explicit testing in CI that modules that should not be loaded are not loaded by
import lightgbm - adds a statement coverage summary to Python test jobs (with
pytest-cov) + enforcement of a coverage minimum (to ensure that all the test-skipping logic added in PRs like this doesn't accidentally lead to a loss of coverage in CI)
Comments Threads Pending Resolution
.ci/test-python-minimal-deps.sh
|
25
|
|||
|
26
|
|||
|
27
|
|||
|
28
|
|||
|
29
|
