Skip to content

Commit e0f6322

Browse files
Drop support for GHC < 9.4
1 parent 5ace674 commit e0f6322

File tree

4 files changed

+8
-17
lines changed

4 files changed

+8
-17
lines changed

.github/workflows/ci.yml

+6-15
Original file line numberDiff line numberDiff line change
@@ -57,25 +57,15 @@ jobs:
5757
strategy:
5858
matrix:
5959
ghc_version:
60-
- '8.10'
61-
- '9.0'
6260
- '9.4'
6361
- '9.6'
6462
- '9.8'
6563
persistent_version:
66-
- '2.13'
6764
- '2.14'
6865
include:
69-
- ghc_version: '8.10.1'
70-
persistent_version: '2.13'
66+
- ghc_version: '9.4.4'
67+
persistent_version: '2.14'
7168
oldest: true
72-
exclude:
73-
- ghc_version: '9.4'
74-
persistent_version: '2.13'
75-
- ghc_version: '9.6'
76-
persistent_version: '2.13'
77-
- ghc_version: '9.8'
78-
persistent_version: '2.13'
7969

8070
name: compat_test (ghc-${{ matrix.ghc_version }}, persistent-${{ matrix.persistent_version }})
8171
runs-on: ubuntu-latest
@@ -97,17 +87,18 @@ jobs:
9787
--test-options='--color=always'
9888
--test-show-details=streaming
9989
--constraint='persistent ^>= ${{ matrix.persistent_version }}'
100-
--constraint='persistent < 2.13.3.4 || >= 2.14.0.2'
90+
--constraint='persistent >= 2.14.0.2'
10191
-
10292
if: ${{ matrix.oldest }}
10393
name: Use oldest dependencies
10494
run:
10595
cabal configure
10696
--enable-append --prefer-oldest
107-
--constraint 'conduit >= 1.3.1'
97+
--constraint 'array installed'
98+
--constraint 'time installed'
99+
--constraint 'persistent-sqlite > 2.13.0.3'
108100
--constraint 'silently >= 0.0.3'
109101
--constraint 'string-conversions >= 0.4'
110-
--constraint 'unix-time >= 0.3.8'
111102
-
112103
name: Get build plan
113104
run: cabal build --dry-run

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Unreleased
22

33
* Add GHC 9.8 support
4+
* Drop support for GHC < 9.4
45

56
# v0.5.0.1
67

package.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ library:
3737
when:
3838
# https://gitlab.haskell.org/ghc/ghc/-/issues/20836
3939
- condition: >
40-
impl(ghc >= 9.2.0) && impl(ghc < 9.3) ||
4140
impl(ghc >= 9.4.0) && impl(ghc < 9.4.3)
4241
buildable: false
4342

persistent-mtl.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ library
5959
, unliftio-core <0.3
6060
, unliftio-pool <1
6161
default-language: Haskell2010
62-
if impl(ghc >= 9.2.0) && impl(ghc < 9.3) || impl(ghc >= 9.4.0) && impl(ghc < 9.4.3)
62+
if impl(ghc >= 9.4.0) && impl(ghc < 9.4.3)
6363

6464
buildable: False
6565

0 commit comments

Comments
 (0)