-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
lima: MacOS.version >= ventura does not require qemu #154674
Conversation
MacOS.version >= :ventura can use vz virtualization, do not force installation of qemu.
Thanks for contributing to Homebrew! 🎉 It looks like you're having trouble with a CI failure. See our contribution guide for help. You may be most interested in the section on dealing with CI failures. You can find the CI logs in the Checks tab of your pull request. |
@@ -17,7 +17,7 @@ class Lima < Formula | |||
end | |||
|
|||
depends_on "go" => :build | |||
depends_on "qemu" | |||
depends_on "qemu" if MacOS.version < :ventura |
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.
vz is still experimental and using qemu is recommended
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.
@AkihiroSuda indeed. thanks.
While you're correct, on M3 for example qemu does not work currently - lima-vm/lima#1996. Making qemu mandatory let some of us believe that qemu is more stable.
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.
On M1 and M2, qemu seems actually more stable
EDIT:
vz is more stable since Lima v0.19:
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.
Ok, let's discuss this later, but this PR does not stop anyone to install or use qemu.
It does however forces people keep updating qemu even if they use vz.
Since its still experimental, let's keep qemu for now |
On M3 qemu does not seem to work, only vz works - abiosoft/colima#924, and yet brew forces qemu install. |
Expected to be fixed in:
|
Otherwise this feels like a compromise: depends_on "qemu" if MacOS.version < :ventura
depends_on "qemu" => :optional if MacOS.version >= :ventura |
It is not, the only solution is for Lima to say it's not experimental anymore |
MacOS.version >= :ventura can use vz virtualization, do not force installation of qemu.
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?@HappyTobi @AkihiroSuda