# HG changeset patch # User Ted Unangst # Date 1723232600 14400 # Fri Aug 09 15:43:20 2024 -0400 # Node ID 7896398d062344f4e1396a6985cd11ef9e10b93f # Parent fa8e90da8a09cc83b1b3388bac2dca5b4add80c4 crypto bump means go 1.20+ is now required diff --git a/README b/README --- a/README +++ b/README @@ -24,7 +24,7 @@ ## build It should be sufficient to type make after unpacking a release. -You'll need a go compiler version 1.18 or later. And libsqlite3. +You'll need a go compiler version 1.20 or later. And libsqlite3 3.34.0+. Even on a fast machine, building from source can take several seconds. diff --git a/docs/changelog.txt b/docs/changelog.txt --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -1,5 +1,9 @@ changelog +### next + ++ Document that go 1.20+ is now required. + ### 1.4.0 Pink Peppercorn + Another tune up for thread sort. diff --git a/docs/honk.8 b/docs/honk.8 --- a/docs/honk.8 +++ b/docs/honk.8 @@ -43,7 +43,7 @@ .Ss Build Building .Nm -requires a go compiler 1.18 and libsqlite. +requires a go compiler 1.20+ and libsqlite 3.34.0+. On .Ox this is the go and sqlite3 packages. diff --git a/go.mod b/go.mod --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module humungus.tedunangst.com/r/honk -go 1.18 +go 1.20 require ( github.com/gorilla/mux v1.8.1 diff --git a/preflight.sh b/preflight.sh --- a/preflight.sh +++ b/preflight.sh @@ -1,11 +1,11 @@ set -e -go version > /dev/null 2>&1 || (echo go 1.18+ is required && false) +go version > /dev/null 2>&1 || (echo go 1.20+ is required && false) v=`go version | egrep -o "go1\.[^.]+"` || echo failed to identify go version -if [ "$v" \< "go1.18" ] ; then +if [ "$v" \< "go1.20" ] ; then echo go version is too old: $v - echo go 1.18+ is required + echo go 1.20+ is required false fi