diff --git a/ChangeLog.md b/ChangeLog.md index c21c956b4c..241f32bf59 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -28,6 +28,8 @@ Behavior changes: Other enhancements: +* Consider GHC 9.10 to be a tested compiler and remove warnings. +* Consider Cabal 3.12 to be a tested library and remove warnings. * Add flags `--run-tests` and `--run-benchmarks` (the existing defaults) to Stack's `build` command, which take precedence over the existing `no-run-tests` and `no-run-benchmarks` configuration options, respectively. diff --git a/src/Stack/Setup.hs b/src/Stack/Setup.hs index c816d10d81..ef503efe81 100644 --- a/src/Stack/Setup.hs +++ b/src/Stack/Setup.hs @@ -1050,9 +1050,9 @@ warnUnsupportedCompiler ghcVersion = do , style Url "https://github.com/commercialhaskell/stack/issues/648" <> "." ] pure True - | ghcVersion >= mkVersion [9, 9] && notifyIfGhcUntested -> do + | ghcVersion >= mkVersion [9, 11] && notifyIfGhcUntested -> do prettyWarnL - [ flow "Stack has not been tested with GHC versions 9.10 and above, \ + [ flow "Stack has not been tested with GHC versions 9.12 and above, \ \and using" , fromString (versionString ghcVersion) <> "," , flow "this may fail." @@ -1094,9 +1094,9 @@ warnUnsupportedCompilerCabal cp didWarn = do , parens (style Shell "nightly-2018-03-13") , flow "or later specify such GHC versions." ] - | cabalVersion >= mkVersion [3, 11] && notifyIfCabalUntested -> + | cabalVersion >= mkVersion [3, 13] && notifyIfCabalUntested -> prettyWarnL - [ flow "Stack has not been tested with Cabal versions 3.12 and \ + [ flow "Stack has not been tested with Cabal versions 3.14 and \ \above, but version" , fromString (versionString cabalVersion) , flow "was found, this may fail."