Skip to content

Commit 47b7f38

Browse files
authored
Merge pull request commercialhaskell#6671 from commercialhaskell/tested
Bump 'not tested with' to be GHC > 9.11 and Cabal > 3.13
2 parents b8a7fa1 + 37d44dd commit 47b7f38

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ Behavior changes:
2828

2929
Other enhancements:
3030

31+
* Consider GHC 9.10 to be a tested compiler and remove warnings.
32+
* Consider Cabal 3.12 to be a tested library and remove warnings.
3133
* Add flags `--run-tests` and `--run-benchmarks` (the existing defaults) to
3234
Stack's `build` command, which take precedence over the existing
3335
`no-run-tests` and `no-run-benchmarks` configuration options, respectively.

src/Stack/Setup.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,9 +1050,9 @@ warnUnsupportedCompiler ghcVersion = do
10501050
, style Url "https://github.com/commercialhaskell/stack/issues/648" <> "."
10511051
]
10521052
pure True
1053-
| ghcVersion >= mkVersion [9, 9] && notifyIfGhcUntested -> do
1053+
| ghcVersion >= mkVersion [9, 11] && notifyIfGhcUntested -> do
10541054
prettyWarnL
1055-
[ flow "Stack has not been tested with GHC versions 9.10 and above, \
1055+
[ flow "Stack has not been tested with GHC versions 9.12 and above, \
10561056
\and using"
10571057
, fromString (versionString ghcVersion) <> ","
10581058
, flow "this may fail."
@@ -1094,9 +1094,9 @@ warnUnsupportedCompilerCabal cp didWarn = do
10941094
, parens (style Shell "nightly-2018-03-13")
10951095
, flow "or later specify such GHC versions."
10961096
]
1097-
| cabalVersion >= mkVersion [3, 11] && notifyIfCabalUntested ->
1097+
| cabalVersion >= mkVersion [3, 13] && notifyIfCabalUntested ->
10981098
prettyWarnL
1099-
[ flow "Stack has not been tested with Cabal versions 3.12 and \
1099+
[ flow "Stack has not been tested with Cabal versions 3.14 and \
11001100
\above, but version"
11011101
, fromString (versionString cabalVersion)
11021102
, flow "was found, this may fail."

0 commit comments

Comments
 (0)