Skip to content

Commit 9e417fa

Browse files
authored
Disallow GHC <8.0 for Cabal{,-syntax} & cabal-install-solver (#8794)
* Disallow GHC <8.0 closes #8715 * Add changelog entry
1 parent e48386c commit 9e417fa

File tree

6 files changed

+15
-5
lines changed

6 files changed

+15
-5
lines changed

Cabal-syntax/Cabal-syntax.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ library
2929

3030
build-depends:
3131
array >= 0.4.0.1 && < 0.6,
32-
base >= 4.6 && < 5,
32+
base >= 4.9 && < 5,
3333
binary >= 0.7 && < 0.9,
3434
bytestring >= 0.10.0.0 && < 0.12,
3535
containers >= 0.5.0.0 && < 0.7,

Cabal-tests/Cabal-tests.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ test-suite unit-tests
5151
build-depends:
5252
array
5353
, async >=2.2.2 && <2.3
54-
, base >=0 && <5
54+
, base >=4.9 && <5
5555
, binary
5656
, bytestring
5757
, Cabal

Cabal/Cabal.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ library
3636
build-depends:
3737
Cabal-syntax ^>= 3.9,
3838
array >= 0.4.0.1 && < 0.6,
39-
base >= 4.6 && < 5,
39+
base >= 4.9 && < 5,
4040
bytestring >= 0.10.0.0 && < 0.12,
4141
containers >= 0.5.0.0 && < 0.7,
4242
deepseq >= 1.3.0.1 && < 1.5,

cabal-install-solver/cabal-install-solver.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ library
121121

122122
if flag(debug-conflict-sets)
123123
cpp-options: -DDEBUG_CONFLICT_SETS
124-
build-depends: base >=4.8
124+
build-depends: base >=4.9
125125

126126
if flag(debug-tracetree)
127127
cpp-options: -DDEBUG_TRACETREE

cabal-testsuite/cabal-testsuite.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ common shared
2626
default-language: Haskell2010
2727

2828
build-depends:
29-
, base >= 4.6 && <4.18
29+
, base >= 4.9 && <4.18
3030
-- this needs to match the in-tree lib:Cabal version
3131
, Cabal ^>= 3.9.0.0
3232
, Cabal-syntax ^>= 3.9.0.0

changelog.d/pr-8794

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
synopsis: Disallow GHC <8.0 for
2+
packages: Cabal Cabal-syntax cabal-install-solver
3+
prs: #8794
4+
issues: #8715 #7531
5+
6+
description: {
7+
8+
Disallow GHC <8.0 by restricting the version of base that can be used to at least 4.9
9+
10+
}

0 commit comments

Comments
 (0)