You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bump minimum Go version to 1.20 and update Go dependencies (#3159)
### Issues:
Addresses
* #2856
### Description of changes:
The minimum Go version was pinned at 1.17, which forced
`golang.org/x/crypto` to stay at v0.14.0 (the last version supporting Go
1.17). This bumps the minimum to Go 1.20 and updates the Go dependencies
to current versions:
- `golang.org/x/crypto` v0.14.0 → v0.31.0
- `golang.org/x/sys` v0.13.0 → v0.28.0
- `golang.org/x/term` v0.13.0 → v0.27.0
The minimum version is updated consistently across `go.mod`,
`BUILDING.md`, and `cmake/go.cmake`. The Go compatibility CI job is also
updated to test against 1.20 instead of 1.17.13.
### Call-outs:
Dependabot opened #2856 which bumps `golang.org/x/crypto` to v0.45.0,
requiring Go 1.24. This is a more conservative alternative that raises
the floor to 1.20 — enough to unpin the `golang.org/x` dependencies
without requiring a very recent Go toolchain.
### Testing:
Existing CI covers this. The `go.yml` workflow has been updated to test
against the new minimum version.
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and the ISC license.
0 commit comments