Skip to content
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

Failed build: LightGBM fails to install due to GitHub Actions upgrade of macos-latest #144

Closed
github-actions bot opened this issue Apr 28, 2024 · 2 comments · Fixed by #145
Closed

Comments

@github-actions
Copy link

GitHub Actions workflow tests #448 failed.

Event: schedule
Branch: main
Commit: eeb1e05f95f4a3b321fd21dabf8d74760c02c291

Created by jayqi/failed-build-issue-action

@jayqi
Copy link
Member

jayqi commented Apr 29, 2024

It looks like GitHub Actions upgraded the macos-latest image on April 22 from macOS 12 to macOS 14. https://github.com/actions/runner-images/tree/main?tab=readme-ov-file#available-images

LightGBM's wheel in PyPI is for macOS 10, 11, and 12, but not for 14. https://pypi.org/project/lightgbm/#files

@jayqi jayqi changed the title Failed build: tests Failed build: LightGBM fails to install due to GitHub Actions upgrade of macos-latest Apr 29, 2024
@jayqi
Copy link
Member

jayqi commented Apr 29, 2024

In addition to the macOS version upgrade, it looks like all macos-latest runners now are also ARM64.

I was able to come up with a workaround that I've tested successfully in a minimal example in a separate repo, with some help from my friend who is a LightGBM maintainer. It's documented in this comment: microsoft/LightGBM#5328 (comment)

There is also work in oprogress by the LightGBM maintainers to create an arm64-compatible wheel, so that will also help address things: microsoft/LightGBM#6391

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant