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

v2ray: depend on go@1.20 #144400

Merged
merged 1 commit into from
Sep 21, 2023
Merged

Conversation

samford
Copy link
Member

@samford samford commented Sep 21, 2023

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

v2ray 5.7.0 fails to build using Go 1.21 (the current version in the go formula) because the version of quic-go in use didn't support 1.21. quic-go now supports Go 1.21 but v2ray hasn't created a new release yet (see v2fly/v2ray-core#2644), so this has to temporarily use go@1.20 if we want to build it in the interim time.

I've left a note in the formula to mention that we should try to switch back to depends_on "go" => :build when there is a new v2ray version. If we would rather simply wait for a new v2ray version (accepting that we can't bottle this for Sonoma until then), I'll close this accordingly.

Failure when bottling for Sonoma: #142161 (comment)

`v2ray` 5.7.0 fails to build using Go 1.21 (the current version in the
`go` formula) because the version of `quic-go` in use didn't support
1.21. `quic-go` now supports Go 1.21 but `v2ray` hasn't created a new
release yet, so this has to temporarily use `go@1.20` if we want to
build it in the interim time.
@samford samford added the CI-no-bottles Merge without publishing bottles label Sep 21, 2023
@github-actions github-actions bot added the go Go use is a significant feature of the PR or issue label Sep 21, 2023
@chenrui333 chenrui333 added this pull request to the merge queue Sep 21, 2023
Merged via the queue into Homebrew:master with commit ad4d2ca Sep 21, 2023
20 checks passed
@samford samford deleted the v2ray-depend-on-go@1.20 branch September 21, 2023 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-no-bottles Merge without publishing bottles go Go use is a significant feature of the PR or issue sonoma-bottling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants