diff --git a/Stackage/Config.hs b/Stackage/Config.hs index 79ca8db7..7bf3675b 100644 --- a/Stackage/Config.hs +++ b/Stackage/Config.hs @@ -219,10 +219,13 @@ defaultExpectedFailures ghcVer requireHP = execWriter $ do -- Requires locally running server add "bloodhound" - -- Requires PostgreSQL running - add "postgresql-binary" - add "hasql" - add "hasql-postgres" + -- Too lazy to keep the test dependencies up to date + let names = + words "hasql hasql-postgres hasql-backend postgresql-binary" ++ + words "stm-containers focus list-t slave-thread partial-handler" ++ + words "neat-interpolation cases" ++ + words "base-prelude mtl-prelude" + in mapM_ add names -- https://github.com/gtk2hs/gtk2hs/issues/79 add "gio" @@ -248,6 +251,9 @@ defaultExpectedFailures ghcVer requireHP = execWriter $ do add "tls" add "x509" + + -- Requires a correctly set up Postgres instance + add "opaleye" where add = tell . singleton . PackageName @@ -281,6 +287,9 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do | ghcVer <= GhcMajorVersion 7 6 -> "< 1.17" | ghcVer <= GhcMajorVersion 7 8 -> "< 1.19" | otherwise -> "-any" + -- cabal-install is buggy still... + addRange "Michael Snoyman" "network" "< 2.6" + addRange "Michael Snoyman" "network-uri" "< 2.6" mapM_ (add "FP Complete ") $ words =<< [ "web-fpco th-expand-syns configurator smtLib" @@ -314,6 +323,7 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do mapM_ (add "FP Complete ") $ words =<< [ "criterion" , "th-lift singletons th-desugar quickcheck-assertions" + , "distributed-process distributed-process-simplelocalnet" -- cloud-haskell" ] addRange "FP Complete " "kure" "<= 2.4.10" @@ -330,14 +340,9 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do mapM_ (add "Alan Zimmerman") $ words "hjsmin language-javascript" - {- - - https://github.com/fpco/stackage/issues/320 - when (ghcVer >= GhcMajorVersion 7 8 && not requireHP) $ mapM_ (add "Alfredo Di Napoli ") $ words "mandrill" - -} mapM_ (add "Jasper Van der Jeugt") $ words "blaze-html blaze-markup stylish-haskell" @@ -465,9 +470,9 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do "base-unicode-symbols containers-unicode-symbols" if ghcVer >= GhcMajorVersion 7 8 - then add "Ryan Newton " "accelerate" + then add "Trevor L. McDonell " "accelerate" else do - addRange "Ryan Newton " "accelerate" "< 0.15" + addRange "Trevor L. McDonell " "accelerate" "< 0.15" addRange "Michael Snoyman" "linear-accelerate" "< 0.2" mapM_ (add "Dan Burton ") $ words =<< @@ -651,12 +656,16 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do mapM_ (add "Alexander Thiemann ") $ words "graph-core reroute Spock" - + mapM_ (add "Joey Eremondi ") $ words =<< [ "prettyclass language-glsl union-find aeson-pretty QuasiText" , "digest zip-archive elm-compiler elm-package elm-core-sources elm-build-lib" ] + + mapM_ (add "Arthur Fayzrakhmanov ") $ words + "sodium hdevtools" + -- https://github.com/fpco/stackage/issues/217 addRange "Michael Snoyman" "transformers" "< 0.4" addRange "Michael Snoyman" "mtl" "< 2.2" @@ -715,9 +724,6 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do -- https://github.com/fpco/stackage/issues/354 addRange "Michael Snoyman" "JuicyPixels" "< 3.2" - -- https://github.com/fpco/stackage/issues/355 - addRange "Michael Snoyman" "hashtables" "< 1.2" - when (ghcVer == GhcMajorVersion 7 8 && requireHP) $ do -- Yay workarounds for unnecessarily old versions let peg x y = addRange "Haskell Platform" x y @@ -739,6 +745,9 @@ defaultStablePackages ghcVer requireHP = unPackageMap $ execWriter $ do peg "HandsomeSoup" "< 0.3.3" peg "network-uri" "< 2.6" + mapM_ (add "Tom Ellis ") $ words + "opaleye product-profunctors" + add :: String -> String -> Writer PackageMap () add maintainer package = addRange maintainer package "-any" diff --git a/Stackage/Select.hs b/Stackage/Select.hs index 125f4af9..0fc9be31 100644 --- a/Stackage/Select.hs +++ b/Stackage/Select.hs @@ -43,10 +43,13 @@ defaultSelectSettings version requireHP = SelectSettings -> Set.singleton "containers-old" _ -> Set.empty) `Set.union` + {- -- Support for network 2.6 (if version >= GhcMajorVersion 7 8 && not requireHP then Set.singleton "network-uri" else Set.empty) + -} + Set.empty , disabledFlags = Set.fromList (words "bytestring-in-base test-hlint") `Set.union` (if version <= GhcMajorVersion 7 4 @@ -60,10 +63,13 @@ defaultSelectSettings version requireHP = SelectSettings then Set.singleton "decoderinterface" else Set.empty) `Set.union` + {- -- Support for network 2.6 (if version >= GhcMajorVersion 7 8 && not requireHP then Set.empty else Set.singleton "network-uri") + -} + Set.singleton "network-uri" , allowedPackage = const $ Right () , useGlobalDatabase = False , skippedTests = diff --git a/stackage.cabal b/stackage.cabal index 7b0150e5..ffdadec6 100644 --- a/stackage.cabal +++ b/stackage.cabal @@ -40,7 +40,7 @@ library , transformers , process , old-locale - , time + , time < 1.5 , utf8-string executable stackage