Skip to content

Commit

Permalink
Bump to lts-23.0 and GHC 9.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed Dec 9, 2024
1 parent 976f203 commit 58dd395
Show file tree
Hide file tree
Showing 132 changed files with 315 additions and 357 deletions.
6 changes: 2 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,7 @@ Stack aims to depend on well-known packages. The specific versions on which it
depends at any time are specified by `package.yaml` and `stack.yaml`. It does
not aim to be compatible with more than one version of the `Cabal` package at
any time. At the time of writing (December 2024) the package versions are
primarily ones in Stackage snapshot LTS Haskell 22.43 (for GHC 9.6.6), together
with extra-deps to depend on the latest versions of `crypton-connection`,
`hpack`, `pantry`, `tar` and `tls`.
primarily ones in Stackage snapshot LTS Haskell 23.0 (for GHC 9.8.4).

A Stack executable makes use of Cabal (the library) through a small 'Setup'
executable that it compiles from Haskell source code. The executable compiles
Expand Down Expand Up @@ -671,7 +669,7 @@ for each file.

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

This workflow will run if:

Expand Down
173 changes: 90 additions & 83 deletions cabal.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,27 @@ constraints:
, Cabal ==3.10.3.0
, Cabal-syntax ==3.10.3.0
, Glob ==0.10.2
, OneTuple ==0.4.1.1
, OneTuple ==0.4.2
, QuickCheck ==2.14.3
, StateVar ==1.2.2
, Win32 ==2.13.3.0
, aeson ==2.1.2.1
, Win32 ==2.13.4.0
, aeson ==2.2.3.0
, aeson-warning-parser ==0.1.1
, annotated-wl-pprint ==0.7.0
, ansi-terminal ==1.0.2
, ansi-terminal-types ==0.11.5
, ansi-terminal ==1.1.2
, ansi-terminal-types ==1.1
, appar ==0.1.8
, array ==0.5.6.0
, array ==0.5.8.0
, asn1-encoding ==0.9.6
, asn1-parse ==0.9.5
, asn1-types ==0.3.4
, assoc ==1.1
, assoc ==1.1.1
, async ==2.2.5
, attoparsec ==0.14.4
, attoparsec-aeson ==2.1.0.0
, attoparsec-iso8601 ==1.1.0.1
, auto-update ==0.1.6
, base ==4.18.2.1
, base-compat ==0.13.1
, base-compat-batteries ==0.13.1
, base-orphans ==0.9.2
, attoparsec-aeson ==2.2.2.0
, auto-update ==0.2.4
, base ==4.19.2.0
, base-orphans ==0.9.3
, base16-bytestring ==1.0.2.0
, base64-bytestring ==1.2.1.0
, basement ==0.0.16
Expand All @@ -36,80 +33,86 @@ constraints:
, blaze-html ==0.9.2.0
, blaze-markup ==0.8.3.0
, byteorder ==1.0.4
, bytestring ==0.11.5.3
, bytestring ==0.12.1.0
, casa-client ==0.0.2
, casa-types ==0.0.2
, case-insensitive ==1.2.1.0
, cborg ==0.2.10.0
, cereal ==0.5.8.3
, character-ps ==0.1
, clock ==0.8.4
, cmdargs ==0.10.22
, colour ==2.3.6
, comonad ==5.0.8
, comonad ==5.0.9
, companion ==0.1.0
, conduit ==1.3.5
, conduit ==1.3.6
, conduit-combinators ==1.3.0
, conduit-extra ==1.3.6
, containers ==0.6.7
, containers ==0.6.8
, contravariant ==1.5.5
, cookie ==0.4.6
, cookie ==0.5.0
, cryptohash-sha256 ==0.11.102.1
, crypton ==0.34
, crypton ==1.0.1
, crypton-conduit ==0.2.3
, crypton-connection ==0.3.2
, crypton-x509 ==1.7.6
, crypton-connection ==0.4.3
, crypton-x509 ==1.7.7
, crypton-x509-store ==1.6.9
, crypton-x509-system ==1.6.7
, crypton-x509-validation ==1.6.12
, data-default-class ==0.1.2.0
, data-fix ==0.3.2
, deepseq ==1.4.8.1
, crypton-x509-validation ==1.6.13
, data-default ==0.7.1.3
, data-default-class ==0.1.2.2
, data-default-instances-containers ==0.1.0.3
, data-default-instances-dlist ==0.0.1.2
, data-default-instances-old-locale ==0.0.1.2
, data-fix ==0.3.4
, deepseq ==1.5.1.0
, digest ==0.0.2.1
, directory ==1.3.8.4
, directory ==1.3.8.5
, distributive ==0.6.2.1
, dlist ==1.0
, easy-file ==0.2.5
, echo ==0.1.4
, ed25519 ==0.0.5.0
, exceptions ==0.10.7
, extra ==1.7.14
, fast-logger ==3.2.2
, extra ==1.7.16
, fast-logger ==3.2.5
, file-embed ==0.0.16.0
, filelock ==0.1.1.7
, filepath ==1.4.300.1
, filepath ==1.4.301.0
, fsnotify ==0.4.1.0
, generic-deriving ==1.14.5
, generic-deriving ==1.14.6
, generically ==0.1.1
, ghc-bignum ==1.3
, ghc-boot ==9.6.6
, ghc-boot-th ==9.6.6
, ghc-prim ==0.10.0
, ghc-boot ==9.8.4
, ghc-boot-th ==9.8.4
, ghc-prim ==0.11.0
, githash ==0.1.7.0
, hackage-security ==0.6.2.4
, hashable ==1.4.4.0
, hi-file-parser ==0.1.6.0
, hinotify ==0.4.1
, hackage-security ==0.6.2.6
, half ==0.3.2
, hashable ==1.4.7.0
, hi-file-parser ==0.1.7.0
, hourglass ==0.2.12
, hpack ==0.37.0
, hpc ==0.6.2.0
, http-api-data ==0.5.1
, hpc ==0.7.0.0
, http-api-data ==0.6.1
, http-client ==0.7.17
, http-client-tls ==0.3.6.3
, http-conduit ==2.3.8.3
, http-client-tls ==0.3.6.4
, http-conduit ==2.3.9.1
, http-download ==0.2.1.0
, http-types ==0.12.4
, indexed-traversable ==0.1.3
, indexed-traversable-instances ==0.1.1.2
, indexed-traversable ==0.1.4
, indexed-traversable-instances ==0.1.2
, infer-license ==0.2.0
, integer-conversion ==0.1.0.1
, integer-conversion ==0.1.1
, integer-gmp ==1.1
, integer-logarithms ==1.0.3.1
, iproute ==1.7.12
, iproute ==1.7.15
, libyaml ==0.1.4
, libyaml-clib ==0.2.5
, lift-type ==0.1.1.1
, lift-type ==0.1.2.0
, lifted-base ==0.2.3.12
, lukko ==0.1.1.3
, megaparsec ==9.5.0
, lukko ==0.1.2
, megaparsec ==9.6.1
, memory ==0.18.0
, microlens ==0.4.13.1
, microlens-mtl ==0.2.0.3
Expand All @@ -119,34 +122,34 @@ constraints:
, monad-control ==1.0.3.1
, monad-logger ==0.3.40
, monad-loops ==0.4.3
, mono-traversable ==1.0.17.0
, mono-traversable ==1.0.20.0
, mtl ==2.3.1
, mtl-compat ==0.2.2
, mustache ==2.4.2
, neat-interpolation ==0.5.1.4
, network ==3.1.4.0
, network ==3.2.7.0
, network-uri ==2.6.4.2
, old-locale ==1.0.0.7
, old-time ==1.1.0.4
, open-browser ==0.2.1.0
, optparse-applicative ==0.18.1.0
, optparse-simple ==0.1.1.4
, os-string ==2.0.2.1
, os-string ==2.0.7
, pantry ==0.10.0
, parsec ==3.1.16.1
, parsec ==3.1.17.0
, parser-combinators ==1.3.0
, path ==0.9.5
, path-io ==1.8.1
, path-io ==1.8.2
, path-pieces ==0.2.1
, pem ==0.2.4
, persistent ==2.14.6.1
, persistent ==2.14.6.3
, persistent-sqlite ==2.13.3.0
, persistent-template ==2.12.0.0
, pretty ==1.1.3.6
, prettyprinter ==1.7.1
, prettyprinter-ansi-terminal ==1.1.3
, primitive ==0.8.0.0
, process ==1.6.19.0
, primitive ==0.9.0.0
, process ==1.6.25.0
, project-template ==0.2.1.0
, random ==1.2.1.2
, resource-pool ==0.4.0.0
Expand All @@ -158,51 +161,55 @@ constraints:
, rts ==1.0.2
, safe ==0.3.21
, safe-exceptions ==0.1.7.4
, scientific ==0.3.7.0
, semialign ==1.3
, scientific ==0.3.8.0
, semialign ==1.3.1
, semigroupoids ==6.0.1
, silently ==1.2.5.3
, serialise ==0.2.6.1
, silently ==1.2.5.4
, socks ==0.6.1
, split ==0.2.5
, splitmix ==0.1.0.5
, stack ==3.2.0
, static-bytes ==0.1.0
, stm ==2.5.1.0
, static-bytes ==0.1.1
, stm ==2.5.3.1
, stm-chans ==3.0.0.9
, streaming-commons ==0.2.2.6
, strict ==0.5
, strict ==0.5.1
, tagged ==0.8.8
, tar ==0.6.2.0
, tar ==0.6.3.0
, tar-conduit ==0.4.1
, template-haskell ==2.20.0.0
, tasty ==1.5.2
, template-haskell ==2.21.0.0
, temporary ==1.3
, text ==2.0.2
, text-metrics ==0.3.2
, text-short ==0.1.5
, th-abstraction ==0.5.0.0
, th-compat ==0.1.5
, th-lift ==0.8.4
, text ==2.1.1
, text-iso8601 ==0.1.1
, text-metrics ==0.3.3
, text-short ==0.1.6
, th-abstraction ==0.7.1.0
, th-compat ==0.1.6
, th-lift ==0.8.6
, th-lift-instances ==0.1.20
, these ==1.2
, these ==1.2.1
, time ==1.12.2
, time-compat ==1.9.6.1
, tls ==1.8.0
, time-compat ==1.9.7
, tls ==2.1.1
, transformers ==0.6.1.0
, transformers-base ==0.4.6
, transformers-compat ==0.7.2
, typed-process ==0.2.11.1
, unix ==2.8.4.0
, unix-compat ==0.7.1
, unix-time ==0.4.12
, typed-process ==0.2.12.0
, unix ==2.8.6.0
, unix-compat ==0.7.3
, unix-time ==0.4.16
, unliftio ==0.2.25.0
, unliftio-core ==0.2.1.0
, unordered-containers ==0.2.20
, uuid-types ==1.0.5.1
, uuid-types ==1.0.6
, vault ==0.3.1.5
, vector ==0.13.1.0
, vector-algorithms ==0.9.0.1
, vector ==0.13.2.0
, vector-algorithms ==0.9.0.3
, vector-stream ==0.1.0.1
, witherable ==0.4.2
, witherable ==0.5
, yaml ==0.11.11.2
, zip-archive ==0.4.3.2
, zlib ==0.6.3.0
, zlib ==0.7.1.0
, zlib-clib ==1.3.1
4 changes: 2 additions & 2 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
-- specified by the snapshot specifed in Stack's project-level YAML
-- configuration file (`stack.yaml`). The relevant version of GHC can be
-- confirmed by reviewing the snapshot on Stackage. For example, at:
-- https://www.stackage.org/lts-22.43/cabal.config.
-- https://www.stackage.org/lts-23.0/cabal.config.
--
with-compiler: ghc-9.6.6
with-compiler: ghc-9.8.4
import: cabal.config
packages: .
20 changes: 10 additions & 10 deletions doc/commands/list_command.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ For example:
~~~text
stack list base unix Win32 acme-missiles pantry
base-4.20.0.1
unix-2.8.5.1
Win32-2.14.0.0
unix-2.8.6.0
Win32-2.14.1.0
acme-missiles-0.3
pantry-0.10.0
Expand All @@ -45,20 +45,20 @@ Error: [S-4926]
pantry, pretty, pasty, xattr, alloy, para, pappy, alure, polar and
factory.
stack --snapshot lts-22.43 list base unix Win32 acme-missiles pantry
stack --snapshot lts-23.0 list base unix Win32 acme-missiles pantry
Error: [S-4926]
* Package does not appear in snapshot (directly or indirectly): acme-missiles.
stack --snapshot lts-22.43 list base unix Win32 pantry
base-4.18.2.1
unix-2.8.4.0
Win32-2.13.3.0
pantry-0.9.3.2
stack --snapshot lts-23.0 list base unix Win32 pantry
base-4.19.2.0
unix-2.8.6.0
Win32-2.13.4.0
pantry-0.10.0
stack --snapshot lts-22.43 list
stack --snapshot lts-23.0 list
AC-Angle-1.0
ALUT-2.4.0.3
...
zot-0.0.3
zstd-0.1.3.0
zxcvbn-hs-0.3.6
~~~
8 changes: 4 additions & 4 deletions doc/commands/script_command.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ A snapshot must be specified on the command line, using the `--snapshot` option.
For example:

~~~text
stack script --snapshot lts-22.43 MyScript.hs
stack script --snapshot lts-23.0 MyScript.hs
~~~

A package version can be added to the snapshot on the command line with the
Expand Down Expand Up @@ -187,7 +187,7 @@ main = do
can be compiled and run, with arguments, with:

~~~text
stack --snapshot lts-22.43 script --package acme-missiles --compile MyScript.hs -- "Don't panic!" "Duck and cover!"
stack --snapshot lts-23.0 script --package acme-missiles --compile MyScript.hs -- "Don't panic!" "Duck and cover!"
~~~

`acme-missiles-0.3` (the most recent version in the package index) will be used.
Expand All @@ -207,7 +207,7 @@ snapshot as an extra-dep. The `stack script` command is specified using Stack's

~~~haskell
{- stack script
-- snapshot lts-22.43
-- snapshot lts-23.0
-- extra-dep acme-missiles-0.2
-- package acme-missiles
-}
Expand Down Expand Up @@ -309,7 +309,7 @@ A Haskell source file `MyScript.hs`, as follows:

~~~haskell
{- stack script
--snapshot lts-22.43
--snapshot lts-23.0
-}

{-# LANGUAGE OverloadedStrings #-}
Expand Down
Loading

0 comments on commit 58dd395

Please sign in to comment.