From ba1e91c3021c7cc25a7b2dd8c7690e1a2e771a1e Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 4 Apr 2021 07:54:22 -1000 Subject: [PATCH] drop support for GHC 8.0 Prior to this commit, - hledger still builds with GHC 8.0 - hledger-ui does if you use the build plan specified by stack8.0.yaml, but you are likely to hit problems if you let cabal pick one (https://github.com/jtdaugherty/vty/issues/198 and others) - hledger-web might, if you could find the right build plan The hassles are enough and GHC 8.0 is old enough (first released in 2016) that I'm letting it go; 8.2 is the new minimum version for all hledger packages. This allows a bunch of cleanups to conditional imports, which I leave for later. Also, updated the tested-with minor versions. --- hledger-lib/package.yaml | 4 ++-- hledger-ui/package.yaml | 4 ++-- hledger-web/package.yaml | 6 ++---- hledger/package.yaml | 4 ++-- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/hledger-lib/package.yaml b/hledger-lib/package.yaml index ae3805508..74e2675dd 100644 --- a/hledger-lib/package.yaml +++ b/hledger-lib/package.yaml @@ -21,7 +21,7 @@ github: simonmichael/hledger homepage: http://hledger.org bug-reports: http://bugs.hledger.org stability: stable -tested-with: GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.3, GHC==8.10.0.20200123 +tested-with: GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.4, GHC==8.10.4 extra-source-files: - CHANGES.md @@ -32,7 +32,7 @@ extra-source-files: #data-files: dependencies: -- base >=4.9 && <4.16 +- base >=4.10.1.0 && <4.16 - base-compat-batteries >=0.10.1 && <0.12 - aeson >=1 - aeson-pretty diff --git a/hledger-ui/package.yaml b/hledger-ui/package.yaml index e871a24f8..c9d2f72d4 100644 --- a/hledger-ui/package.yaml +++ b/hledger-ui/package.yaml @@ -21,7 +21,7 @@ github : simonmichael/hledger homepage : http://hledger.org bug-reports : http://bugs.hledger.org stability : stable -tested-with: GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.3, GHC==8.10.0.20200123 +tested-with: GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.4, GHC==8.10.4 extra-source-files: - CHANGES.md @@ -45,7 +45,7 @@ dependencies: - hledger >=1.21.99 && <1.22 - ansi-terminal >=0.9 - async -- base >=4.9 && <4.16 +- base >=4.10.1.0 && <4.16 - base-compat-batteries >=0.10.1 && <0.12 - cmdargs >=0.8 - containers >=0.5.9 diff --git a/hledger-web/package.yaml b/hledger-web/package.yaml index 21c4125c0..d878f4c42 100644 --- a/hledger-web/package.yaml +++ b/hledger-web/package.yaml @@ -22,9 +22,7 @@ github: simonmichael/hledger homepage: http://hledger.org bug-reports: http://bugs.hledger.org stability: stable -tested-with: GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.3, GHC==8.10.0.20200123 -# hledger-web is still GHC 8.0.2 compatible, but I haven't found an -# install plan where all deps build +tested-with: GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.4, GHC==8.10.4 extra-source-files: - CHANGES.md @@ -104,7 +102,7 @@ library: - hledger-lib >=1.21.99 && <1.22 - hledger >=1.21.99 && <1.22 - aeson >=1 - - base >=4.9 && <4.16 + - base >=4.10.1.0 && <4.16 - blaze-html - blaze-markup - bytestring diff --git a/hledger/package.yaml b/hledger/package.yaml index 21c36b414..c989d3586 100644 --- a/hledger/package.yaml +++ b/hledger/package.yaml @@ -21,7 +21,7 @@ github: simonmichael/hledger homepage: http://hledger.org bug-reports: http://bugs.hledger.org stability: stable -tested-with: GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.3, GHC==8.10.0.20200123 +tested-with: GHC==8.2.2, GHC==8.4.4, GHC==8.6.5, GHC==8.8.4, GHC==8.10.4 extra-source-files: - CHANGES.md @@ -98,7 +98,7 @@ dependencies: - hledger-lib >=1.21.99 && <1.22 - aeson >=1 - ansi-terminal >=0.9 -- base >=4.9 && <4.16 +- base >=4.10.1.0 && <4.16 - base-compat-batteries >=0.10.1 && <0.12 - bytestring - cmdargs >=0.10