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.
This commit is contained in:
Simon Michael 2021-04-04 07:54:22 -10:00
parent 8d7fef4f6b
commit ba1e91c302
4 changed files with 8 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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