-
Notifications
You must be signed in to change notification settings - Fork 620
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
Fix: Update golang.org/x/tools dependency to support Go v1.22.0 #401
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Maintainers, please also tag a release after merging. |
@zombiezen @vangent it looks like this repo might not be monitored closely at this point. sorry for the ping, but could one of you help with a review on this one? |
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.
LGTM
Looks like you'll need to update the GitHub Actions workflows as well. |
@zombiezen thanks for the review. updated the action in c0cebf2 |
@vangent, would you mind tagging the release once this goes in? Thanks. |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/google/wire](https://togithub.com/google/wire) | `v0.5.0` -> `v0.6.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoogle%2fwire/v0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoogle%2fwire/v0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoogle%2fwire/v0.5.0/v0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoogle%2fwire/v0.5.0/v0.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>google/wire (github.com/google/wire)</summary> ### [`v0.6.0`](https://togithub.com/google/wire/releases/tag/v0.6.0) [Compare Source](https://togithub.com/google/wire/compare/v0.5.0...v0.6.0) #### New Contributors - [@​rsc](https://togithub.com/rsc) made their first contribution in [https://github.com/google/wire/pull/339](https://togithub.com/google/wire/pull/339) - [@​giautm](https://togithub.com/giautm) made their first contribution in [https://github.com/google/wire/pull/353](https://togithub.com/google/wire/pull/353) - [@​wirekang](https://togithub.com/wirekang) made their first contribution in [https://github.com/google/wire/pull/357](https://togithub.com/google/wire/pull/357) - [@​efueyo](https://togithub.com/efueyo) made their first contribution in [https://github.com/google/wire/pull/360](https://togithub.com/google/wire/pull/360) - [@​stytchiz](https://togithub.com/stytchiz) made their first contribution in [https://github.com/google/wire/pull/365](https://togithub.com/google/wire/pull/365) - [@​toddtreece](https://togithub.com/toddtreece) made their first contribution in [https://github.com/google/wire/pull/401](https://togithub.com/google/wire/pull/401) **Full Changelog**: google/wire@v0.5.0...v0.6.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ride-app/driver-service). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
This comment was marked as resolved.
This comment was marked as resolved.
I'm still getting the following panic with wire 0.6.0 against golang 1.22.5:
|
@Resisty , per my understanding, if the wire tool you used is actually 0.6.0, the version of package golang.org/x/tools displayed in your backtrace should be 0.17.0 ,please make a check on this file wire go.mod . The latest wire works well with the go 1.22.5 at my env. |
What
golang.org/x/tools
gofmt
fixes suggested byinternal/runtests.sh
alldeps
updates suggested byinternal/runtests.sh
Why
I encountered this error during wire generation when trying to build Grafana with Go v1.22.0: