-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove support for Solaris (fixes #5216) #5226
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the PR that deletes codes 😆
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent, thanks a lot! Really like to see these changes!
expect_true(abs(eval_results[[2L]][["value"]] - 0.745986) < TOLERANCE) | ||
expect_true(abs(eval_results[[3L]][["value"]] - 0.7351959) < TOLERANCE) | ||
} | ||
}) | ||
|
||
test_that("learning-to-rank with lgb.cv() works as expected", { | ||
testthat::skip_if( | ||
ON_SOLARIS || ON_32_BIT_WINDOWS | ||
ON_32_BIT_WINDOWS | ||
, message = "Skipping on Solaris and 32-bit Windows" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
, message = "Skipping on Solaris and 32-bit Windows" | |
, message = "Skipping on 32-bit Windows" |
Thanks for merging this @guolinke , but I didn't get a chance to address the suggestion in #5226 (comment). I'll open a follow-up PR to address that. In the future, can you please avoid merging before all suggestions have been addressed? |
Sorry, I just saw 2 approves, will check the details next time. |
no problem! @StrikerRUS, @jmoralez and I sometimes approve but with minor suggestions, meaning "I approve assuming you fix this minor suggestion", to avoid another round of reviews. |
Actually, I tried the GitHub App on my mobile phone to review issues and codes yesterday, and didn't realize it hides the approved comment by default 🤣 . |
This pull request 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. |
Fixes #5216 .
Related to #3513.
Per the discussion in #5217 (comment), this PR proposes removing support for the Solaris operating system in LightGBM.
That support was added only to get
{lightgbm}
(the R package) onto CRAN, so that it would be easier for R users to install.There is strong evidence (provided in that comment) that CRAN no longer requires packages to be installable on Solaris.
I'm proposing removing this support for the following reasons: