-
Notifications
You must be signed in to change notification settings - Fork 1k
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: Bumping a dependency that sets "go 1.21" in their go.mod sets "toolchain 1.21" in mine #7868
Comments
Thanks for reporting this, looks like we need to set |
@antifuchs should be working now if you want to give that PR a |
OK, that looks far more reasonable! Confirmed that it's the expected result, thank you (: |
I'm seeing this go 1.21.5
+toolchain go1.22.1 I can open a separate issue if preferred, but was trying to avoid duplicates |
I created a PR about toolchain removal #9422 |
To fix errors that were seen after updating, also drop an unnecessary `toolchain` directive: apparently `dependabot` is still adding this directive (despite the issue[1] being closed) Link: dependabot/dependabot-core#7868 [1]
Is there an existing issue for this?
Package ecosystem
gomod
Package manager version
1.20
Language version
1.20
Manifest location and content before the Dependabot update
go.mod. Link to original module file: https://github.com/boinkor-net/tsnsrv/blob/469a5104d7914816d185fec37a031cc47b67f032/go.mod
dependabot.yml content
https://github.com/boinkor-net/tsnsrv/blob/469a5104d7914816d185fec37a031cc47b67f032/.github/dependabot.yml
Updated dependency
"tailscale" from v1.46.1 to v1.48.1
What you expected to see, versus what you actually saw
I was expecting this PR to only contain the version bump; however, it also added this line: https://github.com/boinkor-net/tsnsrv/pull/25/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R4
in diff form:
note the "toolchain" line that directly contradicts the
go
line above it. Go 1.20 does not understand the "toolchain" keyword, and so the resulting PR build fails.(aside, yep, apparently it's fine to link the tailscale library into a go 1.20 library, but yeah, I should upgrade that version as soon as my toolchain supports it.)
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
Find the PR at boinkor-net/tsnsrv#25
Smallest manifest that reproduces the issue
No response
The text was updated successfully, but these errors were encountered: