You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[ci] python-package "regular" CI jobs failing to install dependenciesย #6282
The TASK=regular jobs in this project's CI run the Python package's unit tests and test a few other things:
the example notebookes in the examples/ directory
that lightgbm can be imported after all of its dependencies have been removed
Those jobs are currently failing across all operating systems, with an error like this:
[NbConvertApp] Converting notebook interactive_plot_example.ipynb to notebook
[IPKernelApp] ERROR | KeyboardInterrupt caught in kernel.
[NbConvertApp] Writing 178679 bytes to interactive_plot_example.ipynb
PackagesNotFoundError: The following packages are missing from the target environment:
- dask
Error: Process completed with exit code 255.
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.
Activity
[ci] fix conda env creation in 'regular' CI job (fixes #6282)
jmoralez commentedon Jan 22, 2024
I believe the command that's failing is the uninstall, maybe it's due to a difference between installing with mamba and trying to uninstall with conda.
https://github.com/microsoft/LightGBM/blob/255c93b551c13b5d9b0bd8eff83ef828b14b9547/.ci/test.sh#L312
https://github.com/microsoft/LightGBM/blob/255c93b551c13b5d9b0bd8eff83ef828b14b9547/.ci/test.sh#L322
I can submit a PR with that change if you think that may be it.
jameslamb commentedon Jan 22, 2024
ooooo interesting. Yeah I'd welcome that PR, thank you!
jmoralez commentedon Jan 22, 2024
Oh sorry I hadn't seen #6283, do you want me to create a new one or push to that branch?
jameslamb commentedon Jan 22, 2024
whatever's easier for you! No preference.
jameslamb commentedon Jan 22, 2024
If that doesn't work, could you test another idea I just had?
Maybe the problem is that the package we install is named
dask-corehttps://github.com/microsoft/LightGBM/blob/255c93b551c13b5d9b0bd8eff83ef828b14b9547/.ci/test.sh#L128
but then we're asking
conda uninstallto remove a package calleddask.https://github.com/microsoft/LightGBM/blob/255c93b551c13b5d9b0bd8eff83ef828b14b9547/.ci/test.sh#L322-L325
Maybe something has changed recently in
conda,mamba, or thedask-coremetapackage that breaks that.Either way, I think we should probably be adding
dask-coreto thatconda uninstallcall.[ci] fix conda env creation in 'regular' CI job (fixes #6282) (#6283)
github-actions commentedon Jan 22, 2025
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.