imp: pkg: drop support for GHC 8.6 and 8.8

Slightly motivated by a desire to depend on the new breakpoint
library, which requires GHC 8.10+. With GHC 9.0 in Debian,
it seems time to drop these.
This commit is contained in:
Simon Michael 2022-08-23 00:16:47 +01:00
parent 6b4f145c46
commit 6a4680d561
8 changed files with 9 additions and 118 deletions

View File

@ -18,8 +18,6 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
plan: plan:
# - { ghc: "86" , stack: "stack --stack-yaml=stack8.6.yaml" }
# - { ghc: "88" , stack: "stack --stack-yaml=stack8.8.yaml" }
# - { ghc: "810" , stack: "stack --stack-yaml=stack8.10.yaml" } # - { ghc: "810" , stack: "stack --stack-yaml=stack8.10.yaml" }
# XXX func tests in bin should be run only with GHC 8.10 for now (see shelltest below) (?) # XXX func tests in bin should be run only with GHC 8.10 for now (see shelltest below) (?)
# - { ghc: "90" , stack: "stack --stack-yaml=stack9.0.yaml" } # - { ghc: "90" , stack: "stack --stack-yaml=stack9.0.yaml" }

View File

@ -56,9 +56,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
plan: # at least the check(s) required by master should be enabled plan: # at least the check(s) required by master should be enabled
- { ghc: "86" , stack: "stack --stack-yaml=stack8.6.yaml" } # oldest supported ghc - { ghc: "810", stack: "stack --stack-yaml=stack8.10.yaml" } # oldest supported ghc
# - { ghc: "88" , stack: "stack --stack-yaml=stack8.8.yaml" }
# - { ghc: "810", stack: "stack --stack-yaml=stack8.10.yaml" }
# - { ghc: "90" , stack: "stack --stack-yaml=stack.yaml" } # - { ghc: "90" , stack: "stack --stack-yaml=stack.yaml" }
# - { ghc: "92" , stack: "stack --stack-yaml=stack9.2.yaml" } # newest supported ghc # - { ghc: "92" , stack: "stack --stack-yaml=stack9.2.yaml" } # newest supported ghc

View File

@ -21,7 +21,7 @@ github: simonmichael/hledger
homepage: http://hledger.org homepage: http://hledger.org
bug-reports: http://bugs.hledger.org bug-reports: http://bugs.hledger.org
stability: stable stability: stable
tested-with: GHC==8.6.5, GHC==8.8.4, GHC==8.10.4, GHC==9.0.1 tested-with: GHC==8.10.7, GHC==9.0.2, GHC==9.2.4
extra-source-files: extra-source-files:
- CHANGES.md - CHANGES.md
@ -32,7 +32,7 @@ extra-source-files:
#data-files: #data-files:
dependencies: dependencies:
- base >=4.11 && <4.17 - base >=4.14 && <4.17
- aeson >=1 - aeson >=1
- aeson-pretty - aeson-pretty
- ansi-terminal >=0.9 - ansi-terminal >=0.9

View File

@ -21,7 +21,7 @@ github : simonmichael/hledger
homepage : http://hledger.org homepage : http://hledger.org
bug-reports : http://bugs.hledger.org bug-reports : http://bugs.hledger.org
stability : stable stability : stable
tested-with: GHC==8.6.5, GHC==8.8.4, GHC==8.10.4, GHC==9.0.1 tested-with: GHC==8.10.7, GHC==9.0.2, GHC==9.2.4
extra-source-files: extra-source-files:
- CHANGES.md - CHANGES.md
@ -50,11 +50,11 @@ ghc-options:
- -Wno-unused-do-bind - -Wno-unused-do-bind
dependencies: dependencies:
- base >=4.14 && <4.17
- hledger-lib >=1.26.99 && <1.27 - hledger-lib >=1.26.99 && <1.27
- hledger >=1.26.99 && <1.27 - hledger >=1.26.99 && <1.27
- ansi-terminal >=0.9 - ansi-terminal >=0.9
- async - async
- base >=4.11 && <4.17
- cmdargs >=0.8 - cmdargs >=0.8
- containers >=0.5.9 - containers >=0.5.9
- data-default - data-default

View File

@ -22,7 +22,7 @@ github: simonmichael/hledger
homepage: http://hledger.org homepage: http://hledger.org
bug-reports: http://bugs.hledger.org bug-reports: http://bugs.hledger.org
stability: stable stability: stable
tested-with: GHC==8.8.4, GHC==8.10.4, GHC==9.0.1 tested-with: GHC==8.10.7, GHC==9.0.2, GHC==9.2.4
extra-source-files: extra-source-files:
- CHANGES.md - CHANGES.md
@ -99,10 +99,10 @@ library:
- Hledger.Web.Widget.AddForm - Hledger.Web.Widget.AddForm
- Hledger.Web.Widget.Common - Hledger.Web.Widget.Common
dependencies: dependencies:
- base >=4.14 && <4.17
- hledger-lib >=1.26.99 && <1.27 - hledger-lib >=1.26.99 && <1.27
- hledger >=1.26.99 && <1.27 - hledger >=1.26.99 && <1.27
- aeson >=1 - aeson >=1
- base >=4.11 && <4.17
- base64 - base64
- blaze-html - blaze-html
- blaze-markup - blaze-markup

View File

@ -21,7 +21,7 @@ github: simonmichael/hledger
homepage: http://hledger.org homepage: http://hledger.org
bug-reports: http://bugs.hledger.org bug-reports: http://bugs.hledger.org
stability: stable stability: stable
tested-with: GHC==8.6.5, GHC==8.8.4, GHC==8.10.4, GHC==9.0.1 tested-with: GHC==8.10.7, GHC==9.0.2, GHC==9.2.4
extra-source-files: extra-source-files:
- CHANGES.md - CHANGES.md
@ -97,10 +97,10 @@ ghc-options:
- -optP-Wno-nonportable-include-path - -optP-Wno-nonportable-include-path
dependencies: dependencies:
- base >=4.14 && <4.17
- hledger-lib >=1.26.99 && <1.27 - hledger-lib >=1.26.99 && <1.27
- aeson >=1 - aeson >=1
- ansi-terminal >=0.9 - ansi-terminal >=0.9
- base >=4.11 && <4.17
- bytestring - bytestring
- cmdargs >=0.10 - cmdargs >=0.10
- containers >=0.5.9 - containers >=0.5.9

View File

@ -1,57 +0,0 @@
# stack build plan using GHC 8.6.5
nix:
pure: false
packages: [perl gmp ncurses zlib]
resolver: lts-14.27
packages:
- hledger-lib
- hledger
- hledger-ui
- hledger-web
extra-deps:
# for Shake.hs (regex doesn't support base-compat-0.11):
- regex-1.0.2.0@rev:1
- doclayout-0.3.1.1
- emojis-0.1.2
# for testing base-compat 0.11 compatibility (mutually exclusive with the above):
# - aeson-1.4.6.0
# - aeson-compat-0.3.9
# - attoparsec-iso8601-1.0.1.0
# - base-compat-batteries-0.11.0
# - base-compat-0.11.0
# - http-api-data-0.4.1.1
# for hledger-lib:
- pretty-simple-4.0.0.0
- prettyprinter-1.7.0
- prettyprinter-ansi-terminal-1.1.2
- doctest-0.18.1
- safe-0.3.19
# for hledger:
- githash-0.1.6.2
- th-compat-0.1.4
# for hledger-ui:
- brick-1.0
- bimap-0.5.0
- text-zipper-0.12
- vty-5.36
- ansi-terminal-0.10.3
# for hledger-web:
- ghc-byteorder-4.11.0.0.10
- base64-0.4.2.3
# Workaround for https://github.com/commercialhaskell/stack/issues/3922
# Try dropping this.. after stack 2 has been out a while ? Or now ? How about now ?
#- haskell-src-exts-1.21.0
# Use at least 0.46 to work around https://github.com/simonmichael/hledger/issues/1039
# (hledger-web build failure with GHC 8.6 on Windows 7)
# Might also be fixed by using GHC 8.6.5+, mixed reports
#- unix-time-0.4.6
- wai-handler-launch-3.0.3.1
# - streaming-commons-0.2.1.2
# - network-2.7.0.0

View File

@ -1,48 +0,0 @@
# stack build plan using GHC 8.8.4
nix:
pure: false
packages: [perl gmp ncurses zlib]
resolver: lts-16.31
packages:
- hledger-lib
- hledger
- hledger-ui
- hledger-web
extra-deps:
# for hledger-lib:
- pretty-simple-4.0.0.0
- prettyprinter-1.7.0
- doctest-0.18.1
- doclayout-0.3.1.1
- emojis-0.1.2
# for hledger:
- githash-0.1.6.2
- th-compat-0.1.4
# for hledger-ui:
- brick-1.0
- bimap-0.5.0
- text-zipper-0.12
- vty-5.36
# for hledger-web:
- ghc-byteorder-4.11.0.0.10
# for Shake.hs:
# for precise profiling, per https://www.tweag.io/posts/2020-01-30-haskell-profiling.html:
# apply-ghc-options: everything
# rebuild-ghc-options: true
# stack build --profile --ghc-options="-fno-prof-auto"
# tell GHC to write hie files, eg for weeder. Rumoured to be slow.
# ghc-options:
# "$locals": -fwrite-ide-info
# ghc-options:
# "$locals": -ddump-timings
# "$targets": -Werror
# "$everything": -O2
# some-package: -DSOME_CPP_FLAG