Skip to content
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

gomod: go 1.21.3 not supported #8203

Closed
1 task done
lucacome opened this issue Oct 16, 2023 · 5 comments · Fixed by #8225
Closed
1 task done

gomod: go 1.21.3 not supported #8203

lucacome opened this issue Oct 16, 2023 · 5 comments · Fixed by #8225
Labels
T: bug 🐞 Something isn't working

Comments

@lucacome
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

Go

Package manager version

No response

Language version

1.21.3

Manifest location and content before the Dependabot update

No response

dependabot.yml content

No response

Updated dependency

No response

What you expected to see, versus what you actually saw

In my go.mod I have

go 1.21.3

and now dependabot fails to do anything with errors like

updater | 2023/10/16 06:27:05 ERROR <job_735517578> Error processing github.com/aws/aws-sdk-go-v2/config (Dependabot::DependabotError)
updater | 2023/10/16 06:27:05 ERROR <job_735517578> go: go.mod requires go >= 1.21.3 (running go 1.21.1; GOTOOLCHAIN=local)

I always assumed that dependabot would use the version specified in go.mod to run the updates, but looks like it isn't?

Maybe I'm missing something with the new go.mod versioning? Manually updating the go patch version every time a new version comes out is already getting old...

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

No response

Smallest manifest that reproduces the issue

No response

@jakecoffman
Copy link
Member

Should be fixed now!

@lucacome
Copy link
Author

yep it's working now, thanks @jakecoffman !

@case-fastly
Copy link

Hi @jakecoffman, I'm wondering if you could share what the fix here was?

I'm seeing this for 1.21.4 currently:

go: go.mod requires go >= 1.21.4 (running go 1.21.3; GOTOOLCHAIN=local)

…it seems to be happening with each new Go release.

@deivid-rodriguez
Copy link
Contributor

deivid-rodriguez commented Nov 10, 2023

My understanding is that #8225 was not a permanent fix. It just made it so that quickly after each go release, we'll get a Dependabot PR to bump the version that Dependabot uses, and as soon as that PR lands, Dependabot is able to handle the new go release.

In this case, we should be getting a PR bumping go to 1.21.4 next Monday, and once that's merged it will be all good.

@jakecoffman
Copy link
Member

Go was bumped in #8374 so it should be good now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants