-
Notifications
You must be signed in to change notification settings - Fork 211
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
[Merged by Bors] - Require golang >= 1.15 #2452
Conversation
@lrettig any reason not to go for 1.16? |
In general, we want to support older versions, as long as we don't use features from the newer version. This is not to say that you can't use newer versions, or that we shouldn't support those, too. That's why #2475 is a good idea. |
I don't understand why, to be honest. It is not like it is hard to update golang locally. And there are always improvements/fixes under the hood, even if those are not new APIs. For instance, this is a very useful change for monitoring (among other changes in runtime):
|
@dshulyak the improvement you mention really seems useful and we should therefore upgrade to Go 1.16 in our testnet infra, but it doesn't depend on us requiring it... If the code works on 1.15, that should be the minimum. While we don't see that many contributions from the community, we're still an open source project and we don't want to force developers to upgrade their Go for no reason, other than "a newer version exists". |
bors merge
|
## Motivation Golang 1.15 has some [nice features](https://golang.org/doc/go1.15) such as `testing.TempDir`. ## Changes This PR updates CI and scripts to require go >= 1.15. ## Test Plan N/A ## TODO <!-- This section should be removed when all items are complete --> - [x] Explain motivation or link existing issue(s) - [ ] Test changes and document test plan - [x] Update documentation as needed ## DevOps Notes <!-- Please uncheck these items as applicable to make DevOps aware of changes that may affect releases --> - [x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources) - [x] This PR does not affect public APIs - [x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.) - [x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)
Pull request successfully merged into develop. Build succeeded: |
Motivation
Golang 1.15 has some nice features such as
testing.TempDir
.Changes
This PR updates CI and scripts to require go >= 1.15.
Test Plan
N/A
TODO
DevOps Notes