Skip to content

Commit 90c3e18

Browse files
committed
Fix commercialhaskell#6572 Bump Stack to GHC 9.6.5/lts-22.21
1 parent ecb9615 commit 90c3e18

File tree

135 files changed

+277
-313
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+277
-313
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"build": {
44
"dockerfile": "GHC.Dockerfile",
55
"args": {
6-
"GHC_VERSION": "9.6.4",
6+
"GHC_VERSION": "9.6.5",
77
"HLS_VERSION": "2.7.0.0",
88
"USE_ZSH_FOR_ROOT": "unset-to-use-ash",
99
"SET_LANG": "C.UTF-8",

.github/workflows/integration-tests.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ on:
1616
env:
1717
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1818

19-
# As of 1 February 2024, ubuntu-latest, windows-latest and macos-latest come
20-
# with Stack 2.13.1 and GHC 9.8.1. windows-latest comes with NSIS 3.08, for
21-
# which the default value of the 'Unicode' installer attribute is 'true'.
22-
# However, that is not the 'large strings' build of NSIS and creates installers
23-
# that corrupt the PATH environment variable if the default string length of
24-
# 1024 characters is exceeded.
19+
# As of 6 May 2024, ubuntu-latest and windows-latest come with Stack 2.15.5 and
20+
# GHC 9.8.2. However, macos-13 and macos-latest do not come with Haskell tools.
21+
# windows-latest comes with NSIS 3.08, for which the default value of the
22+
# 'Unicode' installer attribute is 'true'. However, that is not the 'large
23+
# strings' build of NSIS and creates installers that corrupt the PATH
24+
# environment variable if the default string length of 1024 characters is
25+
# exceeded.
2526

2627
jobs:
2728
integration-tests:
@@ -37,7 +38,7 @@ jobs:
3738
- os: windows-latest
3839
release-args: ""
3940
cache-bust: "2024-01-20"
40-
- os: macos-12
41+
- os: macos-13
4142
release-args: ""
4243
cache-bust: "2024-01-20"
4344
# macos-latest provides macOS/AArch64 (M1)
@@ -67,9 +68,9 @@ jobs:
6768
run: |
6869
set -ex
6970
70-
if [[ "${{ matrix.os }}" == "macos-latest" ]]
71+
if [[ "${{ matrix.os }}" == "macos-13" || "${{ matrix.os }}" == "macos-latest" ]]
7172
then
72-
# macos-latest does not include Haskell tools as at 2024-04-25.
73+
# macos-13 and macos-latest do not include Haskell tools as at 2024-05-06.
7374
curl -sSL https://get.haskellstack.org/ | sh
7475
fi
7576

.github/workflows/unit-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- rc/**
1010
workflow_dispatch:
1111

12-
# As of 1 February 2024, ubuntu-latest, windows-latest and macos-latest come
13-
# with Stack 2.13.1 and GHC 9.8.1.
12+
# As of 6 May 2024, ubuntu-latest and windows-latest come with Stack 2.15.5 and
13+
# GHC 9.8.2. However, macos-latest does not come with Haskell tools.
1414

1515
jobs:
1616
pedantic:
@@ -76,7 +76,7 @@ jobs:
7676
7777
if [[ "${{ matrix.os }}" == "macos-latest" ]]
7878
then
79-
# macos-latest does not include Haskell tools as at 2024-04-25.
79+
# macos-latest does not include Haskell tools as at 2024-05-06.
8080
curl -sSL https://get.haskellstack.org/ | sh
8181
fi
8282

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,9 @@ compatibility with a range of versions of GHC that a library package (such as
285285
Stack aims to depend on well-known packages. The specific versions on which it
286286
depends at any time are specified by `package.yaml` and `stack.yaml`. It does
287287
not aim to be compatible with more than one version of the `Cabal` package at
288-
any time. At the time of writing (February 2024) the package versions are
289-
primarily ones in Stackage snapshot LTS Haskell 22.7 (for GHC 9.6.4), together
290-
with extra-deps to depend on the latest version of `pantry` and `process`.
288+
any time. At the time of writing (May 2024) the package versions are primarily
289+
ones in Stackage snapshot LTS Haskell 22.21 (for GHC 9.6.5), together with
290+
extra-deps to depend on the latest version of `pantry` and `tar`.
291291

292292
A Stack executable makes use of Cabal (the library) through a small 'Setup'
293293
executable that it compiles from Haskell source code. The executable compiles
@@ -607,7 +607,7 @@ for each file.
607607

608608
[Stan](https://hackage.haskell.org/package/stan) is a Haskell static analysis
609609
tool. As of `stan-0.1.0.1`, it supports GHC >= 9.6.3 and Stack is built with
610-
GHC 9.6.4. The tool is configured by the contents of the `.stan.toml` file.
610+
GHC 9.6.5. The tool is configured by the contents of the `.stan.toml` file.
611611

612612
This workflow will run if:
613613

cabal.config

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
constraints:
2-
, Cabal ==3.10.1.0
3-
, Cabal-syntax ==3.10.1.0
2+
, Cabal ==3.10.3.0
3+
, Cabal-syntax ==3.10.3.0
44
, Glob ==0.10.2
55
, OneTuple ==0.4.1.1
66
, QuickCheck ==2.14.3
@@ -22,18 +22,18 @@ constraints:
2222
, attoparsec-aeson ==2.1.0.0
2323
, attoparsec-iso8601 ==1.1.0.1
2424
, auto-update ==0.1.6
25-
, base ==4.18.2.0
25+
, base ==4.18.2.1
2626
, base-compat ==0.13.1
2727
, base-compat-batteries ==0.13.1
28-
, base-orphans ==0.9.1
28+
, base-orphans ==0.9.2
2929
, base16-bytestring ==1.0.2.0
3030
, base64-bytestring ==1.2.1.0
3131
, basement ==0.0.16
32-
, bifunctors ==5.6.1
32+
, bifunctors ==5.6.2
3333
, binary ==0.8.9.1
3434
, bitvec ==1.1.5.0
3535
, blaze-builder ==0.4.2.3
36-
, blaze-html ==0.9.1.2
36+
, blaze-html ==0.9.2.0
3737
, blaze-markup ==0.8.3.0
3838
, byteorder ==1.0.4
3939
, bytestring ==0.11.5.3
@@ -55,16 +55,16 @@ constraints:
5555
, cryptohash-sha256 ==0.11.102.1
5656
, crypton ==0.34
5757
, crypton-conduit ==0.2.3
58-
, crypton-connection ==0.3.1
58+
, crypton-connection ==0.3.2
5959
, crypton-x509 ==1.7.6
6060
, crypton-x509-store ==1.6.9
6161
, crypton-x509-system ==1.6.7
6262
, crypton-x509-validation ==1.6.12
6363
, data-default-class ==0.1.2.0
6464
, data-fix ==0.3.2
6565
, deepseq ==1.4.8.1
66-
, digest ==0.0.2.0
67-
, directory ==1.3.8.1
66+
, digest ==0.0.2.1
67+
, directory ==1.3.8.4
6868
, distributive ==0.6.2.1
6969
, dlist ==1.0
7070
, easy-file ==0.2.5
@@ -73,26 +73,26 @@ constraints:
7373
, exceptions ==0.10.7
7474
, extra ==1.7.14
7575
, fast-logger ==3.2.2
76-
, file-embed ==0.0.15.0
76+
, file-embed ==0.0.16.0
7777
, filelock ==0.1.1.7
78-
, filepath ==1.4.200.1
78+
, filepath ==1.4.300.1
7979
, fsnotify ==0.4.1.0
8080
, generic-deriving ==1.14.5
8181
, generically ==0.1.1
8282
, ghc-bignum ==1.3
83-
, ghc-boot ==9.6.4
84-
, ghc-boot-th ==9.6.4
83+
, ghc-boot ==9.6.5
84+
, ghc-boot-th ==9.6.5
8585
, ghc-prim ==0.10.0
8686
, githash ==0.1.7.0
8787
, hackage-security ==0.6.2.4
88-
, hashable ==1.4.3.0
88+
, hashable ==1.4.4.0
8989
, hi-file-parser ==0.1.6.0
9090
, hinotify ==0.4.1
9191
, hourglass ==0.2.12
9292
, hpack ==0.36.0
9393
, hpc ==0.6.2.0
9494
, http-api-data ==0.5.1
95-
, http-client ==0.7.16
95+
, http-client ==0.7.17
9696
, http-client-tls ==0.3.6.3
9797
, http-conduit ==2.3.8.3
9898
, http-download ==0.2.1.0
@@ -104,21 +104,22 @@ constraints:
104104
, integer-gmp ==1.1
105105
, integer-logarithms ==1.0.3.1
106106
, iproute ==1.7.12
107-
, libyaml ==0.1.2
107+
, libyaml ==0.1.4
108+
, libyaml-clib ==0.2.5
108109
, lift-type ==0.1.1.1
109110
, lifted-base ==0.2.3.12
110111
, lukko ==0.1.1.3
111112
, megaparsec ==9.5.0
112113
, memory ==0.18.0
113114
, microlens ==0.4.13.1
114115
, microlens-mtl ==0.2.0.3
115-
, microlens-th ==0.4.3.14
116+
, microlens-th ==0.4.3.15
116117
, mime-types ==0.1.2.0
117118
, mintty ==0.1.4
118119
, monad-control ==1.0.3.1
119120
, monad-logger ==0.3.40
120121
, monad-loops ==0.4.3
121-
, mono-traversable ==1.0.15.3
122+
, mono-traversable ==1.0.17.0
122123
, mtl ==2.3.1
123124
, mtl-compat ==0.2.2
124125
, mustache ==2.4.2
@@ -130,23 +131,24 @@ constraints:
130131
, open-browser ==0.2.1.0
131132
, optparse-applicative ==0.18.1.0
132133
, optparse-simple ==0.1.1.4
134+
, os-string ==2.0.2.1
133135
, pantry ==0.10.0
134136
, parsec ==3.1.16.1
135137
, parser-combinators ==1.3.0
136138
, path ==0.9.5
137139
, path-io ==1.8.1
138140
, path-pieces ==0.2.1
139141
, pem ==0.2.4
140-
, persistent ==2.14.6.0
142+
, persistent ==2.14.6.1
141143
, persistent-sqlite ==2.13.3.0
142144
, persistent-template ==2.12.0.0
143145
, pretty ==1.1.3.6
144146
, prettyprinter ==1.7.1
145147
, prettyprinter-ansi-terminal ==1.1.3
146148
, primitive ==0.8.0.0
147-
, process ==1.6.18.0
149+
, process ==1.6.19.0
148150
, project-template ==0.2.1.0
149-
, random ==1.2.1.1
151+
, random ==1.2.1.2
150152
, resource-pool ==0.4.0.0
151153
, resourcet ==1.3.0
152154
, retry ==0.9.3.1
@@ -158,7 +160,7 @@ constraints:
158160
, safe-exceptions ==0.1.7.4
159161
, scientific ==0.3.7.0
160162
, semialign ==1.3
161-
, semigroupoids ==6.0.0.1
163+
, semigroupoids ==6.0.1
162164
, silently ==1.2.5.3
163165
, socks ==0.6.1
164166
, split ==0.2.5
@@ -170,15 +172,15 @@ constraints:
170172
, streaming-commons ==0.2.2.6
171173
, strict ==0.5
172174
, tagged ==0.8.8
173-
, tar ==0.5.1.1
175+
, tar ==0.6.2.0
174176
, tar-conduit ==0.4.1
175177
, template-haskell ==2.20.0.0
176178
, temporary ==1.3
177179
, text ==2.0.2
178180
, text-metrics ==0.3.2
179181
, text-short ==0.1.5
180182
, th-abstraction ==0.5.0.0
181-
, th-compat ==0.1.4
183+
, th-compat ==0.1.5
182184
, th-lift ==0.8.4
183185
, th-lift-instances ==0.1.20
184186
, these ==1.2
@@ -191,7 +193,7 @@ constraints:
191193
, typed-process ==0.2.11.1
192194
, unix ==2.8.4.0
193195
, unix-compat ==0.7.1
194-
, unix-time ==0.4.11
196+
, unix-time ==0.4.12
195197
, unliftio ==0.2.25.0
196198
, unliftio-core ==0.2.1.0
197199
, unordered-containers ==0.2.20
@@ -202,5 +204,5 @@ constraints:
202204
, vector-stream ==0.1.0.1
203205
, witherable ==0.4.2
204206
, yaml ==0.11.11.2
205-
, zip-archive ==0.4.3
207+
, zip-archive ==0.4.3.2
206208
, zlib ==0.6.3.0

cabal.project

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
-- specified by the snapshot specifed in Stack's project-level YAML
3434
-- configuration file (`stack.yaml`). The relevant version of GHC can be
3535
-- confirmed by reviewing the snapshot on Stackage. For example, at:
36-
-- https://www.stackage.org/lts-22.7/cabal.config.
36+
-- https://www.stackage.org/lts-22.21/cabal.config.
3737
--
38-
with-compiler: ghc-9.6.4
38+
with-compiler: ghc-9.6.5
3939
import: cabal.config
4040
packages: .

doc/GUIDE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,15 +248,15 @@ this:
248248

249249
~~~yaml
250250
resolver:
251-
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/11.yaml
251+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/21.yaml
252252
packages:
253253
- .
254254
~~~
255255

256256
The value of the [`resolver`](yaml_configuration.md#resolver) key tells Stack
257257
*how* to build your package: which GHC version to use, versions of package
258258
dependencies, and so on. Our value here says to use
259-
[LTS Haskell 22.11](https://www.stackage.org/lts-22.11), which implies GHC 9.6.4
259+
[LTS Haskell 22.21](https://www.stackage.org/lts-22.21), which implies GHC 9.6.5
260260
(which is why `stack build` installs that version of GHC if it is not already
261261
available to Stack). There are a number of values you can use for `resolver`,
262262
which we'll cover later.
@@ -980,7 +980,7 @@ stack purge
980980
stack build :helloworld-test
981981
helloworld> configure (lib + test)
982982
Configuring helloworld-0.1.0.0...
983-
helloworld> build (lib + test) with ghc-9.6.4
983+
helloworld> build (lib + test) with ghc-9.6.5
984984
Preprocessing library for helloworld-0.1.0.0..
985985
Building library for helloworld-0.1.0.0..
986986
[1 of 2] Compiling Lib
@@ -1298,7 +1298,7 @@ yields output like:
12981298

12991299
~~~text
13001300
Run from outside a project, using implicit global project config
1301-
Using latest snapshot resolver: lts-22.7
1301+
Using latest snapshot resolver: lts-22.21
13021302
Writing global (non-project-specific) config file to: /home/michael/.stack/global/stack.yaml
13031303
Note: You can change the snapshot via the resolver field there.
13041304
I installed the stm package via --package stm

doc/Stack_and_VS_Code.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ enabled). For further information about these options, see the `install-ghc`
7575

7676
For this workaround to work, each time that a snapshot is used that references a
7777
different version of GHC, then GHCup must be used to install it (if GHCup has
78-
not already installed that version). For example, to use `snapshot: lts-22.7`
79-
(GHC 9.6.4), the command `ghcup install ghc 9.6.4` must have been used to
80-
install GHC 9.6.4. That may be a minor inconvenience for some people, as one the
78+
not already installed that version). For example, to use `snapshot: lts-22.21`
79+
(GHC 9.6.5), the command `ghcup install ghc 9.6.5` must have been used to
80+
install GHC 9.6.5. That may be a minor inconvenience for some people, as one the
8181
primary benefits of Stack over other Haskell build tools has been that Stack
8282
automatically ensures that the necessary version of GHC is available.
8383

0 commit comments

Comments
 (0)