File tree Expand file tree Collapse file tree 5 files changed +35
-6
lines changed Expand file tree Collapse file tree 5 files changed +35
-6
lines changed Original file line number Diff line number Diff line change @@ -284,6 +284,7 @@ jobs:
284
284
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
285
285
cat >> cabal.project <<EOF
286
286
constraints: base-compat >= 0.12.2
287
+ allow-newer: bytestring
287
288
EOF
288
289
if $HEADHACKAGE; then
289
290
echo "allow-newer: $($HCPKG list --simple-output | sed -E 's/([a-zA-Z-]+)-[0-9.]+/*:\1,/g')" >> cabal.project
@@ -340,6 +341,11 @@ jobs:
340
341
- name : prepare for constraint sets
341
342
run : |
342
343
rm -f cabal.project.local
344
+ - name : constraint set bytestring-0.12
345
+ run : |
346
+ if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='bytestring >= 0.12' --dependencies-only -j2 all ; fi
347
+ if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='bytestring >= 0.12' all ; fi
348
+ if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then $CABAL v2-test $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='bytestring >= 0.12' all ; fi
343
349
- name : constraint set no-lukko
344
350
run : |
345
351
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='hackage-security -lukko' --dependencies-only -j2 all ; fi
Original file line number Diff line number Diff line change @@ -15,7 +15,30 @@ haddock: >= 8.6
15
15
raw-project
16
16
constraints:
17
17
base-compat >= 0.12.2
18
+ --
19
+ -- The following is meant to be for constraint-set bytestring-0.12 only,
20
+ -- but there is currently no way to enable `allow-newer: bytestring`
21
+ -- just for the constraint set.
22
+ --
23
+ -- Since core library `bytestring` is constrained to `installed`,
24
+ -- it is not harmful to allow newer `bytestring` in the default runs
25
+ -- as well---it will have no effect there.
26
+ --
27
+ allow-newer: bytestring
18
28
19
29
constraint-set no-lukko
20
30
ghc: >=8.2
21
31
constraints: hackage-security -lukko
32
+
33
+ constraint-set bytestring-0.12
34
+ -- bytestring-0.12 requires base >=4.9 (GHC 8.0)
35
+ ghc: >= 8.0
36
+ constraints: bytestring >= 0.12
37
+ --
38
+ -- The following is silently ignored here:
39
+ --
40
+ -- raw-project
41
+ -- allow-newer: bytestring
42
+ --
43
+ tests: True
44
+ run-tests: True
Original file line number Diff line number Diff line change 1
1
cabal-version : 1.12
2
2
name : hackage-repo-tool
3
3
version : 0.1.1.3
4
- x-revision : 2
4
+ x-revision : 3
5
5
6
6
build-type : Simple
7
7
synopsis : Manage secure file-based package repositories
@@ -72,7 +72,7 @@ executable hackage-repo-tool
72
72
-- For boot libraries we try to accomodate the versions bundled with
73
73
-- the respective GHC release
74
74
build-depends : base >= 4.5 && < 4.19 ,
75
- bytestring >= 0.9 && < 0.12 ,
75
+ bytestring >= 0.9 && < 0.13 ,
76
76
directory >= 1.1 && < 1.4 ,
77
77
filepath >= 1.3 && < 1.5 ,
78
78
time >= 1.4 && < 1.13
Original file line number Diff line number Diff line change 1
1
cabal-version : 1.12
2
2
name : hackage-security-HTTP
3
3
version : 0.1.1.1
4
- x-revision : 5
4
+ x-revision : 6
5
5
synopsis : Hackage security bindings against the HTTP library
6
6
description : The hackage security library provides a 'HttpLib'
7
7
abstraction to allow to bind against different HTTP
@@ -47,7 +47,7 @@ flag use-network-uri
47
47
library
48
48
exposed-modules : Hackage.Security.Client.Repository.HttpLib.HTTP
49
49
build-depends : base >= 4.5 && < 4.19 ,
50
- bytestring >= 0.9 && < 0.12 ,
50
+ bytestring >= 0.9 && < 0.13 ,
51
51
HTTP >= 4000.2.19 && < 4000.5 ,
52
52
mtl >= 2.1 && < 2.4 ,
53
53
zlib >= 0.5 && < 0.7 ,
Original file line number Diff line number Diff line change 1
1
cabal-version : 1.12
2
2
name : hackage-security
3
3
version : 0.6.2.3
4
- x-revision : 4
4
+ x-revision : 5
5
5
6
6
synopsis : Hackage security library
7
7
description : The hackage security library provides both server and
@@ -132,7 +132,7 @@ library
132
132
build-depends : base >= 4.5 && < 4.19 ,
133
133
base16-bytestring >= 0.1.1 && < 1.1 ,
134
134
base64-bytestring >= 1.0 && < 1.3 ,
135
- bytestring >= 0.9 && < 0.12 ,
135
+ bytestring >= 0.9 && < 0.13 ,
136
136
containers >= 0.4 && < 0.7 ,
137
137
ed25519 >= 0.0 && < 0.1 ,
138
138
filepath >= 1.2 && < 1.5 ,
You can’t perform that action at this time.
0 commit comments