-
Notifications
You must be signed in to change notification settings - Fork 51
go.mod: update dependencies #281
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
base: main
Are you sure you want to change the base?
Conversation
63f3a9f to
14552e5
Compare
go.mod
Outdated
| github.com/google/go-cmp v0.5.9 | ||
| golang.org/x/tools v0.2.0 | ||
| github.com/google/go-cmp v0.6.0 | ||
| golang.org/x/tools v0.3.0 |
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.
Looks like updating to v0.3.0 at leat prevents the panic we saw in #279 (comment)
I'll try reverting to see if that's re-introducing, but perhaps we need to update this one.
It doesn't fix the failing test around symlinks, so that looks to be a separate issue.
|
Hm.. interesting; not getting the panic now. Wondering if it's the |
8ccc01a to
7b13ab2
Compare
|
Alright; looks like it's Go versions; the panic happens on go1.22 and go1.23 only, and doesn't happen on go1.21 and older; |
|
Same panic on Linux, which is good, as it runs faster 😄 |
|
Good news; I went through all versions, and it looks like golang.org/x/tools v0.13.0 is the first version not showing a panic; golang/tools@v0.12.0...v0.13.0 it produces this output, but perhaps that one is expected; |
Update the minimum required version; this removes the purego fallbacks. full diff: google/go-cmp@v0.5.9...v0.6.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
c8c1e0d to
e81cf22
Compare
The TestFromDirSymlink test is failing on Windows;
=== Failed
=== FAIL: fs TestFromDirSymlink (0.01s)
ops_test.go:55: assertion failed: directory C:\Users\circleci\AppData\Local\Temp\test-from-dir-992742947 does not match expected:
\a\b\3
target: expected C:\some\inexistent\link got \some\inexistent\link
Unlike Linux, Windows is always testing against "latest" version of Golang;
Chocolatey v2.2.2
Upgrading the following packages:
golang
By upgrading, you accept licenses for the packages.
You have golang v1.22.2 installed. Version 1.23.0 is available based on your source(s).
Progress: Downloading golang 1.23.0... 100%
Try installing go1.20 to see if that's related
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
trying to find what dependency / versions are needed to prevent a panic Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
e81cf22 to
617d96a
Compare
go.mod: github.com/google/go-cmp v0.6.0
Update the minimum required version; this removes the purego fallbacks.
full diff: google/go-cmp@v0.5.9...v0.6.0