-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
WIP: [ci] switch to r-devel in Solaris builds (fixes #5216) #5217
Conversation
/gha run r-solaris Workflow Solaris CRAN check has been triggered! 🚀 Reports also have been sent to LightGBM public e-mail: https://yopmail.com?lightgbm_rhub_checks |
/gha run r-solaris Workflow Solaris CRAN check has been triggered! 🚀 solaris-x86-patched: https://builder.r-hub.io/status/lightgbm_3.3.2.99.tar.gz-e003453fa4744e8b8d9ac584dfa4cdb7 |
good news With the changes in this PR, the Solaris job now successfully builds the R package and pushes it up to R Hub. bad news The jobs on R Hub are failing, because one of I've opened r-hub/rhub#526 describing this. Essentially,
Given that I don't see Solaris checks at any of the following places:
I strongly suspect that Solaris builds might no longer be required by CRAN, now that R 4.2.0 has been released. I recall seeing another strong signal that Solaris support would no longer be required in R 4.2.0, in this tweet: https://twitter.com/henrikbengtsson/status/1466877096471379970. However, I haven't yet seen something authoritative from CRAN saying that. I will search the mailing lists and CRAN docs tomorrow to see if I can find something definitive. Maybe we'll be able to remove the Solaris requirement entirely. |
/gha run r-solaris Workflow Solaris CRAN check has been triggered! 🚀 solaris-x86-patched: https://builder.r-hub.io/status/lightgbm_3.3.2.99.tar.gz-426a3164aece4ae6b1a5eb5af17334ab |
Ok so the conclusion of r-hub/rhub#526 was "a release of I think that, from this investigation, I see some strong evidence that we can remove Solaris support in LightGBM. The evidence:
I really think that given all of this, we could remove Solaris support from LightGBM. I appreciate Uwe's plea for people to continue writing portable software, but in this case CRAN removing that check means that similar issues to this @StrikerRUS @jmoralez can you please read through this when you have time and let me know what you think about this question: Should we remove Solaris support in LightGBM?. |
I agree on removing Solaris. Seems like everyone's happy to do so, so as you say we might face similar issues to |
Woo hoo! I'm so exited about that we can remove Solaris support! 🎉 Thank you very much for the deep investigation. |
Sure, happy to do it! Ok I'll close this PR and open a new one removing Solaris. And we can use admin powers to merge PRs like #5159 with a failed Solaris GitHub Actions build. |
Or we can:
|
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.
Proposes using
RDscript
instead ofRscript
when building the R package prior to uploading it to R Hub.Notes for Reviewers
As mentioned in #5216 (comment), I've opened an issue in https://github.com/wch/r-debug asking about the choice of
RDscript
vs.Rscript
in that image. At least for now, though, I think this PR should be merged if if fixes the Solaris CI builds, to unblock development on #5159 (and the rest of the repo).