-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat(release): update macos version used by github action #20
feat(release): update macos version used by github action #20
Conversation
3c13127
to
71ebc3d
Compare
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.
The code change itself looks fine, but I seem to be having issues actually running it due to homebrew conflicts. Run log.
Error installing Python 3
==> Pouring python@3.10--3.10.9.big_sur.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/2to3
Target /usr/local/bin/2to3
already exists. You may want to remove it:
rm '/usr/local/bin/2to3'
To force the link and overwrite all conflicting files:
brew link --overwrite python@3.10
To list all files that would be deleted:
brew link --overwrite --dry-run python@3.10
Possible conflicting files are:
/usr/local/bin/2to3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/2to3
/usr/local/bin/idle3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/idle3
/usr/local/bin/pydoc3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/pydoc3
/usr/local/bin/python3 -> /Library/Frameworks/Python.framework/Versions/3.11/bin/python3
/usr/local/bin/python3-config -> /Library/Frameworks/Python.framework/Versions/3.11/bin/python3-config
At least, I think that's the relevant error?
Hrm yeah, that is interesting. I will look into it. |
Looks like this is a known recent issue actions/setup-python#577. |
I was able to get it working by removing the pre-existing symlinks before running Should we wait and see if GitHub will fix this issue or go ahead with the |
MacOS Catalina is no longer supported by Apple or GitHub https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22. This PR updates the runner used for MacOS to Big Sur. Includes a fix for https://github.com/actions/runner-images/issues/6817. Issue: rancher-sandbox#19 Signed-off-by: Ryan Currah <ryan@currah.ca>
dc3075a
to
3190e99
Compare
Oh, thanks for identifying the issue in the runner images! Given that it was filed yesterday and being actively worked on, it's probably best to just wait for them to resolve it first? I'll schedule a reminder for myself in a week (if we haven't merged this PR by then). If they haven't fixed it in a week, we could just merge in your workaround. |
Sounds good to me. |
@mook-as looks like this is the best solution for now. Others seem to be following suit and doing some variant of this fix in their actions. |
Im re-building this again and it is failing on a lot of new changes to the image. I'm fixing it now. |
Signed-off-by: Ryan Currah <ryan@currah.ca>
Ok, now it builds again. https://github.com/ryancurrah/lima-and-qemu/actions/runs/3858396120 |
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.
Thank you, looks good!
MacOS Catalina is no longer supported by Apple or GitHub https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22. This PR updates the runner used for MacOS to Big Sur.
Issue: #19