From 73cfb44be49a143d5b0d8fe0e42364d1748a206e Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Sat, 27 Oct 2018 03:58:36 +0200 Subject: Drop GHC 7.8 support Unfortunately we need process-1.2.3.0 for 'readCreateProcess' replacing it for 7.8 is just too much effort. For testing's sake GHC 7.10 can still build Cabal-1.18.* but not 1.20, seems to just need a hackage revision though. Just disable 1.20 for now. I don't think anyone really still uses that. --- tests/CompileTest.hs | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) (limited to 'tests') diff --git a/tests/CompileTest.hs b/tests/CompileTest.hs index da75198..02f4c3b 100644 --- a/tests/CompileTest.hs +++ b/tests/CompileTest.hs @@ -76,24 +76,24 @@ allCabalVersions :: Version -> [Version] allCabalVersions ghc_ver = let cabal_versions :: [Version] cabal_versions = map parseVer - [ "1.18.0" - , "1.18.1" - , "1.18.1.1" - , "1.18.1.2" - , "1.18.1.3" - , "1.18.1.4" - , "1.18.1.5" - , "1.18.1.6" - , "1.18.1.7" - , "1.20.0.0" - , "1.20.0.1" - , "1.20.0.2" - , "1.20.0.3" - , "1.20.0.4" - , "1.22.0.0" - , "1.22.1.0" - , "1.22.1.1" - , "1.22.2.0" + -- , "1.18.0" + -- , "1.18.1" + -- , "1.18.1.1" + -- , "1.18.1.2" + -- , "1.18.1.3" + -- , "1.18.1.4" + -- , "1.18.1.5" + -- , "1.18.1.6" + -- , "1.18.1.7" + -- , "1.20.0.0" + -- , "1.20.0.1" + -- , "1.20.0.2" + -- , "1.20.0.3" + -- , "1.20.0.4" + -- , "1.22.0.0" + -- , "1.22.1.0" + -- , "1.22.1.1" + [ "1.22.2.0" , "1.22.3.0" , "1.22.4.0" , "1.22.5.0" @@ -119,14 +119,15 @@ allCabalVersions ghc_ver = let constraint_table = map (parseVer *** runReadP'Dist parse) $ - [ ("7.8" , ">= 1.18 && < 2") - , ("7.10" , ">= 1.22.2 && < 2") + -- , ("7.8" , ">= 1.18 && < 2") + [ ("7.10" , ">= 1.22.2 && < 2") , ("8.0.1", ">= 1.24 ") , ("8.0.2", ">= 1.24.2 ") , ("8.2.1", ">= 2.0.0.2 ") , ("8.2.2", ">= 2.0.0.2 ") , ("8.4.1", ">= 2.0.0.2 ") , ("8.4.2", ">= 2.2.0.1 ") + , ("8.6.1", ">= 2.4.0.0 ") ] in reverse $ filter (flip withinRange'CH constraint) cabal_versions -- cgit v1.2.3