Comment 21 for bug 1465317

https://github.com/juju/utils/pull/244

On Mon, Oct 3, 2016 at 10:38 AM, Jay Wren <email address hidden> wrote:

> It really is:
>
> $ git diff
> diff --git a/series/series.go b/series/series.go
> index 35202ca..1ff651a 100644
> --- a/series/series.go
> +++ b/series/series.go
> @@ -80,6 +80,7 @@ func macOSXSeriesFromKernelVersion(getKernelVersion
> func() (string, error)) (str
> // macOSXSeries maps from the Darwin Kernel Major Version to the Mac OSX
> // series.
> var macOSXSeries = map[int]string{
> + 16: "sierra",
> 15: "elcapitan",
> 14: "yosemite",
> 13: "mavericks",
>
> As the comment says:
>
> // TODO(jam): 2014-05-06 https://launchpad.net/bugs/1316593
> // we should have a system file that we can read so this can be updated
> without
> // recompiling Juju. For now, this is a lot easier, and also solves the
> fact
> // that we want to populate HostSeries during init() time, before
> // we've potentially read that information from anywhere else
> // macOSXSeries maps from the Darwin Kernel Major Version to the Mac OSX
> // series.
>
>
> On Sun, Oct 2, 2016 at 6:39 PM, Michael Hudson-Doyle <
> <email address hidden>> wrote:
>
>> Oh, I know this one. Only binaries built with Go 1.7.1 work on macOS
>> sierra.
>>
>> --
>> You received this bug notification because you are subscribed to a
>> duplicate bug report (1483889).
>> https://bugs.launchpad.net/bugs/1465317
>>
>> Title:
>> Wily osx win: panic: osVersion reported an error: Could not determine
>> series
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/juju/+bug/1465317/+subscriptions
>>
>
>