-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Default download to GitHub Packages #11070
Default download to GitHub Packages #11070
Conversation
Review period will end on 2021-04-09 at 09:03:44 UTC. |
Review period skipped due to |
No comment, but I think this release should have a tweet associated so people update and don't stay on the bintray version. |
@SMillerDev Yeh, agreed. Will probably wait for Homebrew on Linux to be fully migrated too and then make a new minor version. |
Maybe this new release when we switch over should be a major version? It's a major change to how things work, and Bintray going away on May 1st will lead to "people who don't upgrade will have broken bottle downloads" - and I suspect there are a fair few people who set and forget |
Not for users though.
We can't fix stupid, there's a reason brew auto-updates, |
Yes, perhaps (or at least before/shortly after Bintray goes away). |
Now that all bottles (without existing `sha256` mismatches) have been uploaded to GitHub Packages make it the default download location. Will give this a few days testing before we make a tag and make this default for everyone. No migration has been done for Linuxbrew packages yet; those will be done after we have fully migrated over Homebrew.
Fetched 300 randomly chosen bottles from GitHub packages. Works great. 👏 |
FYI bintray just started giving 502 errors (to a 10.15 mac github actions runner in its default state) for https://homebrew.bintray.com/ -- not sure if this is a transient thing but given this it may be at least semi-broken well in advance of May 1. |
It's a scheduled Bintray brownout session that will last a few hours. Homebrew 3.1.0 has already been released which migrates away from Bintray. |
@Bo98 so you don't advice to switch the config of any CI right? At SciPy this is breaking our CI currently too. |
Switch what exactly? I'm not sure I understand. Updating Homebrew is all that's needed to stop using Bintray. GitHub Actions' macos-latest image might ship an older version (which will probably be updated soon), but it can still be updated manually. |
What I mean is do we (SciPy or any other repo) update our CI or just wait for macos-latest to be updated? Or can we just add a version specifier in the config? I am not sure I understand correctly how long it will keep breaking. Just today during the maintenance, or is it broken until the macos image is updated which can take some time? Thanks for your help. |
you may consider using the setup-homebrew workflow in your github workflow to use the latest homebrew code |
We generally recommend updating to the latest Homebrew version. We do so by default for new taps.
Old versions will only be broken for another four and a half hours. |
And again at the start of May, indefinitely. |
Sorry, I should have posted a link, but I followed up with a better description and an actual solution (use the setup action) here: Homebrew/discussions#691. Edit: also, yeah, (Only realized after posting the first time that I was reviving a merged PR thread, sorry about that.) |
I'm having issues with brew 3.1.1 using ghcr.io in downloading Node 10.
|
homebrew uses Github package to distribute package instead of bintray but the github action isnt updated yet. Workaround is to update homebrew before calling install Relevant links: Homebrew/discussions#691 actions/runner-images#3165 Homebrew/brew#11070
homebrew uses Github package to distribute package instead of bintray but the github action isnt updated yet. Workaround is to update homebrew before calling install Relevant links: Homebrew/discussions#691 actions/runner-images#3165 Homebrew/brew#11070
Please make a post at https://github.com/Homebrew/discussions, and include the output of |
Your homebrew-core is outdated:
We have not migrated old versions of formulae to GitHub Packages. |
Thanks, that was the issue, homebrew-core (my brew installation). |
Fix for errors observed while installing packages with homebrew. Until Github runners are updated to use latest hombrew versions, manually updating homebrew in Github workflows. Homebrew/brew#11070 Homebrew/discussions#691
@ddarren this seems to be a one-time error. likely happens because brew in memory is old code. abort brew and retry, then things started to work. at least for me. |
Any idea to resolve this error
|
There's likely some security software or something network-related that's blocking connections to |
I've been trying all day: ➜ ~ brew upgrade curl ==> Upgrading 1 outdated package: curl 7.75.0 -> 7.76.1 ==> Upgrading curl 7.75.0 -> 7.76.1 ==> Downloading https://ghcr.io/v2/homebrew/core/zstd/manifests/1.4.9_1 curl: (7) Failed to connect to ghcr.io port 443: Bad file descriptor Error: Failed to download resource "zstd_bottle_manifest" Download failed: https://ghcr.io/v2/homebrew/core/zstd/manifests/1.4.9_1 When I go to that link, I get unauthorized. Here's my config: ➜ ~ brew config HOMEBREW_VERSION: 3.1.5-6-g6350294 ORIGIN: https://github.com/Homebrew/brew.git HEAD: 635029407bccc686f314a88f248753b4871b6060 Last commit: 7 hours ago Core tap ORIGIN: https://github.com/Homebrew/homebrew-core Core tap HEAD: 3bed6c820569eb047724d9d6b778882ed4a234a6 Core tap last commit: 80 minutes ago Core tap branch: master HOMEBREW_PREFIX: /usr/local HOMEBREW_CASK_OPTS: [] HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.prHNfesGS2/org.macosforge.xquartz:0 HOMEBREW_MAKE_JOBS: 16 Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby CPU: 16-core 64-bit kabylake Clang: 12.0 build 1205 Git: 2.31.1 => /usr/local/bin/git Curl: 7.64.1 => /usr/bin/curl macOS: 11.3-x86_64 CLT: 12.5.0.22.9 Xcode: 12.5 XQuartz: 2.7.11 => /opt/X11 And this is after a brew doctor and many brew update/upgrade |
Your ISP is probably blocking access to ghcr.io. |
Nope, I tried 3 different ISPs, this is coming from Github. I do support IPv6 and IPv4 on this machine, so that might be it. I will check. |
That's not it either. Even when I force IPv4, I get the following: https://ghcr.io/v2/homebrew/core/icu4c/manifests/69.1 {"errors":[{"code":"UNAUTHORIZED","message":"authentication required"}]} |
The authentication error is expected when using a browser. You must pass a brew/Library/Homebrew/download_strategy.rb Line 567 in 3476ca7
|
Eh, you were right, Little Snitch got in the way. |
hi folks, I have been encountering brew upgrade errors from the downloading issue, still don't know how to resolve it: HOMEBREW_VERSION: 3.1.7-84-ge0bfcda |
Your core tap looks out of date, but it's hard to say for sure since the middle part of |
Now that all bottles (without existing
sha256
mismatches) have been uploaded to GitHub Packages make it the default download location.Will give this a few days testing before we make a tag and make this default for everyone.
No migration has been done for Linuxbrew packages yet; those will be done after we have fully migrated over Homebrew.