-
-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
Go 1.14.1 #51909
Go 1.14.1 #51909
Conversation
Build was stuck for hours on |
@BrewTestBot test this please |
I think we need to re-run the CI pipeline |
We don't, the issues need to be resolved. |
For those following along at home, the issues are with downstream packages. Though it does look like several of them are transient (various git cloning / ref errors). |
Go 1.13.5 got stuck in a similar fashion for weeks here. I'm just a bystander, but I really like getting Go releases from Homebrew. I'm nervous folks will stop trying to maintain the Homebrew Go releases if every one of them gets held up due to issues totally unrelated to Go. In the case of 1.13.5, the problems were unresolvable - @fxcoudert ended up just forcing the merge. |
Everyone is able to post updates to homebrew formulae. If nobody else makes a PR you can make one @bmhatfield. |
Not sure this is the cause or not, previously for go 1.4 the build bottles exec |
We may have to start doing versioned migrations like with python@3.8 if go version bumps break a ton of stuff. |
|
This comment has been minimized.
This comment has been minimized.
What we found is that there has been but the previous testing system was insufficient at catching broken formulae. After Go 1.14.0, there were a few formulae which did not properly build from source anymore. This is the first version to have properly fully tested building dependents from source, so some of the failures are formulae which have been broken for a while but were not caught. In the future, it should only fail when Go breaks things, and probably in fewer numbers. |
@Bo98 are there fixes that I could help with to get this moving along? happy to upgrade / fix other formulae that depend on this. |
Please open pull requests (like in #51930) that fix one of these formulae using the listed
|
|
same for at a higher level, If these are already broken, why block go 1.14.1 behind these. I think there should be fixes for them, but blocking behind 1.14.1 is not necessary? I specifically care because 1.14 broke testing with the |
Yes, I can see this pull request being merged without the likes of wellington being fixed. It's just good to get the majority fixed rather than just kicking the problem down the road for 1.14.2 or 1.15.0. |
The following need updates from the packages. I have reached out to
Would you be ok moving the list an issue and unblocking this PR by force merging? |
Yes, I'm fine with that. |
Can we switch these formulae to |
I agree. Though, similarly to some Rust dependents, some have been broken for some time (and therefor not caused by Go 1.14.1):
|
@chenrui333 thank you for helping move this forward. For what its worth I've observed these types of issues on the Golang version updates in the past. I don't know if its something specific to this formula but it's not uncommon for these to get stuck for several days or longer. It always seems something unrelated to the actual Go update is the blocker. |
@chrispassas, moving forward is always our goal, and as maintainer, we also want to make our ecosystem safe for everyone (the process is being improved as we speak, and does need everyone's involvement to keep this community project healthy! 😄 ) |
Running the final Jenkins build before shipping this out (I will see this through today) |
Considering this is the first Go pull request to have tested dependents from source, it's actually a little different. Previous Go pull requests tested runtime linkage. In the Go world, this is a pretty useless test besides for I merged the last of those today, moving |
@Bo98 I only mean that I've seen brew upgrade go delayed for past releases. I don't know exactly what caused the delay accepting the pull request in those past cases. If you are just pulling the exact source from the Go Project that is already compiled for Mac OS what type of problems are you testing for? I assume if there is an issue with the Go release on Mac OS x.x.x it would affect all users even if they didn't use brew to install. Is brew taking on the responsibility of testing Go releases? It seems like at least in this case the Go team should own that and brew should not be concerned with it. I'm not saying that should be the case for all brew updates but specifically Go releases I would argue that makes sense. |
We do not, and never will, use pre-built binaries. We compile Go from source.
It isn't necessarily about whether Go works, but whether everything in homebrew-core that depends on Go works properly. Go 1.14.0 proved the need to test that. A significant number of formulae no longer built from source after we merged Go 1.14.0, which left some users unable to install those formulae. |
@Bo98 sorry I just looked and I see you are pulling the source files to compile and not the prebuilt files from the Go Team. If your are compiling your self its understandable to have your own testing. It sounds like your saying some of the brew service is using Go and updating this package could cause other brew services to break? Does that mean any projects that brew uses are more likely to encounter delayed releases because they're dependencies might fail with new updates? Sorry, I'll stop asking questions, its just interesting to learn more about how brew works. |
https://formulae.brew.sh/formula/go#default shows that go got installed 22577 times in the last 30 days to build something else in homebrew. And most users don't build anything in homebrew from source. That should indicate that a lot of things are dependent on homebrew's Go. |
The delay this time was particularly affected because this is the first time Go's gone through improved testing of dependents - so the number of detected "breakages" were higher since there will have been some that went unnoticed in past Go pull requests. However, not all Go versions will break things. If all these problems were fixed when 1.14.0 were merged, Go 1.14.1 would have likely been merged fairly quickly. If Go 1.14.2 was released tomorrow, it would likely be merged within a day. |
@chenrui333 can you add a comment on why this was closed and not merged? |
@mgaffney Not sure - but Go 1.14.1 is now available in homebrew ;-) |
The process of merging the PRs for homebrew-core formulae is thru Published bottles are artifacts published into Bintray which would allows users to quickly install the formulae, and they dont have to rebuild the software from source. However, when I tried to merge this PR, I only got one version of bottle published, and now@Bo98 and I are fixing the bottle issues. |
Yes, Go 1.14.1 is in here, I will announce in here once we fixed the issue for Mojave and HighSierra. |
I wanted to ask, why there is no more prebuilt bottles for mojave and high sierra? Are you planing to provide them? |
~Simple answer is the PR was created 8 days ago, somehow the mojave and highsierra bottles are gone when I tried to merge the PR. ~
That is just unfortunate bad timing. Now we were trying to build all bottles. |
Ok, Thanks for the info. |
Yes, our merge process doesn't show as "merged" in GitHub. It's normal for it to appear as "closed". |
Mojave and High Sierra bottles are now available. |
Thanks @Bo98!! |
golang 1.14.2 has been released |
Thanks for the heads up. I've opened #52774. |
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 doingbrew install <formula>
)?previous upgrade, #50687