-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
go1.21: go.mod:3: invalid go version '1.21.0': must match format 1.23 #129
Comments
/cc @incu6us |
@ialidzhikov try to use v3.4.4. And reopen the issue in case of a problem |
I see that v3.4.4 includes #133. which only bumps the go version for the project. The issue report is about the cases when you run
Let me know if you need more detailed steps to reproduce.
When a maintainer closes an issue, the reporter cannot open it. Can you please reopen it? |
As I see in the official documentation(https://go.dev/doc/modules/gomod-ref#module-syntax) the version must have format like Mentioned error message telling you that you are using wrong format( |
See https://go.dev/doc/toolchain#version:
You can also check all the comments in golang/go#62278. My understanding is that with go1.21 the expect format is |
Thank you @incu6us ! [email protected] resolves the issue. |
from v3.4.1 to v3.4.5 [email protected] contains a fix for incu6us/goimports-reviser#129.
from v3.4.1 to v3.4.5 [email protected] contains a fix for incu6us/goimports-reviser#129.
from v3.4.1 to v3.4.5 [email protected] contains a fix for incu6us/goimports-reviser#129.
from v3.4.1 to v3.4.5 [email protected] contains a fix for incu6us/goimports-reviser#129.
* Use `1.21.0` instead of `1.21` as module version * Update goimports-reviser from v3.4.1 to v3.4.5 [email protected] contains a fix for incu6us/goimports-reviser#129.
from v3.4.1 to v3.4.5 [email protected] contains a fix for incu6us/goimports-reviser#129.
from v3.4.1 to v3.4.5 [email protected] contains a fix for incu6us/goimports-reviser#129.
from v3.4.1 to v3.4.5 [email protected] contains a fix for incu6us/goimports-reviser#129.
from v3.4.1 to v3.4.5 [email protected] contains a fix for incu6us/goimports-reviser#129. Co-authored-by: ialidzhikov <[email protected]>
from v3.4.1 to v3.4.5 [email protected] contains a fix for incu6us/goimports-reviser#129.
from v3.4.1 to v3.4.5 [email protected] contains a fix for incu6us/goimports-reviser#129.
I'm also having this issue, but I regenerated a go.mod file via |
@2048Nemo update the tool to the latest version |
With go1.21 the module version has to be in format
X.Y.Z
. See golang/go#62278 and dependabot/dependabot-core#7895.Trying to use 1.21.0 as module version
fails with:
The text was updated successfully, but these errors were encountered: