You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go mod download -json github.com/go-delve/delve@latest
shows a Dir that contains vendor/modules.txt.
None of the other vendor files are present, just modules.txt.
This is probably a bug: we intended for modules to contain
no vendored info at all, but we had to leave files in the root
alone because they might be for a package or command
named vendor (only subdirectories are trimmed).
We should probably update the logic to trim modules.txt
as well, but only when the go.mod has a new enough Go version.
Now that go1.23 has been released, versions of Go older than go1.22 are
no longer supported.
This will allow us to use the go/version package, which was introduced
in Go 1.22.
This change will force modules that depend on golang.org/x/mod, notably
golang.org/x/tools, to update their Go version requirement to at least
go1.22 when they update their requirement on golang.org/x/mod to a
version after this commit.
For golang/go#63395
Change-Id: I6f6b5bb9e43b5f9945cc5bc8c398628436d2e739
Reviewed-on: https://go-review.googlesource.com/c/mod/+/605796
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
go mod download -json github.com/go-delve/delve@latest
shows a Dir that contains vendor/modules.txt.
None of the other vendor files are present, just modules.txt.
This is probably a bug: we intended for modules to contain
no vendored info at all, but we had to leave files in the root
alone because they might be for a package or command
named vendor (only subdirectories are trimmed).
We should probably update the logic to trim modules.txt
as well, but only when the go.mod has a new enough Go version.
/cc @bcmills
The text was updated successfully, but these errors were encountered: