;pkg: bump minimum supported GHC from 8.10.7 to 9.6 (and base 4.18)

System.IO.hGetContents' was the latest paper cut; I could keep
supporting ghc 8.10.7, or at least 9.0-9.4, released 2021-2023;
but feck it. Debian Stable has 9.6 and this time can be better spent.
This commit is contained in:
Simon Michael 2025-09-02 09:56:16 +01:00
parent bc55e1c58f
commit 80e659b51c
9 changed files with 18 additions and 10 deletions

View File

@ -17,8 +17,8 @@ jobs:
# image: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md # image: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
env: env:
stack: stack --stack-yaml=stack810.yaml stack: stack --stack-yaml=stack96.yaml
ghc: 8.10.7 ghc: 9.6.6
steps: steps:

View File

@ -4,7 +4,7 @@ license: GPL-3.0-or-later
maintainer: Simon Michael <simon@joyful.com> maintainer: Simon Michael <simon@joyful.com>
author: Simon Michael <simon@joyful.com> author: Simon Michael <simon@joyful.com>
stability: stable stability: stable
tested-with: ghc==8.10.7, ghc==9.0.2, ghc==9.2.8, ghc==9.4.8, ghc==9.6.7, ghc==9.8.4, ghc==9.10.2, ghc==9.12.2 tested-with: ghc==9.6.7, ghc==9.8.4, ghc==9.10.2, ghc==9.12.2
homepage: http://hledger.org homepage: http://hledger.org
bug-reports: http://bugs.hledger.org bug-reports: http://bugs.hledger.org
github: simonmichael/hledger github: simonmichael/hledger
@ -46,7 +46,7 @@ flags:
# manual: true # manual: true
dependencies: dependencies:
- base >=4.14 && <4.22 - base >=4.18 && <4.22
- aeson >=1 && <2.3 - aeson >=1 && <2.3
- aeson-pretty - aeson-pretty
- ansi-terminal >=0.9 - ansi-terminal >=0.9

View File

@ -4,7 +4,7 @@ license: GPL-3.0-or-later
maintainer: Simon Michael <simon@joyful.com> maintainer: Simon Michael <simon@joyful.com>
author: Simon Michael <simon@joyful.com> author: Simon Michael <simon@joyful.com>
stability: stable stability: stable
tested-with: ghc==8.10.7, ghc==9.0.2, ghc==9.2.8, ghc==9.4.8, ghc==9.6.7, ghc==9.8.4, ghc==9.10.2, ghc==9.12.2 tested-with: ghc==9.6.7, ghc==9.8.4, ghc==9.10.2, ghc==9.12.2
homepage: http://hledger.org homepage: http://hledger.org
bug-reports: http://bugs.hledger.org bug-reports: http://bugs.hledger.org
github: simonmichael/hledger github: simonmichael/hledger
@ -75,7 +75,7 @@ when:
# - ghc-debug-stub >=0.6.0.0 && <0.7 # - ghc-debug-stub >=0.6.0.0 && <0.7
dependencies: dependencies:
- base >=4.14 && <4.22 - base >=4.18 && <4.22
library: library:
source-dirs: . source-dirs: .

View File

@ -4,7 +4,7 @@ license: GPL-3.0-or-later
maintainer: Simon Michael <simon@joyful.com> maintainer: Simon Michael <simon@joyful.com>
author: Simon Michael <simon@joyful.com> author: Simon Michael <simon@joyful.com>
stability: stable stability: stable
tested-with: ghc==8.10.7, ghc==9.0.2, ghc==9.2.8, ghc==9.4.8, ghc==9.6.7, ghc==9.8.4, ghc==9.10.2, ghc==9.12.2 tested-with: ghc==9.6.7, ghc==9.8.4, ghc==9.10.2, ghc==9.12.2
homepage: http://hledger.org homepage: http://hledger.org
bug-reports: http://bugs.hledger.org bug-reports: http://bugs.hledger.org
github: simonmichael/hledger github: simonmichael/hledger
@ -94,7 +94,7 @@ when:
# - ghc-debug-stub >=0.6.0.0 && <0.7 # - ghc-debug-stub >=0.6.0.0 && <0.7
dependencies: dependencies:
- base >=4.14 && <4.22 - base >=4.18 && <4.22
library: library:
source-dirs: . source-dirs: .

View File

@ -4,7 +4,7 @@ license: GPL-3.0-or-later
maintainer: Simon Michael <simon@joyful.com> maintainer: Simon Michael <simon@joyful.com>
author: Simon Michael <simon@joyful.com> author: Simon Michael <simon@joyful.com>
stability: stable stability: stable
tested-with: ghc==8.10.7, ghc==9.0.2, ghc==9.2.8, ghc==9.4.8, ghc==9.6.7, ghc==9.8.4, ghc==9.10.2, ghc==9.12.2 tested-with: ghc==9.6.7, ghc==9.8.4, ghc==9.10.2, ghc==9.12.2
homepage: http://hledger.org homepage: http://hledger.org
bug-reports: http://bugs.hledger.org bug-reports: http://bugs.hledger.org
github: simonmichael/hledger github: simonmichael/hledger
@ -123,7 +123,7 @@ when:
# - ghc-debug-stub >=0.6.0.0 && <0.7 # - ghc-debug-stub >=0.6.0.0 && <0.7
dependencies: dependencies:
- base >=4.14 && <4.22 - base >=4.18 && <4.22
- hledger-lib >=1.43.99 && <1.44 - hledger-lib >=1.43.99 && <1.44
- aeson >=1 && <2.3 - aeson >=1 && <2.3
- ansi-terminal >=0.9 - ansi-terminal >=0.9

View File

@ -1,4 +1,6 @@
# stack build plan using GHC 8.10.7 # stack build plan using GHC 8.10.7
# Note hledger now officially requires GHC 9.6+;
# this is here as a reference in case you are trying to build with older GHC and stack.
resolver: lts-18.28 resolver: lts-18.28

View File

@ -1,4 +1,6 @@
# stack build plan using GHC 9.0.2 # stack build plan using GHC 9.0.2
# Note hledger now officially requires GHC 9.6+;
# this is here as a reference in case you are trying to build with older GHC and stack.
resolver: lts-19.33 resolver: lts-19.33

View File

@ -1,4 +1,6 @@
# stack build plan using GHC 9.2.8 # stack build plan using GHC 9.2.8
# Note hledger now officially requires GHC 9.6+;
# this is here as a reference in case you are trying to build with older GHC and stack.
resolver: lts-20.26 resolver: lts-20.26

View File

@ -1,4 +1,6 @@
# stack build plan using GHC 9.4.8 # stack build plan using GHC 9.4.8
# Note hledger now officially requires GHC 9.6+;
# this is here as a reference in case you are trying to build with older GHC and stack.
resolver: lts-21.25 resolver: lts-21.25