-
Notifications
You must be signed in to change notification settings - Fork 2k
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
update go1.21 #18184
update go1.21 #18184
Conversation
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.
LGTM
(manual cherry-pick of d9341f0) * build: update to go1.21 * go: eliminate helpers in favor of min/max * build: run go mod tidy * build: swap depguard for semgrep * command: fixup broken tls error check on go1.21
* update go1.21 (#18184) (manual cherry-pick of d9341f0) * build: update to go1.21 * go: eliminate helpers in favor of min/max * build: run go mod tidy * build: swap depguard for semgrep * command: fixup broken tls error check on go1.21 * fixup job_endpoint.go --------- Co-authored-by: Seth Hoenig <[email protected]>
* build: update to go1.21 * go: eliminate helpers in favor of min/max * build: run go mod tidy * build: swap depguard for semgrep * command: fixup broken tls error check on go1.21
…480cc924c8cf00f981e604e02c62140-to-1.5 admin: manual backport of #18184 to 1.5.x
…480cc924c8cf00f981e604e02c62140-to-1.6 admin: manual backport of #18184 to 1.6
I just want to bring some awareness to a downside of staying cutting edge here. I think it's great for the application part of Nomad, but it makes it difficult for other projects that are trying to use I don't know if there's really a way to work around this (maybe pulling API into it's own package based on a different Go API), but I figured I'd at least shed some light on it. Thanks! |
Hi @IamTheFij the |
@shoenig, so that's true per the go.mod file, but it's impossibe to build on go1.20 and results in the following error:
Something that will also make it easier would be if the |
This PR updates the build system to use go1.21. In addition,