-
Notifications
You must be signed in to change notification settings - Fork 50
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
go.mod: update dependencies #281
base: main
Are you sure you want to change the base?
Conversation
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>
This is the last version before go1.18 support was removed in; golang/tools@283fce2 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
20704bf
to
63f3a9f
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>
This reverts commit 05b199a. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
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.
This reverts commit 5b8e7a9. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Hm.. interesting; not getting the panic now. Wondering if it's the |
This reverts commit 90e007b. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
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;
|
trying to find what dependency / versions are needed to prevent a panic Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
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;
|
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
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