-
Notifications
You must be signed in to change notification settings - Fork 1.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
Build: set 1.17 as minimum supported Go version #3461
Conversation
Currently I'm not aware of if the build is still possible with something lower than Can you please rebase the history of your PR to split the changes of |
I was able to build micro with a go version as old as [email protected] (linux/amd64). If I go down to [email protected] the build starts failing due to Of course "happens to work on this version" does not necessarily mean the same thing as minimum supported version. |
So it didn't match this minimum go version requirement either. PS: @dmaluka |
It so happens that I've been building micro with 1.17 on my primary machine all this time, so I can confirm that 1.17 actually works for us. So, do we have any actual reason to require 1.19 as the minimum version? If not, I'd suggest we stick to 1.17 for now. Why unnecessarily complicate lives of users who want to build micro with an older version of Go?
In fact even that turns out to be not exactly non-controversial. There has just been a report of an unfortunate regression we introduced in 2.0.14: #3463 |
Currently, only Go 1.22 and 1.23 is supported according to the release policy. So, even Go 1.19 is deprecated.
Done. |
4751343
to
ece90c6
Compare
That is Go release policy, not our release policy. Thanks for the note though, it seems a good idea to bump up Go from 1.19 to 1.22 or newer in our build infra. Which doesn't mean that we should prevent users from building micro on their own with an older Go version if they want to. |
Ok, I've no problem with that either. So we bump
...do so. |
And also update this sentence in README.md: "Make sure that you have Go version 1.16 or greater and Go modules are enabled." |
ece90c6
to
30254a5
Compare
30254a5
to
271a2cc
Compare
271a2cc
to
c6615f5
Compare
The PR sets Go version in the
go.mod
to 1.17 and rungo mod tidy
.Also, adds Go 1.23 to CI.