@@ -29,6 +29,9 @@ import Conduit
29
29
import Control.Applicative ( empty )
30
30
import Crypto.Hash ( SHA1 (.. ), SHA256 (.. ) )
31
31
import qualified Data.Aeson.KeyMap as KeyMap
32
+ import Data.Aeson.Types ( Value (.. ) )
33
+ import Data.Aeson.WarningParser
34
+ ( WithJSONWarnings (.. ), logJSONWarnings )
32
35
import qualified Data.Attoparsec.Text as P
33
36
import qualified Data.ByteString as S
34
37
import qualified Data.ByteString.Lazy as LBS
@@ -61,8 +64,6 @@ import Network.HTTP.StackClient
61
64
, verifiedDownloadWithProgress , withResponse
62
65
)
63
66
import Network.HTTP.Simple ( getResponseHeader )
64
- import Pantry.Internal.AesonExtended
65
- ( Value (.. ), WithJSONWarnings (.. ), logJSONWarnings )
66
67
import Path
67
68
( (</>) , addExtension , dirname , filename , parent , parseAbsDir
68
69
, parseAbsFile , parseRelDir , parseRelFile , toFilePath
@@ -921,9 +922,9 @@ warnUnsupportedCompiler ghcVersion =
921
922
, style Url " https://github.com/commercialhaskell/stack/issues/648" <> " ."
922
923
]
923
924
pure True
924
- | ghcVersion >= mkVersion [9 , 5 ] -> do
925
+ | ghcVersion >= mkVersion [9 , 7 ] -> do
925
926
prettyWarnL
926
- [ flow " Stack has not been tested with GHC versions above 9.6 , and \
927
+ [ flow " Stack has not been tested with GHC versions 9.8 and above , and \
927
928
\using"
928
929
, fromString (versionString ghcVersion) <> " ,"
929
930
, flow " this may fail."
@@ -955,9 +956,9 @@ warnUnsupportedCompilerCabal cp didWarn = do
955
956
\resolver. Acceptable resolvers: lts-3.0/nightly-2015-05-05 \
956
957
\or later."
957
958
]
958
- | cabalVersion >= mkVersion [3 , 9 ] ->
959
+ | cabalVersion >= mkVersion [3 , 11 ] ->
959
960
prettyWarnL
960
- [ flow " Stack has not been tested with Cabal versions above 3.10 , \
961
+ [ flow " Stack has not been tested with Cabal versions 3.12 and above , \
961
962
\but version"
962
963
, fromString (versionString cabalVersion)
963
964
, flow " was found, this may fail."
0 commit comments