PSA: main repo moved to Go 1.7

Hear ye, hear ye!

As part of my ongoing quest to periodically break your build
environment, I’ve landed
https://github.com/cockroachdb/cockroach/pull/8262 which changes the
go version check to require 1.7 (it will accept any version string
starting with “1.7”).

Though Go 1.7 is still in release candidate, we have been seeing many
test failures due to https://github.com/golang/go/issues/14539, which
was fixed in the 1.7 cycle. To keep our CI running smoothly, we are
doing this upgrade early.

The current Go 1.7 release candidate is available in the usual places
(except homebrew on OS X).

Note that as with all Go version upgrades, it may be necessary to rebuild Go binaries that are used by our build tools. These typically reside in $GOPATH/bin and can be rebuilt using glock by running glock sync -n < GLOCKFILE in the cockroach repo root after rebasing to pick up the 1.7 upgrade.

Until next time.

1 Like