-
Notifications
You must be signed in to change notification settings - Fork 24
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(deps): upgrade tools and mod packages #14
fix(deps): upgrade tools and mod packages #14
Conversation
Addresses an error with newer versions of Go. fix marwan-at-work#9
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.
Thanks for the contribution, just one comment
@@ -8,7 +8,7 @@ require ( | |||
github.com/google/go-querystring v0.0.0-20170111101155-53e6ce116135 // indirect | |||
github.com/pkg/errors v0.9.1 | |||
github.com/urfave/cli/v2 v2.3.0 | |||
golang.org/x/mod v0.2.0 | |||
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 |
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.
any reason not to use the latest stable which is v0.5.1 https://pkg.go.dev/golang.org/x/mod ?
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.
It was bumped automatically as a dependency of tools. https://github.com/golang/tools/blob/v0.1.10/go.mod#L7
tools 0.1.9 uses mod 0.5.1. I tested that with my project and it still works. I can downgrade it if you want to use the stable version.
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.
I see. Will merge then, thanks!
See: marwan-at-work/mod#14 Should be upgraded in devctl
See: marwan-at-work/mod#14 Should be upgraded in devctl
* Bump github.com/marwan-at-work/mod/cmd/mod to v0.4.2 See: https://github.com/giantswarm/app-operator/runs/6792943187?check_suite_focus=true See: marwan-at-work/mod#14 * Update CHANGELOG.md * Bump dependencies to solve security issues * Bump some dependencies to solve issues and ignore some reports for now * Format go.mod
* Bump github.com/marwan-at-work/mod/cmd/mod to v0.4.2 See: https://github.com/giantswarm/app-operator/runs/6792943187?check_suite_focus=true See: marwan-at-work/mod#14 * Update CHANGELOG.md * Bump dependencies to solve security issues * Bump some dependencies to solve issues and ignore some reports for now * Format go.mod
* Bump github.com/marwan-at-work/mod/cmd/mod to v0.4.2 See: https://github.com/giantswarm/app-operator/runs/6792943187?check_suite_focus=true See: marwan-at-work/mod#14 * Update CHANGELOG.md * Bump dependencies to solve security issues * Bump some dependencies to solve issues and ignore some reports for now * Format go.mod
* Bump github.com/marwan-at-work/mod/cmd/mod to v0.4.2 See: https://github.com/giantswarm/app-operator/runs/6792943187?check_suite_focus=true See: marwan-at-work/mod#14 * Update CHANGELOG.md * Bump dependencies to solve security issues * Bump some dependencies to solve issues and ignore some reports for now * Format go.mod
I encountered issue #9 in a project that uses Go 1.18. The project uses Renovate's gomodUpdateImportPaths option, which output this error:
I tested upgrading the tools package to the latest version locally, based on the solution the last time this issue was brought up, and the above command worked for my project.