-
Notifications
You must be signed in to change notification settings - Fork 16
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
bump dependencies #29
Conversation
go: upgraded golang.org/x/exp v0.0.0-20230807204917-050eac23e9de => v0.0.0-20240506185415-9bf2ced13842 go: upgraded golang.org/x/mod v0.14.0 => v0.17.0 go: upgraded golang.org/x/sync v0.5.0 => v0.7.0 go: upgraded golang.org/x/tools v0.16.1 => v0.21.0 This fixes (at least for me) a crash when checking csi-lib-utils when using Kubernetes 1.30 there (kubernetes-sigs#28).
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pohly The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This issue is currently awaiting triage. If logtools contributors determine this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
5df9f4f
to
6351c22
Compare
The newer version is required when checking packages which need Go 1.22. From a csi-lib-utils CI run with Go 1.22.2 in the PATH and Kubernetes 1.30 in vendor: /home/prow/go/src/github.com/kubernetes-csi/csi-lib-utils/vendor/k8s.io/apimachinery/pkg/api/resource/amount.go:17:1: package requires newer Go version go1.22 This feels like a workaround and raises the question whether this has to be done for each new Go release. Discussed in golang/go#67282. It is unclear whether building with older Go releases still works. The GitHub workflow failed while installing the older Go, without any error message.
/lgtm |
/lgtm |
Building with older Go still works: $ PATH=/nvme/gopath/go-1.21.0/bin/:$PATH go install sigs.k8s.io/logtools/logcheck@main
go: downloading sigs.k8s.io/logtools v0.8.2-0.20240510103400-c99b00396295
go: sigs.k8s.io/logtools@v0.8.2-0.20240510103400-c99b00396295 requires go >= 1.22; switching to go1.22.3
go: downloading go1.22.3 (linux/amd64)
go: downloading golang.org/x/tools v0.21.0
go: downloading golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842
go: downloading golang.org/x/sync v0.7.0
go: downloading golang.org/x/mod v0.17.0 $ PATH=/nvme/gopath/go-1.20.0/bin/:$PATH go install sigs.k8s.io/logtools/logcheck@main
go: downloading sigs.k8s.io/logtools v0.8.2-0.20240510103400-c99b00396295
go: downloading golang.org/x/tools v0.21.0
go: downloading golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842
go: downloading golang.org/x/sync v0.7.0
go: downloading golang.org/x/mod v0.17.0 Go 1.20 simply builds it. |
go: upgraded golang.org/x/exp v0.0.0-20230807204917-050eac23e9de => v0.0.0-20240506185415-9bf2ced13842
go: upgraded golang.org/x/mod v0.14.0 => v0.17.0
go: upgraded golang.org/x/sync v0.5.0 => v0.7.0
go: upgraded golang.org/x/tools v0.16.1 => v0.21.0
This fixes (at least for me) a crash when checking csi-lib-utils when using Kubernetes 1.30 there
Fixes: #28
It also bumps the Go version in go.mod to 1.22.2. This turned out be necessary because of golang/go#67282.
It is unclear whether building logtools with Go < 1.22 still works. The GitHub actions failed to install older Go without any error message.
cc @jsafrane @bells17